Get Latest Apr-2023 Real EX200 Exam Questions and Answers FREE Truly Beneficial For Your RedHat Exam (Updated 136 Questions) NEW QUESTION # 64 SIMULATIONMake on /archive directory that only the user owner and group owner member can fully access. Answer: Explanation:See explanation below.Explanation/Reference:Explanation:chmod 770 /archiveVerify using : ls -ld /archive Preview should be like:drwxrwx--- [...]

Get Latest Apr-2023 Real EX200 Exam Questions and Answers FREE [Q64-Q88]

Share

Get Latest Apr-2023 Real EX200 Exam Questions and Answers FREE

Truly Beneficial For Your RedHat Exam (Updated 136 Questions)

NEW QUESTION # 64
SIMULATION
Make on /archive directory that only the user owner and group owner member can fully access.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
chmod 770 /archive
Verify using : ls -ld /archive Preview should be like:
drwxrwx--- 2 root sysuser 4096 Mar 16 18:08 /archive
To change the permission on directory we use the chmod command. According to the question that only the owner user (root) and group member (sysuser) can fully access the directory so: chmod 770 /archive


NEW QUESTION # 65
SIMULATION
There is a local logical volumes in your system, named with shrink and belong to VGSRV volume group, mount to the /shrink directory. The definition of size is 320 MB.
Requirement:
Reduce the logical volume to 220 MB without any loss of data. The size is allowed between 200-260 MB after reducing.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation: cd;umount /shrink
e2fsck -f /dev/mapper/vgsrv-shrink
resize2fs /dev/mapper/vgsrv-shrink 220M
lvreduce -L 220M /dev/mapper/vgsrv-shrink
mount -a


NEW QUESTION # 66
Which of the following statements are true about Jenkins? (Choose two correct answers.)

  • A. Jenkins' functionality is determined by plugins.
  • B. Jenkins is specific to Java based applications.
  • C. Jenkins only works on local files and cannot use SCM repositories.
  • D. Jenkins can delegate tasks to slave nodes.
  • E. Jenkins includes a series of integrated testing suites.

Answer: D,E


NEW QUESTION # 67
You are new System Administrator and from now you are going to handle the system and your main task is Network monitoring, Backup and Restore. But you don't know the root password. Change the root password to redhat and login in default Runlevel.

Answer:

Explanation:
When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't know the root's password. To change the root password you need to boot the system into single user mode. You can pass the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d


NEW QUESTION # 68
SIMULATION
Notes:
NFS: NFS instructor.example.com:/var/ftp/pub/rhel6/dvd
YUM: http://instructor.example.com/pub/rhel6/dvd
ldap: http://instructor.example.com/pub/EXAMPLE-CA-CERT
Install dialog package.

Answer:

Explanation:
yum install dialog


NEW QUESTION # 69
Which of the following sections must exist in a Packer template?

  • A. images
  • B. variables
  • C. builders
  • D. post-processsors
  • E. provisioners

Answer: E

Explanation:
Explanation/Reference:


NEW QUESTION # 70
The system ldap.example.com provides an LDAP authentication service.
Your system should bind to this service as follows:
The base DN for the authentication service is dc=domain11, dc=example, dc=com LDAP is used to provide both account information and authentication information. The connection should be encrypted using the certificate at http://host.domain11.example.com/pub/domain11.crt When properly configured, ldapuserX should be able to log into your system, but will not have a home directory until you have completed the autofs requirement. Username: ldapuser11 Password: password

Answer:

Explanation:
see explanation below.
Explanation
* system-config-authentication LDAP user DN=dc=domain11,dc=example,dc=com Server= host.domain11.example.com Certificate
http://host.domain11.example.com/pub/domain11.crt (enter url carefully, there maybe // or ..) LDAP password OK starting sssd
* su -ldapuser11 Display Bash prompt #exit


NEW QUESTION # 71
Part 1 (on Node1 Server)
Task 8 [Managing Local Users and Groups]
Create a user fred with a user ID 3945. Give the password as iamredhatman

