Practice Exams:

RedHat EX200 Dumps

EXAM: Red Hat Certified System Administrator (RHCSA)
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

EX200 Premium Bundle


  • Premium File 111 Questions & Answers
  • Training Course 71 Lectures
  • Study Guide 1601 Pages

RedHat EX200 Practice Test 72

Question 710

A university student gains access to a lab directory but must keep their prior project group memberships. Suppose the team follows this shortcut instead: Use usermod -G with only the new group on a production service account. What is the most likely direct system or operational consequence?

  1. Old identities may retain access beyond their authorized contract
  2. Existing supplementary memberships disappear and applications may lose access
  3. Applications can inherit unintended access to files with the shared numeric group
  4. Users gain unnecessary root-level authority and audit accountability weakens

Answer & Explanations

Correct answer: B

A.

This failure concerns another scenario: A retailer grants a short-term vendor account access for a defined maintenance interval. In the stated case: A university student gains access to a lab directory but must keep their prior project group memberships. The relevant consequence is: Existing supplementary memberships disappear and applications may lose access. The control that prevents it is: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login.

B.

Existing supplementary memberships disappear and applications may lose access. This is the risk in the stated situation: A university student gains access to a lab directory but must keep their prior project group memberships. The risky shortcut is: Use usermod -G with only the new group on a production service account. Prevent it by: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login.

C.

This failure concerns another scenario: A research institute requires a new read-only analysts group for shared reports. In the stated case: A university student gains access to a lab directory but must keep their prior project group memberships. The relevant consequence is: Existing supplementary memberships disappear and applications may lose access. The control that prevents it is: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login.

D.

This failure concerns another scenario: A bank permits backup operators to restart one service but not edit firewall rules. In the stated case: A university student gains access to a lab directory but must keep their prior project group memberships. The relevant consequence is: Existing supplementary memberships disappear and applications may lose access. The control that prevents it is: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login.

Question 711

A bank permits backup operators to restart one service but not edit firewall rules. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan
  2. Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history
  3. Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated
  4. Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l

Answer & Explanations

Correct answer: C

A.

This action is appropriate in a different case: A hospital contractor leaves and the security team must disable access while retaining audit records. There, the reason is: Account modification updates local identity records, while user deletion may leave files owned by an orphaned UID or remove a home if -r is used. The current case is: A bank permits backup operators to restart one service but not edit firewall rules. The appropriate response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

This action is appropriate in a different case: A school resets one training account password before students start an authorized laboratory. There, the reason is: Password hashes live in shadow data, and interactive password-change tools can enforce account policies unlike echoing credentials into logged commands. The current case is: A bank permits backup operators to restart one service but not edit firewall rules. The appropriate response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. The technical reason is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. The stated condition is: A bank permits backup operators to restart one service but not edit firewall rules. Confirm the result by: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

D.

This action is appropriate in a different case: A retailer grants a short-term vendor account access for a defined maintenance interval. There, the reason is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. The current case is: A bank permits backup operators to restart one service but not edit firewall rules. The appropriate response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

Question 712

A bank permits backup operators to restart one service but not edit firewall rules. A Red Hat administrator recommends: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. Which technical process explanation best justifies that recommendation?

  1. Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls
  2. Groups provide named permission collections through GIDs, and renaming a group differs from editing file mode bits
  3. The append flag preserves existing supplemental groups; using -G alone can replace all supplementary memberships
  4. Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation

Answer & Explanations

Correct answer: D

A.

This principle explains a different technical intervention: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. It applies to: A retailer grants a short-term vendor account access for a defined maintenance interval. The actual case is: A bank permits backup operators to restart one service but not edit firewall rules. The mechanism relevant here is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation.

B.

This principle explains a different technical intervention: Use groupadd or groupmod on the specified local group and check its GID and intended role rather than overwriting another group. It applies to: A research institute requires a new read-only analysts group for shared reports. The actual case is: A bank permits backup operators to restart one service but not edit firewall rules. The mechanism relevant here is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation.

C.

This principle explains a different technical intervention: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login. It applies to: A hospital adds one operator to the backup group while retaining their existing monitoring role. The actual case is: A bank permits backup operators to restart one service but not edit firewall rules. The mechanism relevant here is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation.

D.

Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. That mechanism explains the decision: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. In the reported situation: A bank permits backup operators to restart one service but not edit firewall rules. Confirmation requires: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

Question 713

