This page was exported from Valid Premium Exam [ http://premium.validexam.com ] Export date:Thu Sep 19 22:35:14 2024 / +0000 GMT ___________________________________________________ Title: 2022 Realistic EX200 100% Pass Guaranteed Download Exam Q&A [Q66-Q82] --------------------------------------------------- 2022 Realistic EX200 100% Pass Guaranteed Download  Exam Q&A Accurate EX200 Answers 365 Days Free Updates Certification Topics of Red Hat EX200 Exam Examtopics for those interested in Red Hat Certified Engineer (EX200), the following information details the objectives and topics covered for this certification. What is needed to prepare for Red Hat EX200 exam: Manage containersOperate running systemsCreate simple shell scriptsManage users and groupsDeploy, configure, and maintain systemsCreate and configure file systemsManage basic networkingUnderstand and use essential tools RedHat EX200 Exam Syllabus Topics: TopicDetailsTopic 1Managing Users and GroupsTopic 2Working with Kernel Modules|Registering the System and Attaching Subscriptions   Q66. Part 1 (on Node1 Server)Task 16 [Running Containers]Configure your host journal to store all journal across rebootCopy all journal files from /var/log/journal/ and put them in the /home/shangrila/container-logserver Create and mount /home/shangrila/container-logserver as a persistent storage to the container as /var/log/ when container start * [shangrila@node1 ~]$ podman psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESd5ffe018a53c registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 5 seconds ago Up 4 seconds ago logserver[shangrila@node1 ~]$ podman stats logserverError: stats is not supported in rootless mode without cgroups v2[shangrila@node1 ~]$ podman stop logserverd5ffe018a53ca7eb075bf560d1f30822ab6fe51eba58fd1a8f370eda79806496[shangrila@node1 ~]$ podman rm logserverError: no container with name or ID logserver found: no such container[shangrila@node1 ~]$ mkdir -p container-journal/* [shangrila@node1 ~]$ sudo systemctl restart systemd-journald[sudo] password for shangrila:[shangrila@node1 ~]$ sudo cp -av /var/log/journal/* container-journal/[shangrila@node1 ~]$ sudo cp -av /var/log/journal/* container-journal/[shangrila@node1 ~]$ sudo chown -R shangrila container-journal/[shangrila@node1 ~]$ podman run -d –name logserver -v /home/shangrila/container-journal/:/var/log/journal:Z registry.domain15.example.com:5000/rhel8/rsyslog[shangrila@node1 ~]$ podman ps[shangrila@node1 ~]$ loginctl enable-linger[shangrila@node1 ~]$ loginctl show-user shangrila|grep -i lingerLinger=yes* [shangrila@node1 ~]$ podman stop logserver[shangrila@node1 ~]$ podman rm logserver[shangrila@node1 ~]$ systemctl –user daemon-reload[shangrila@node1 ~]$ systemctl –user enable –now container-logserver[shangrila@node1 ~]$ podman psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES3903e1d09170 registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 4 seconds ago Up 4 seconds ago logserver[shangrila@node1 ~]$ systemctl –user stop container-logserver.service* [shangrila@node1 ~]$ sudo reboot[shangrila@node1 ~]$ podman ps -aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES7e6cd59c506a registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 10 seconds ago Up 9 seconds ago logserverQ67. Configure a task: plan to run echo “file” command at 14:23 every day. Answer see in the explanation.Explanation/Reference:(a) Created as administrator# crontab -u natasha -e23 14 * * * /bin/echo “file”(b)Created as natasha# su – natasha$ crontab -e23 14 * * * /bin/echo “file”Q68. Notes:NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvdYUM: http://instructor.example.com/pub/rhel6/dvdldap: http://instructor.example.com/pub/EXAMPLE-CA-CERT  Install dialog package. Q69. SIMULATIONConfigure iptables, there are two domains in the network, the address of local domain is 172.24.0.0/16 other domain is 172.25.0.0/16, now refuse domain 172.25.0.0/16 to access the server. See explanation below.Explanation/Reference:Explanation:iptables -Fservice iptables saveiptables -A INPUT -s 172.25.0.0/16 -j REJECTservice iptables saveservice iptables restartQ70. Create a catalog under /home named admins. Its respective group is requested to be the admin group. The group users could read and write, while other users are not allowed to access it. The files created by users from the same group should also be the admin group. # cd /home/# mkdir admins /# chown .admin admins/# chmod 770 admins/# chmod g+s admins/Q71. Upgrading the kernel as 2.6.36.7.1, and configure the system to Start the default kernel, keep the old kernel available. Answer see in the explanation.Explanation/Reference:# cat /etc/grub.conf# cd /boot# lftp it# get dr/dom/kernel-xxxx.rpm# rpm -ivh kernel-xxxx.rpm# vim /etc/grub.confdefault=0Q72. According the following requirements to create user, user group and the group members:– A group named admin.– A user named mary, and belong to admin as the secondary group.– A user named alice, and belong to admin as the secondary group.– A user named bobby, bobby’s login shell should be non-interactive. Bobby not belong to admin as the secondary group.Mary, Alice, bobby users must be set “password” as the user’s password. see explanation below.Explanationgroupadd adminuseradd -G admin maryuseradd -G admin aliceuseradd -s /sbin/nologin bobbyecho “password” | passwd –stdin maryecho “password” | passwd –stdin aliceecho “password” | passwd –stdin bobbyQ73. User mary must configure a task.Requirement: The local time at 14:23 every day echo “Hello World.”. see explanation below.Explanationcrontab -u mary -e23 14 * * * echo “Hello World.”Q74. Create one partitions having size 100MB and mount it on data. see explanation below.Explanation1. Use fdisk /dev/hda to create new partition.2. Type n For New partitions.3. It will ask for Logical or Primary Partitions. Press l for logical.4. It will ask for the Starting Cylinder: Use the Default by pressing Enter Key.5. Type the Size: +100M you can specify either Last cylinder of size here.6. Press P to verify the partitions lists and remember the partitions name.7. Press w to write on partitions table.8. Either Reboot or use partprobe command.9. Use mkfs -t ext3 /dev/hda?ORmke2fs -j /dev/hda? To create ext3 filesystem.vi /etc/fstabWrite:/dev/hda? /data ext3 defaults 1 2Verify by mounting on current Sessions also: mount /dev/hda? /dataQ75. Configure the system synchronous as 172.24.40.10. Answer see in the explanation.Explanation/Reference:Graphical Interfaces:System–>Administration–>Date & TimeOR# system-config-dateQ76. Configure the system synchronous as 172.24.40.10. see explanation below.ExplanationGraphical Interfaces:System–>Administration–>Date & TimeOR# system-config-dateQ77. Create User Account.Create the following user, group and group membership:Adminuser groupUser natasha, using adminuser as a sub groupUser Harry, also using adminuser as a sub groupUser sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natashaharrysarah password is redhat. see explanation below.Explanationgroupadd adminuseruseradd natasha -G adminuseruseradd haryy -G adminuseruseradd sarah -s /sbin/nologinPasswd user name // to modify password or echo redhat | passwd –stdin user name id natasha // to view user group.Q78. Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.) # cd /etc/yum.repos.d# vim local.repo[local]name=local.repobaseurl=file:///mntenabled=1gpgcheck=0# yum makecache# yum install -y vsftpd# service vsftpd restart# chkconfig vsftpd on# chkconfig –list vsftpd# vim /etc/vsftpd/vsftpd.confanonymous_enable=YESQ79. Which security issues exist for most publicly available Vagrant boxes? (Choose three correct answers.)  They accept SSH logins from the user vagrantwith the password vagrant.  They accept SSH logins from the user vagrantwith a publicly available SSH key pair.  The vagrant user can use sudoto obtain root privileges without additional authentication.  Their whole file system, including configuration files, is writable by any user, including vagrant.  They export their file system via NFS with full write permissions without any additional restrictions. Explanation/Reference:Reference https://www.vagrantup.com/docs/boxes/base.htmlQ80. Add admin group and set gid=600 # groupadd -g 600 adminQ81. Create a backup file named /root/backup.tar.bz2, which contains the contents of /usr/local, bar must use the bzip2 compression. cd /usr/localtar -jcvf /root/backup.tar.bz2*mkdir /testtar -jxvf /root/backup.tar.bz2 -C /test/Q82. Install a FTP server, and request to anonymous download from /var/ftp/pub catalog. (it needs you to configure yum direct to the already existing file server.) see explanation below.Explanation# cd /etc/yum.repos.d# vim local.repo[local]name=local.repobaseurl=file:///mntenabled=1gpgcheck=0# yum makecache# yum install -y vsftpd# service vsftpd restart# chkconfig vsftpd on# chkconfig –list vsftpd# vim /etc/vsftpd/vsftpd.confanonymous_enable=YES Loading … For more info visit: Red Hat EX200 Exam Reference   EX200 dumps Exam Material with 136 Questions: https://www.validexam.com/EX200-latest-dumps.html --------------------------------------------------- Images: https://premium.validexam.com/wp-content/plugins/watu/loading.gif https://premium.validexam.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-12-08 11:27:13 Post date GMT: 2022-12-08 11:27:13 Post modified date: 2022-12-08 11:27:13 Post modified date GMT: 2022-12-08 11:27:13