Answer:

Explanation:
* [root@node1 ~]# useradd -u 3945 fred
[root@node1 ~]# echo "iamredhatman" | passwd --stdin fred
Changing password for user fred.
passwd: all authentication tokens updated successfully


NEW QUESTION # 72
Open kmcrl value of 5 , and can verify in /proc/ cmdline

Answer:

Explanation:
# vim /boot/grub/grub.conf
kernel/vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/GLSvg-GLSrootrd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswaprd_NO_LUKSrd_NO_MDrd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet kmcrl=5 Restart to take effect and verification:
# cat /proc/cmdline
ro root=/dev/mapper/GLSvg-GLSroot rd_LVM_LV=GLSvg/GLSroot rd_LVM_LV=GLSvg/GLSswap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet kmcrl=5


NEW QUESTION # 73
Configure a task: plan to run echo "file" command at 14:23 every day.

Answer:

Explanation:
see explanation below.
Explanation
(a) Created as administrator
# crontab -u natasha -e
23 14 * * * /bin/echo "file"
(b)Created as natasha
# su - natasha
$ crontab -e
23 14 * * * /bin/echo "file"


NEW QUESTION # 74
Add admin group and set gid=600

Answer:

Explanation:
see explanation below.
Explanation
# groupadd -g 600 admin


NEW QUESTION # 75
CORRECT TEXT
Configure your Host Name, IP Address, Gateway and DNS.
Host name: station.domain40.example.com
/etc/sysconfig/network
hostname=abc.com
hostname abc.com
IP Address:172.24.40.40/24
Gateway172.24.40.1
DNS:172.24.40.1

Answer:

Explanation:
# cd /etc/syscofig/network-scripts/
# ls
# vim ifcfg-eth0 (Configure IP Address, Gateway and DNS) IPADDR=172.24.40.40
GATEWAY=172.24.40.1
DNS1=172.24.40.1
# vim /etc/sysconfig/network
(Configure Host Name)
HOSTNAME= station.domain40.example.com
OR
Graphical Interfaces:
System->Preference->Network Connections (Configure IP Address, Gateway and DNS) Vim
/etc/sysconfig/network
(Configure Host Name)


NEW QUESTION # 76
CORRECT TEXT
Create a 512M partition, make it as ext4 file system, mounted automatically under /mnt/data and which take effect automatically at boot-start.

Answer:

Explanation:
# fdisk /dev/vda
n
+512M
w
# partprobe /dev/vda
# mkfs -t ext4 /dev/vda5
# mkdir -p /data
# vim /etc/fstab
/dev/vda5 /data ext4 defaults 0 0
# mount -a


NEW QUESTION # 77
Part 1 (on Node1 Server)
Task 16 [Running Containers]
Configure your host journal to store all journal across reboot
Copy 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

Answer:

Explanation:
* [shangrila@node1 ~]$ podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d5ffe018a53c registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 5 seconds ago Up 4 seconds ago logserver
[shangrila@node1 ~]$ podman stats logserver
Error: stats is not supported in rootless mode without cgroups v2
[shangrila@node1 ~]$ podman stop logserver
d5ffe018a53ca7eb075bf560d1f30822ab6fe51eba58fd1a8f370eda79806496
[shangrila@node1 ~]$ podman rm logserver
Error: 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 linger
Linger=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 ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3903e1d09170 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 -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7e6cd59c506a registry.domain15.example.com:5000/rhel8/rsyslog:latest /bin/rsyslog.sh 10 seconds ago Up 9 seconds ago logserver


NEW QUESTION # 78
Update the kernel from ftp://instructor.example.com/pub/updates.
According the following requirements:
* The updated kernel must exist as default kernel after rebooting the system.
* The original kernel still exists and is available in the system.

Answer:

Explanation:
see explanation below.
Explanation
rpm -ivh kernel-firm...
rpm -ivh kernel...