A bank permits backup operators to restart one service but not edit firewall rules. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Run sudo -l for an authorized user and test one permitted and one denied administrative action
  2. Run id -nG for the account before and after a fresh session and confirm unrelated access remains
  3. Inspect getent passwd and the user's home ownership, then test an authorized first login
  4. Inspect getent passwd and file ownership after an authorized modification or deprovision action

Answer & Explanations

Correct answer: A

A.

Run sudo -l for an authorized user and test one permitted and one denied administrative action. This check directly tests: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. The underlying behavior is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. The case is: A bank permits backup operators to restart one service but not edit firewall rules.

B.

This observation would verify a different remedy: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login. That remedy applies to: A hospital adds one operator to the backup group while retaining their existing monitoring role. The present condition is: A bank permits backup operators to restart one service but not edit firewall rules. To assess it, check: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

C.

This observation would verify a different remedy: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account. That remedy applies to: A university creates a restricted trainee account for one Linux laboratory node. The present condition is: A bank permits backup operators to restart one service but not edit firewall rules. To assess it, check: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

D.

This observation would verify a different remedy: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. That remedy applies to: A hospital contractor leaves and the security team must disable access while retaining audit records. The present condition is: A bank permits backup operators to restart one service but not edit firewall rules. To assess it, check: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

Question 714

A bank permits backup operators to restart one service but not edit firewall rules. Which apparently convenient shortcut would most directly undermine the required control?

  1. Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up
  2. Add every support account to a passwordless all-commands rule to avoid documenting individual tasks
  3. Store an employee's new plaintext password in a world-readable automation script
  4. Set a temporary contractor account to never expire because the password itself was changed yesterday

Answer & Explanations

Correct answer: B

A.

This proposed shortcut concerns a separate case: A hospital contractor leaves and the security team must disable access while retaining audit records. The risk in this question concerns: A bank permits backup operators to restart one service but not edit firewall rules. Here the unsafe shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Use this response instead: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. This shortcut is unsafe for: A bank permits backup operators to restart one service but not edit firewall rules. The resulting failure can be: Users gain unnecessary root-level authority and audit accountability weakens. The safer response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

This proposed shortcut concerns a separate case: A school resets one training account password before students start an authorized laboratory. The risk in this question concerns: A bank permits backup operators to restart one service but not edit firewall rules. Here the unsafe shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Use this response instead: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

D.

This proposed shortcut concerns a separate case: A retailer grants a short-term vendor account access for a defined maintenance interval. The risk in this question concerns: A bank permits backup operators to restart one service but not edit firewall rules. Here the unsafe shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Use this response instead: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

Question 715

A bank permits backup operators to restart one service but not edit firewall rules. Suppose the team follows this shortcut instead: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. What is the most likely direct system or operational consequence?

  1. Old identities may retain access beyond their authorized contract
  2. Applications can inherit unintended access to files with the shared numeric group
  3. Users gain unnecessary root-level authority and audit accountability weakens
  4. Existing supplementary memberships disappear and applications may lose access

Answer & Explanations

Correct answer: C

A.

This failure concerns another scenario: A retailer grants a short-term vendor account access for a defined maintenance interval. In the stated case: A bank permits backup operators to restart one service but not edit firewall rules. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

This failure concerns another scenario: A research institute requires a new read-only analysts group for shared reports. In the stated case: A bank permits backup operators to restart one service but not edit firewall rules. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

Users gain unnecessary root-level authority and audit accountability weakens. This is the risk in the stated situation: A bank permits backup operators to restart one service but not edit firewall rules. The risky shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Prevent it by: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

D.

This failure concerns another scenario: A hospital adds one operator to the backup group while retaining their existing monitoring role. In the stated case: A bank permits backup operators to restart one service but not edit firewall rules. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

Question 716

A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account
  2. Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan
  3. Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history
  4. Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated

Answer & Explanations

Correct answer: D

A.

This action is appropriate in a different case: A university creates a restricted trainee account for one Linux laboratory node. There, the reason is: A local account is represented in passwd, shadow and group databases, while its home and login shell determine whether interactive use is possible. The current case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The appropriate response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

This action is appropriate in a different case: A hospital contractor leaves and the security team must disable access while retaining audit records. There, the reason is: Account modification updates local identity records, while user deletion may leave files owned by an orphaned UID or remove a home if -r is used. The current case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The appropriate response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

This action is appropriate in a different case: A school resets one training account password before students start an authorized laboratory. There, the reason is: Password hashes live in shadow data, and interactive password-change tools can enforce account policies unlike echoing credentials into logged commands. The current case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The appropriate response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

D.

Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. The technical reason is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. The stated condition is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Confirm the result by: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

Question 717

