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 67

Question 660

A retailer needs a dedicated named support account with its own home and login shell. Suppose the team follows this shortcut instead: Copy another user's shadow entry and home directory to create an account quickly. 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. Existing supplementary memberships disappear and applications may lose access
  4. Credentials and file ownership can become shared or corrupted without valid account provisioning

Answer & Explanations

Correct answer: D

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 retailer needs a dedicated named support account with its own home and login shell. The relevant consequence is: Credentials and file ownership can become shared or corrupted without valid account provisioning. The control that prevents it is: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account.

B.

This failure concerns another scenario: A research institute requires a new read-only analysts group for shared reports. In the stated case: A retailer needs a dedicated named support account with its own home and login shell. The relevant consequence is: Credentials and file ownership can become shared or corrupted without valid account provisioning. The control that prevents it is: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account.

C.

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 retailer needs a dedicated named support account with its own home and login shell. The relevant consequence is: Credentials and file ownership can become shared or corrupted without valid account provisioning. The control that prevents it is: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account.

D.

Credentials and file ownership can become shared or corrupted without valid account provisioning. This is the risk in the stated situation: A retailer needs a dedicated named support account with its own home and login shell. The risky shortcut is: Copy another user's shadow entry and home directory to create an account quickly. Prevent it by: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account.

Question 661

A hospital contractor leaves and the security team must disable access while retaining audit records. 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 useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account
  3. Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history
  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: A

A.

Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. The technical 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 stated condition is: A hospital contractor leaves and the security team must disable access while retaining audit records. Confirm the result by: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

B.

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 contractor leaves and the security team must disable access while retaining audit records. The appropriate response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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 contractor leaves and the security team must disable access while retaining audit records. The appropriate response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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 hospital contractor leaves and the security team must disable access while retaining audit records. The appropriate response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

Question 662

A hospital contractor leaves and the security team must disable access while retaining audit records. A Red Hat administrator recommends: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. 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. 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
  3. Groups provide named permission collections through GIDs, and renaming a group differs from editing file mode bits
  4. The append flag preserves existing supplemental groups; using -G alone can replace all supplementary memberships

Answer & Explanations

Correct answer: B

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 hospital contractor leaves and the security team must disable access while retaining audit records. The mechanism relevant here 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.

B.

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. That mechanism explains the decision: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. In the reported situation: A hospital contractor leaves and the security team must disable access while retaining audit records. Confirmation requires: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

C.

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 contractor leaves and the security team must disable access while retaining audit records. The mechanism relevant here 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.

D.

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 hospital contractor leaves and the security team must disable access while retaining audit records. The mechanism relevant here 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.

Question 663

A hospital contractor leaves and the security team must disable access while retaining audit records. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

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

Answer & Explanations

Correct answer: C

A.

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 contractor leaves and the security team must disable access while retaining audit records. To assess it, check: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

B.

This observation would verify a different remedy: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. That remedy applies to: A bank permits backup operators to restart one service but not edit firewall rules. The present condition is: A hospital contractor leaves and the security team must disable access while retaining audit records. To assess it, check: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

C.

Inspect getent passwd and file ownership after an authorized modification or deprovision action. This check directly tests: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. The underlying behavior 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 case is: A hospital contractor leaves and the security team must disable access while retaining audit records.

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 contractor leaves and the security team must disable access while retaining audit records. To assess it, check: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

Question 664

A hospital contractor leaves and the security team must disable access while retaining audit records. 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. Store an employee's new plaintext password in a world-readable automation script
  3. Set a temporary contractor account to never expire because the password itself was changed yesterday
  4. Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up

Answer & Explanations

Correct answer: D

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 contractor leaves and the security team must disable access while retaining audit records. Here the unsafe shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Use this response instead: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

B.

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 contractor leaves and the security team must disable access while retaining audit records. Here the unsafe shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Use this response instead: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

C.

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 hospital contractor leaves and the security team must disable access while retaining audit records. Here the unsafe shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Use this response instead: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

D.

Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. This shortcut is unsafe for: A hospital contractor leaves and the security team must disable access while retaining audit records. The resulting failure can be: A production service can fail and evidence can be lost during account cleanup. The safer response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

Question 665

A hospital contractor leaves and the security team must disable access while retaining audit records. Suppose the team follows this shortcut instead: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. What is the most likely direct system or operational consequence?

  1. A production service can fail and evidence can be lost during account cleanup
  2. Old identities may retain access beyond their authorized contract
  3. Applications can inherit unintended access to files with the shared numeric group
  4. Existing supplementary memberships disappear and applications may lose access

Answer & Explanations

Correct answer: A

A.

A production service can fail and evidence can be lost during account cleanup. This is the risk in the stated situation: A hospital contractor leaves and the security team must disable access while retaining audit records. The risky shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Prevent it by: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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 contractor leaves and the security team must disable access while retaining audit records. The relevant consequence is: A production service can fail and evidence can be lost during account cleanup. The control that prevents it is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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 contractor leaves and the security team must disable access while retaining audit records. The relevant consequence is: A production service can fail and evidence can be lost during account cleanup. The control that prevents it is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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 hospital contractor leaves and the security team must disable access while retaining audit records. The relevant consequence is: A production service can fail and evidence can be lost during account cleanup. The control that prevents it is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

