Pass Your RedHat EX200 Exam Easy!

RedHat EX200 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

EX200 Premium Bundle

$79.99

RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
RedHat EX200 Premium Bundle
RedHat EX200 Premium Bundle

EX200 Premium File: 111 Questions & Answers

Last Update: Nov 20, 2026

EX200 Training Course: 71 Video Lectures

EX200 PDF Study Guide: 1601 Pages

$79.99

EX200 Bundle gives you unlimited access to "EX200" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

RedHat EX200 Practice Test 108

Question 1070

On a RHEL 10 host, local account local54 is in a controlled provisioning task. The immediate requirement is to create the local user and its home directory. Which command is appropriate?

  1. passwd -l local54
  2. useradd -m local54
  3. usermod -s /bin/bash local54
  4. usermod -d /home/local542 -m local54

Explanation

Correct Answer

B:

useradd -m creates the account and requests creation of the user home directory That action meets the user-account requirement. This matches the stated requirement to create the local user and its home directory. By contrast, the plausible alternative `usermod -d /home/local542 -m local54` has the effect: usermod -d with -m changes the home path and moves existing home content It changes a different attribute or lifecycle state of the user; that operation would not achieve the requested result.

Incorrect Answers

A:

passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method It changes a different attribute or lifecycle state of the user. The stated task is to create the local user and its home directory. Instead, `useradd -m local54` is the relevant alternative because useradd -m creates the account and requests creation of the user home directory That action meets the user-account requirement.

C:

usermod -s updates the login shell field in the user record It changes a different attribute or lifecycle state of the user. The stated task is to create the local user and its home directory. Instead, `useradd -m local54` is the relevant alternative because useradd -m creates the account and requests creation of the user home directory That action meets the user-account requirement.

D:

usermod -d with -m changes the home path and moves existing home content It changes a different attribute or lifecycle state of the user. The stated task is to create the local user and its home directory. Instead, `useradd -m local54` is the relevant alternative because useradd -m creates the account and requests creation of the user home directory That action meets the user-account requirement.

Question 1071

On a RHEL 10 host, local account local55 is in a controlled provisioning task. The immediate requirement is to delete the user and its managed home directory. Which command is appropriate?

  1. useradd -m local55
  2. passwd -l local55
  3. userdel -r local55
  4. usermod -s /bin/bash local55

Explanation

Correct Answer

C:

userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement. This matches the stated requirement to delete the user and its managed home directory. By contrast, the plausible alternative `useradd -m local55` has the effect: useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user; that operation would not achieve the requested result.

Incorrect Answers

A:

useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user. The stated task is to delete the user and its managed home directory. Instead, `userdel -r local55` is the relevant alternative because userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement.

B:

passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method It changes a different attribute or lifecycle state of the user. The stated task is to delete the user and its managed home directory. Instead, `userdel -r local55` is the relevant alternative because userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement.

D:

usermod -s updates the login shell field in the user record It changes a different attribute or lifecycle state of the user. The stated task is to delete the user and its managed home directory. Instead, `userdel -r local55` is the relevant alternative because userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement.

Question 1072

On a RHEL 10 host, local account local56 is in a controlled provisioning task. The immediate requirement is to change the login shell to /bin/bash. Which command is appropriate?

  1. usermod -d /home/local562 -m local56
  2. userdel -r local56
  3. useradd -m local56
  4. usermod -s /bin/bash local56

Explanation

Correct Answer

D:

usermod -s updates the login shell field in the user record That action meets the user-account requirement. This matches the stated requirement to change the login shell to /bin/bash. By contrast, the plausible alternative `usermod -d /home/local562 -m local56` has the effect: usermod -d with -m changes the home path and moves existing home content It changes a different attribute or lifecycle state of the user; that operation would not achieve the requested result.

Incorrect Answers

A:

usermod -d with -m changes the home path and moves existing home content It changes a different attribute or lifecycle state of the user. The stated task is to change the login shell to /bin/bash. Instead, `usermod -s /bin/bash local56` is the relevant alternative because usermod -s updates the login shell field in the user record That action meets the user-account requirement.

B:

userdel -r deletes the account and requests removal of the user home and mail spool It changes a different attribute or lifecycle state of the user. The stated task is to change the login shell to /bin/bash. Instead, `usermod -s /bin/bash local56` is the relevant alternative because usermod -s updates the login shell field in the user record That action meets the user-account requirement.

C:

useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user. The stated task is to change the login shell to /bin/bash. Instead, `usermod -s /bin/bash local56` is the relevant alternative because usermod -s updates the login shell field in the user record That action meets the user-account requirement.

Question 1073

On a RHEL 10 host, local account local57 is in a controlled provisioning task. The immediate requirement is to delete the user and its managed home directory. Which command is appropriate?

  1. userdel -r local57
  2. useradd -m local57
  3. passwd -l local57
  4. usermod -s /bin/bash local57

Explanation

Correct Answer

A:

userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement. This matches the stated requirement to delete the user and its managed home directory. By contrast, the plausible alternative `useradd -m local57` has the effect: useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user; that operation would not achieve the requested result.

Incorrect Answers

B:

useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user. The stated task is to delete the user and its managed home directory. Instead, `userdel -r local57` is the relevant alternative because userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement.

C:

passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method It changes a different attribute or lifecycle state of the user. The stated task is to delete the user and its managed home directory. Instead, `userdel -r local57` is the relevant alternative because userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement.

D:

usermod -s updates the login shell field in the user record It changes a different attribute or lifecycle state of the user. The stated task is to delete the user and its managed home directory. Instead, `userdel -r local57` is the relevant alternative because userdel -r deletes the account and requests removal of the user home and mail spool That action meets the user-account requirement.

Question 1074

On a RHEL 10 host, local account local58 is in a controlled provisioning task. The immediate requirement is to change the user home directory and move existing home contents. Which command is appropriate?

  1. userdel -r local58
  2. usermod -d /home/local582 -m local58
  3. useradd -m local58
  4. passwd -l local58

Explanation

Correct Answer

B:

usermod -d with -m changes the home path and moves existing home content That action meets the user-account requirement. This matches the stated requirement to change the user home directory and move existing home contents. By contrast, the plausible alternative `useradd -m local58` has the effect: useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user; that operation would not achieve the requested result.

Incorrect Answers

A:

userdel -r deletes the account and requests removal of the user home and mail spool It changes a different attribute or lifecycle state of the user. The stated task is to change the user home directory and move existing home contents. Instead, `usermod -d /home/local582 -m local58` is the relevant alternative because usermod -d with -m changes the home path and moves existing home content That action meets the user-account requirement.

C:

useradd -m creates the account and requests creation of the user home directory It changes a different attribute or lifecycle state of the user. The stated task is to change the user home directory and move existing home contents. Instead, `usermod -d /home/local582 -m local58` is the relevant alternative because usermod -d with -m changes the home path and moves existing home content That action meets the user-account requirement.

D:

passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method It changes a different attribute or lifecycle state of the user. The stated task is to change the user home directory and move existing home contents. Instead, `usermod -d /home/local582 -m local58` is the relevant alternative because usermod -d with -m changes the home path and moves existing home content That action meets the user-account requirement.

Question 1075

On a RHEL 10 host, local account local59 is in a controlled provisioning task. The immediate requirement is to lock password-based login for the local account. A review considers `usermod -d /home/local592 -m local59` as an alternative. Its relevant behavior is: usermod -d with -m changes the home path and moves existing home content. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?

  1. usermod -s /bin/bash local59
  2. usermod -d /home/local592 -m local59
  3. passwd -l local59
  4. userdel -r local59

Explanation

Correct Answer

C:

passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method That action meets the user-account requirement. This matches the stated requirement to lock password-based login for the local account. By contrast, the plausible alternative `usermod -d /home/local592 -m local59` has the effect: usermod -d with -m changes the home path and moves existing home content It changes a different attribute or lifecycle state of the user; that operation would not achieve the requested result.

Incorrect Answers

A:

usermod -s updates the login shell field in the user record It changes a different attribute or lifecycle state of the user. The stated task is to lock password-based login for the local account. Instead, `passwd -l local59` is the relevant alternative because passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method That action meets the user-account requirement.

B:

usermod -d with -m changes the home path and moves existing home content It changes a different attribute or lifecycle state of the user. The stated task is to lock password-based login for the local account. Instead, `passwd -l local59` is the relevant alternative because passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method That action meets the user-account requirement.

D:

userdel -r deletes the account and requests removal of the user home and mail spool It changes a different attribute or lifecycle state of the user. The stated task is to lock password-based login for the local account. Instead, `passwd -l local59` is the relevant alternative because passwd -l locks the stored password hash for password authentication; it does not necessarily block every other authentication method That action meets the user-account requirement.

Question 1076

A RHEL 10 system administrator must open a root login shell through sudo when authorized. Which sudo-related command accomplishes this task?

  1. visudo -c
  2. visudo
  3. sudo -l
  4. sudo -i

Explanation

Correct Answer

D:

sudo -i gives a login-like shell with root identity if policy permits it This meets the exact privileged-access operation.

Incorrect Answers

A:

visudo -c checks syntax and ownership rules of sudoers files It grants, inspects, or edits sudo access in a different way. The stated task is to open a root login shell through sudo when authorized. Instead, `sudo -i` is the relevant alternative because sudo -i gives a login-like shell with root identity if policy permits it This meets the exact privileged-access operation.

B:

visudo validates configuration before installing the modified sudoers file It grants, inspects, or edits sudo access in a different way. The stated task is to open a root login shell through sudo when authorized. Instead, `sudo -i` is the relevant alternative because sudo -i gives a login-like shell with root identity if policy permits it This meets the exact privileged-access operation.

C:

