RedHat Red Hat Certified System Administrator (RHCSA) Exam EX200 Dumps in PDF

Free RedHat EX200 Real Questions (page: 13)

SIMULATION
Add user: user1, set uid=601 Password: redhat
The user's login shell should be non-interactive.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# useradd -u 601 -s /sbin/nologin user1
# passwd user1
redhat



SIMULATION
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# useradd -G admin user2
# useradd -G admin user3
# passwd user2
redhat
# passwd user3
redhat



SIMULATION
Copy /etc/fstab to /var/tmp name admin, the user1 could read, write and modify it, while user2 without any permission.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

# cp /etc/fstab /var/tmp/
# chgrp admin /var/tmp/fstab
# setfacl -m u:user1:rwx /var/tmp/fstab
# setfacl -m u:user2:--- /var/tmp/fstab
# ls -l
-rw-rw-r--+ 1 root admin 685 Nov 10 15:29 /var/tmp/fstab



SIMULATION
Configure a task: plan to run echo "file" command at 14:23 every day.

  1. See Explanation section for answer.

Answer(s): A

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"



SIMULATION
Configure a default software repository for your system.

One YUM has already provided to configure your system on http://server.domain11.example.com/pub/ x86_64/ Server, and can be used normally.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

Yum-config-manager --add-repo=http://content.example.com/rhel7.0/x86-64/dvd” is to generate a file vim content.example.com_rhel7.0_x86_64_dvd.repo, Add a line gpgcheck=0

Yumcleanall
Yumrepolist

Almost 4305 packages are right, Wrong Yum Configuration will lead to some following questions cannot be worked out.



Share your comments for RedHat EX200 exam with other users:

V
vel
8/28/2023 9:17:09 AM

good one with explanation

G
Gurdeep
1/18/2024 4:00:15 PM

This is one of the most useful study guides I have ever used.

AI Tutor 👋 I’m here to help!