NEW QUESTION # 79
How is cloud-init integrated with a managed system image?

  • A. cloud-init provides the cloud-init-daemonservice which is launched during startup and keeps the
    instance in sync with the desired configuration.
  • B. cloud-init provides its own startup mechanism which replaces the instance's original init system, such as
    systemd.
  • C. cloud-init provides the cloud-init-workercommand which has to be invoked periodically within the
    running instance.
  • D. cloud-init provides a Linux kernel module that must be included and loaded in the instance's initramfs.
  • E. cloud-init provides systemd units which must be included in several stages of the booting process of the
    instance.

Answer: D


NEW QUESTION # 80
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

Answer:

Explanation:
Answer see in the explanation.
Explanation/Reference:
# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat


NEW QUESTION # 81
SIMULATION
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.

Answer:

Explanation:
See explanation below.
Explanation/Reference:
Explanation:
groupadd admin
useradd -G admin mary
useradd -G admin alice
useradd -s /sbin/nologin bobby
echo "password" | passwd --stdin mary
echo "password" | passwd --stdin alice
echo "password" | passwd --stdin bobby


NEW QUESTION # 82
Which of the following commands lists the cookbooks available on a Chef server?

  • A. kitchen cookbook list
  • B. chef-server cookbook list
  • C. knife cookbook list
  • D. chef-client cookbook list
  • E. chef-solo cookbook list

Answer: B


NEW QUESTION # 83
Create User Account.
Create the following user, group and group membership:
Adminuser group
User natasha, using adminuser as a sub group
User Harry, also using adminuser as a sub group
User sarah, can not access the SHELL which is interactive in the system, and is not a member of adminuser, natashaharrysarah password is redhat.

Answer:

Explanation:
see explanation below.
Explanation
groupadd adminuser
useradd natasha -G adminuser
useradd haryy -G adminuser
useradd sarah -s /sbin/nologin
Passwd user name // to modify password or echo redhat | passwd --stdin user name id natasha // to view user group.


NEW QUESTION # 84
Configure the system synchronous as 172.24.40.10.

Answer:

Explanation:
Graphical Interfaces:
System-->Administration-->Date & Time
OR
# system-config-date


NEW QUESTION # 85
Which of the following statements describes the principal concept behind test driven development?

  • A. Tests may not be written by the same development team that wrote the tested code.
  • B. Instead of testing software automatically, manual tests are performed and logged daily.
  • C. All tests are generated automatically from the tested source code.
  • D. The only acceptable reason to write a test is to prevent fixed bugs from occurring again.
  • E. Tests are written before the function / method is implemented.

Answer: E

Explanation:
Explanation/Reference:
Reference https://en.wikipedia.org/wiki/Test-driven_development


NEW QUESTION # 86
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.

Answer:

Explanation:
see explanation below.
Explanation
cd /usr/local
tar -jcvf /root/backup.tar.bz2
mkdir /test
tar -jxvf /root/backup.tar.bz2 -C /test// Decompression to check the content is the same as the /usr/loca after If the questions require to use gzip to compress. change -j to -z.


NEW QUESTION # 87
Configure your system so that it is an NTP client of server.domain11.example.com

Answer:

Explanation:
see explanation below.
Explanation
#system-config-date
Note: dialog box will open in that
Check mark Synchronize date and time over network. Remove all the NTP SERVER and click ADD and type server.domain11.example.com
****************And then press ENTER and the press OK***************


NEW QUESTION # 88
......


RedHat RHCSA EX200 Practice Test Questions, RedHat RHCSA EX200 Exam Practice Test Questions

Red Hat EX200 is a prerequisite exam associated with the Red Hat Certified System Administrator (RHCSA) certification that you need to pass if you want to become an accredited specialist who is able to perform the core system administration tasks. These individuals should know which processes are required in the Red Hat Enterprise Linux environments and what to do with them.

 

EX200 dumps Free Test Engine Verified By It Certified Experts: https://examcollection.guidetorrent.com/EX200-dumps-questions.html