sudo -l lists effective command authorizations for the invoking user It grants, inspects, or edits sudo access in a different way. The stated task is to open a root login shell through sudo when authorized. Instead, `sudo -i` is the relevant alternative because sudo -i gives a login-like shell with root identity if policy permits it This meets the exact privileged-access operation.

Question 1077

A RHEL 10 system administrator must validate the sudoers configuration before deployment. Which sudo-related command accomplishes this task?

  1. visudo -c
  2. visudo
  3. sudo -l
  4. sudo -i

Explanation

Correct Answer

A:

visudo -c checks syntax and ownership rules of sudoers files This meets the exact privileged-access operation.

Incorrect Answers

B:

visudo validates configuration before installing the modified sudoers file It grants, inspects, or edits sudo access in a different way. The stated task is to validate the sudoers configuration before deployment. Instead, `visudo -c` is the relevant alternative because visudo -c checks syntax and ownership rules of sudoers files This meets the exact privileged-access operation.

C:

sudo -l lists effective command authorizations for the invoking user It grants, inspects, or edits sudo access in a different way. The stated task is to validate the sudoers configuration before deployment. Instead, `visudo -c` is the relevant alternative because visudo -c checks syntax and ownership rules of sudoers files This meets the exact privileged-access operation.

D:

sudo -i gives a login-like shell with root identity if policy permits it It grants, inspects, or edits sudo access in a different way. The stated task is to validate the sudoers configuration before deployment. Instead, `visudo -c` is the relevant alternative because visudo -c checks syntax and ownership rules of sudoers files This meets the exact privileged-access operation.

Question 1078

A RHEL 10 system administrator must run one privileged command with sudo. Which sudo-related command accomplishes this task?

  1. visudo -c
  2. sudo systemctl restart sshd
  3. visudo
  4. sudo -l

Explanation

Correct Answer

B:

sudo applies privilege only to the specified systemctl command when authorized This meets the exact privileged-access operation.

Incorrect Answers

A:

visudo -c checks syntax and ownership rules of sudoers files It grants, inspects, or edits sudo access in a different way. The stated task is to run one privileged command with sudo. Instead, `sudo systemctl restart sshd` is the relevant alternative because sudo applies privilege only to the specified systemctl command when authorized This meets the exact privileged-access operation.

C:

visudo validates configuration before installing the modified sudoers file It grants, inspects, or edits sudo access in a different way. The stated task is to run one privileged command with sudo. Instead, `sudo systemctl restart sshd` is the relevant alternative because sudo applies privilege only to the specified systemctl command when authorized This meets the exact privileged-access operation.

D:

sudo -l lists effective command authorizations for the invoking user It grants, inspects, or edits sudo access in a different way. The stated task is to run one privileged command with sudo. Instead, `sudo systemctl restart sshd` is the relevant alternative because sudo applies privilege only to the specified systemctl command when authorized This meets the exact privileged-access operation.

Question 1079

The central RHEL 10 sudoers policy has just been edited, and the operator must reject syntax errors BEFORE ending the root session. Which read-only validation command checks sudoers policy files?

  1. sudo -i
  2. sudo -l
  3. visudo -c
  4. visudo

Explanation

Correct Answer

C:

Check mode parses sudoers policy and reports errors without opening an editor or starting a privileged shell.

Incorrect Answers

A:

Sudo -i opens a root login shell when authorized and does not verify the policy syntax before deployment.

B:

Sudo -l enumerates authorized commands for a user but is not a full sudoers syntax parser.

D:

Visudo alone opens the sudoers editor and does not perform only the requested non-editing check.

Question 1080

A RHEL 10 system administrator must show sudo privileges available to the current user. Which sudo-related command accomplishes this task?

  1. visudo -c
  2. visudo
  3. sudo -i
  4. sudo -l

Explanation

Correct Answer

D:

sudo -l lists effective command authorizations for the invoking user This meets the exact privileged-access operation.

Incorrect Answers

A:

visudo -c checks syntax and ownership rules of sudoers files It grants, inspects, or edits sudo access in a different way. The stated task is to show sudo privileges available to the current user. Instead, `sudo -l` is the relevant alternative because sudo -l lists effective command authorizations for the invoking user This meets the exact privileged-access operation.

B:

visudo validates configuration before installing the modified sudoers file It grants, inspects, or edits sudo access in a different way. The stated task is to show sudo privileges available to the current user. Instead, `sudo -l` is the relevant alternative because sudo -l lists effective command authorizations for the invoking user This meets the exact privileged-access operation.

C:

sudo -i gives a login-like shell with root identity if policy permits it It grants, inspects, or edits sudo access in a different way. The stated task is to show sudo privileges available to the current user. Instead, `sudo -l` is the relevant alternative because sudo -l lists effective command authorizations for the invoking user This meets the exact privileged-access operation.


Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests

Purchase Individually

EX200 Premium File

Premium File
EX200 Premium File
111 Q&A
$76.99$69.99

EX200 Training Video Course

Training Course
EX200 Training Video Course
71 Lectures
$27.49$24.99

EX200 Study Guide

Study Guide
EX200 Study Guide
1601 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.