Question 666

A software company renames a local operator account without changing its UID-based file permissions. Which RHEL 10 command or administration approach best addresses the situation?

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

Answer & Explanations

Correct answer: B

A.

This action is appropriate in a different case: A bank permits backup operators to restart one service but not edit firewall rules. There, the reason is: Sudoers governs permitted escalation independently of group access to ordinary files; broad ALL privileges allow far more than one maintenance operation. The current case is: A software company renames a local operator account without changing its UID-based file permissions. The appropriate response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

B.

Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. The technical 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 stated condition is: A software company renames a local operator account without changing its UID-based file permissions. Confirm the result by: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

C.

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 software company renames a local operator account without changing its UID-based file permissions. The appropriate response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

D.

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 software company renames a local operator account without changing its UID-based file permissions. The appropriate response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

Question 667

A software company renames a local operator account without changing its UID-based file permissions. A Red Hat administrator recommends: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. Which technical process explanation best justifies that recommendation?

  1. Password hashes live in shadow data, and interactive password-change tools can enforce account policies unlike echoing credentials into logged commands
  2. Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls
  3. 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
  4. Groups provide named permission collections through GIDs, and renaming a group differs from editing file mode bits

Answer & Explanations

Correct answer: C

A.

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 software company renames a local operator account without changing its UID-based file permissions. The mechanism relevant here 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.

B.

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 software company renames a local operator account without changing its UID-based file permissions. The mechanism relevant here 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.

C.

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. That mechanism explains the decision: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. In the reported situation: A software company renames a local operator account without changing its UID-based file permissions. Confirmation requires: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

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 software company renames a local operator account without changing its UID-based file permissions. The mechanism relevant here 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.

Question 668

A software company renames a local operator account without changing its UID-based file permissions. 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 id -nG for the account before and after a fresh session and confirm unrelated access remains
  3. Run sudo -l for an authorized user and test one permitted and one denied administrative action
  4. Inspect getent passwd and file ownership after an authorized modification or deprovision action

Answer & Explanations

Correct answer: D

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 software company renames a local operator account without changing its UID-based file permissions. To assess it, check: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

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 software company renames a local operator account without changing its UID-based file permissions. To assess it, check: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

C.

This observation would verify a different remedy: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. That remedy applies to: A bank permits backup operators to restart one service but not edit firewall rules. The present condition is: A software company renames a local operator account without changing its UID-based file permissions. To assess it, check: Inspect getent passwd and file ownership after an authorized modification or deprovision action.

D.

Inspect getent passwd and file ownership after an authorized modification or deprovision action. This check directly tests: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. The underlying behavior 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 case is: A software company renames a local operator account without changing its UID-based file permissions.

Question 669

A software company renames a local operator account without changing its UID-based file permissions. 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. Copy another user's shadow entry and home directory to create an account quickly
  4. Store an employee's new plaintext password in a world-readable automation script

Answer & Explanations

Correct answer: A

A.

Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. This shortcut is unsafe for: A software company renames a local operator account without changing its UID-based file permissions. The resulting failure can be: A production service can fail and evidence can be lost during account cleanup. The safer response is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

B.

This proposed shortcut concerns a separate case: A bank permits backup operators to restart one service but not edit firewall rules. The risk in this question concerns: A software company renames a local operator account without changing its UID-based file permissions. Here the unsafe shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Use this response instead: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

C.

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 software company renames a local operator account without changing its UID-based file permissions. Here the unsafe shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Use this response instead: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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 software company renames a local operator account without changing its UID-based file permissions. Here the unsafe shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Use this response instead: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

Question 670

A software company renames a local operator account without changing its UID-based file permissions. Suppose the team follows this shortcut instead: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. What is the most likely direct system or operational consequence?

  1. Credential exposure can compromise the account despite successful password modification
  2. A production service can fail and evidence can be lost during account cleanup
  3. Old identities may retain access beyond their authorized contract
  4. Applications can inherit unintended access to files with the shared numeric group

Answer & Explanations

Correct answer: B

A.

This failure concerns another scenario: A school resets one training account password before students start an authorized laboratory. In the stated case: A software company renames a local operator account without changing its UID-based file permissions. The relevant consequence is: A production service can fail and evidence can be lost during account cleanup. The control that prevents it is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

B.

A production service can fail and evidence can be lost during account cleanup. This is the risk in the stated situation: A software company renames a local operator account without changing its UID-based file permissions. The risky shortcut is: Use userdel -r on a service identity while a daemon still runs and data under the home is not backed up. Prevent it by: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

C.

This failure concerns another scenario: A retailer grants a short-term vendor account access for a defined maintenance interval. In the stated case: A software company renames a local operator account without changing its UID-based file permissions. The relevant consequence is: A production service can fail and evidence can be lost during account cleanup. The control that prevents it is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

D.

This failure concerns another scenario: A research institute requires a new read-only analysts group for shared reports. In the stated case: A software company renames a local operator account without changing its UID-based file permissions. The relevant consequence is: A production service can fail and evidence can be lost during account cleanup. The control that prevents it is: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan.

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