A hospital gives first-line support a limited systemctl status permission without unrestricted root login. A Red Hat administrator recommends: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. Which technical process explanation best justifies that recommendation?

  1. Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation
  2. Password hashes live in shadow data, and interactive password-change tools can enforce account policies unlike echoing credentials into logged commands
  3. Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls
  4. Groups provide named permission collections through GIDs, and renaming a group differs from editing file mode bits

Answer & Explanations

Correct answer: A

A.

Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. That mechanism explains the decision: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. In the reported situation: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Confirmation requires: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

B.

This principle explains a different technical intervention: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history. It applies to: A school resets one training account password before students start an authorized laboratory. The actual case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The mechanism relevant here is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation.

C.

This principle explains a different technical intervention: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. It applies to: A retailer grants a short-term vendor account access for a defined maintenance interval. The actual case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The mechanism relevant here is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation.

D.

This principle explains a different technical intervention: Use groupadd or groupmod on the specified local group and check its GID and intended role rather than overwriting another group. It applies to: A research institute requires a new read-only analysts group for shared reports. The actual case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The mechanism relevant here is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation.

Question 718

A hospital gives first-line support a limited systemctl status permission without unrestricted root login. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Inspect getent group and stat on a representative group-owned file before and after the change
  2. Run sudo -l for an authorized user and test one permitted and one denied administrative action
  3. Run id -nG for the account before and after a fresh session and confirm unrelated access remains
  4. Inspect getent passwd and the user's home ownership, then test an authorized first login

Answer & Explanations

Correct answer: B

A.

This observation would verify a different remedy: Use groupadd or groupmod on the specified local group and check its GID and intended role rather than overwriting another group. That remedy applies to: A research institute requires a new read-only analysts group for shared reports. The present condition is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. To assess it, check: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

B.

Run sudo -l for an authorized user and test one permitted and one denied administrative action. This check directly tests: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. The underlying behavior is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. The case is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login.

C.

This observation would verify a different remedy: Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login. That remedy applies to: A hospital adds one operator to the backup group while retaining their existing monitoring role. The present condition is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. To assess it, check: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

D.

This observation would verify a different remedy: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account. That remedy applies to: A university creates a restricted trainee account for one Linux laboratory node. The present condition is: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. To assess it, check: Run sudo -l for an authorized user and test one permitted and one denied administrative action.

Question 719

A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Which apparently convenient shortcut would most directly undermine the required control?

  1. Copy another user's shadow entry and home directory to create an account quickly
  2. Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up
  3. Add every support account to a passwordless all-commands rule to avoid documenting individual tasks
  4. Store an employee's new plaintext password in a world-readable automation script

Answer & Explanations

Correct answer: C

A.

This proposed shortcut concerns a separate case: A university creates a restricted trainee account for one Linux laboratory node. The risk in this question concerns: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Here the unsafe shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Use this response instead: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

This proposed shortcut concerns a separate case: A hospital contractor leaves and the security team must disable access while retaining audit records. The risk in this question concerns: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Here the unsafe shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Use this response instead: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. This shortcut is unsafe for: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The resulting failure can be: Users gain unnecessary root-level authority and audit accountability weakens. The safer response is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

D.

This proposed shortcut concerns a separate case: A school resets one training account password before students start an authorized laboratory. The risk in this question concerns: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Here the unsafe shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Use this response instead: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

Question 720

A hospital gives first-line support a limited systemctl status permission without unrestricted root login. Suppose the team follows this shortcut instead: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. What is the most likely direct system or operational consequence?

  1. Credential exposure can compromise the account despite successful password modification
  2. Old identities may retain access beyond their authorized contract
  3. Applications can inherit unintended access to files with the shared numeric group
  4. Users gain unnecessary root-level authority and audit accountability weakens

Answer & Explanations

Correct answer: D

A.

This failure concerns another scenario: A school resets one training account password before students start an authorized laboratory. In the stated case: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

B.

This failure concerns another scenario: A retailer grants a short-term vendor account access for a defined maintenance interval. In the stated case: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

C.

This failure concerns another scenario: A research institute requires a new read-only analysts group for shared reports. In the stated case: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The relevant consequence is: Users gain unnecessary root-level authority and audit accountability weakens. The control that prevents it is: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

D.

Users gain unnecessary root-level authority and audit accountability weakens. This is the risk in the stated situation: A hospital gives first-line support a limited systemctl status permission without unrestricted root login. The risky shortcut is: Add every support account to a passwordless all-commands rule to avoid documenting individual tasks. Prevent it by: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated.

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