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 69

Question 680

A financial services operator must rotate a service account's local password without leaking it in command logs. Suppose the team follows this shortcut instead: Store an employee's new plaintext password in a world-readable automation script. What is the most likely direct system or operational consequence?

  1. Credentials and file ownership can become shared or corrupted without valid account provisioning
  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. Credential exposure can compromise the account despite successful password modification

Answer & Explanations

Correct answer: D

A.

This failure concerns another scenario: A university creates a restricted trainee account for one Linux laboratory node. In the stated case: A financial services operator must rotate a service account's local password without leaking it in command logs. The relevant consequence is: Credential exposure can compromise the account despite successful password modification. The control that prevents it is: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history.

B.

This failure concerns another scenario: A hospital contractor leaves and the security team must disable access while retaining audit records. In the stated case: A financial services operator must rotate a service account's local password without leaking it in command logs. The relevant consequence is: Credential exposure can compromise the account despite successful password modification. The control that prevents it is: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history.

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 financial services operator must rotate a service account's local password without leaking it in command logs. The relevant consequence is: Credential exposure can compromise the account despite successful password modification. The control that prevents it is: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history.

D.

Credential exposure can compromise the account despite successful password modification. This is the risk in the stated situation: A financial services operator must rotate a service account's local password without leaking it in command logs. The risky shortcut is: Store an employee's new plaintext password in a world-readable automation script. Prevent it by: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history.

Question 681

A retailer grants a short-term vendor account access for a defined maintenance interval. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l
  2. Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login
  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 useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account

Answer & Explanations

Correct answer: A

A.

Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. The technical reason is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. The stated condition is: A retailer grants a short-term vendor account access for a defined maintenance interval. Confirm the result by: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

B.

This action is appropriate in a different case: A hospital adds one operator to the backup group while retaining their existing monitoring role. There, the reason is: The append flag preserves existing supplemental groups; using -G alone can replace all supplementary memberships. The current case is: A retailer grants a short-term vendor account access for a defined maintenance interval. The appropriate response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

C.

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 retailer grants a short-term vendor account access for a defined maintenance interval. The appropriate response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

D.

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 retailer grants a short-term vendor account access for a defined maintenance interval. The appropriate response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

Question 682

A retailer grants a short-term vendor account access for a defined maintenance interval. A Red Hat administrator recommends: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. Which technical process explanation best justifies that recommendation?

  1. A local account is represented in passwd, shadow and group databases, while its home and login shell determine whether interactive use is possible
  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. Password hashes live in shadow data, and interactive password-change tools can enforce account policies unlike echoing credentials into logged commands

Answer & Explanations

Correct answer: B

A.

This principle explains a different technical intervention: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account. It applies to: A university creates a restricted trainee account for one Linux laboratory node. The actual case is: A retailer grants a short-term vendor account access for a defined maintenance interval. The mechanism relevant here is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls.

B.

Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. That mechanism explains the decision: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. In the reported situation: A retailer grants a short-term vendor account access for a defined maintenance interval. Confirmation requires: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

C.

This principle explains a different technical intervention: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. It applies to: A hospital contractor leaves and the security team must disable access while retaining audit records. The actual case is: A retailer grants a short-term vendor account access for a defined maintenance interval. The mechanism relevant here is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls.

D.

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 retailer grants a short-term vendor account access for a defined maintenance interval. The mechanism relevant here is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls.

Question 683

A retailer grants a short-term vendor account access for a defined maintenance interval. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Confirm the user can authenticate once under the intended policy and that secrets are absent from logs or history
  2. Inspect getent group and stat on a representative group-owned file before and after the change
  3. Check chage -l and perform a safe login test just before and after the applicable test expiry condition
  4. Run id -nG for the account before and after a fresh session and confirm unrelated access remains

Answer & Explanations

Correct answer: C

A.

This observation would verify a different remedy: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history. That remedy applies to: A school resets one training account password before students start an authorized laboratory. The present condition is: A retailer grants a short-term vendor account access for a defined maintenance interval. To assess it, check: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

B.

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 retailer grants a short-term vendor account access for a defined maintenance interval. To assess it, check: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

C.

Check chage -l and perform a safe login test just before and after the applicable test expiry condition. This check directly tests: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. The underlying behavior is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. The case is: A retailer grants a short-term vendor account access for a defined maintenance interval.

D.

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 retailer grants a short-term vendor account access for a defined maintenance interval. To assess it, check: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

Question 684

A retailer grants a short-term vendor account access for a defined maintenance interval. Which apparently convenient shortcut would most directly undermine the required control?

  1. Use usermod -G with only the new group on a production service account
  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. Set a temporary contractor account to never expire because the password itself was changed yesterday

Answer & Explanations

Correct answer: D

A.

This proposed shortcut concerns a separate case: A hospital adds one operator to the backup group while retaining their existing monitoring role. The risk in this question concerns: A retailer grants a short-term vendor account access for a defined maintenance interval. Here the unsafe shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Use this response instead: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

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 retailer grants a short-term vendor account access for a defined maintenance interval. Here the unsafe shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Use this response instead: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

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 retailer grants a short-term vendor account access for a defined maintenance interval. Here the unsafe shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Use this response instead: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

D.

Set a temporary contractor account to never expire because the password itself was changed yesterday. This shortcut is unsafe for: A retailer grants a short-term vendor account access for a defined maintenance interval. The resulting failure can be: Old identities may retain access beyond their authorized contract. The safer response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

Question 685

A retailer grants a short-term vendor account access for a defined maintenance interval. Suppose the team follows this shortcut instead: Set a temporary contractor account to never expire because the password itself was changed yesterday. What is the most likely direct system or operational consequence?

  1. Old identities may retain access beyond their authorized contract
  2. Credentials and file ownership can become shared or corrupted without valid account provisioning
  3. A production service can fail and evidence can be lost during account cleanup
  4. Credential exposure can compromise the account despite successful password modification

Answer & Explanations

Correct answer: A

A.

Old identities may retain access beyond their authorized contract. This is the risk in the stated situation: A retailer grants a short-term vendor account access for a defined maintenance interval. The risky shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Prevent it by: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

B.

This failure concerns another scenario: A university creates a restricted trainee account for one Linux laboratory node. In the stated case: A retailer grants a short-term vendor account access for a defined maintenance interval. The relevant consequence is: Old identities may retain access beyond their authorized contract. The control that prevents it is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

C.

This failure concerns another scenario: A hospital contractor leaves and the security team must disable access while retaining audit records. In the stated case: A retailer grants a short-term vendor account access for a defined maintenance interval. The relevant consequence is: Old identities may retain access beyond their authorized contract. The control that prevents it is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

D.

This failure concerns another scenario: A school resets one training account password before students start an authorized laboratory. In the stated case: A retailer grants a short-term vendor account access for a defined maintenance interval. The relevant consequence is: Old identities may retain access beyond their authorized contract. The control that prevents it is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

Question 686

A hospital enforces periodic credential changes while keeping permanent employee accounts active. Which RHEL 10 command or administration approach best addresses the situation?

  1. Use groupadd or groupmod on the specified local group and check its GID and intended role rather than overwriting another group
  2. Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l
  3. Use usermod -aG to add an authorized secondary group and verify the user's full effective group list after a new login
  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: B

A.

This action is appropriate in a different case: A research institute requires a new read-only analysts group for shared reports. There, the reason is: Groups provide named permission collections through GIDs, and renaming a group differs from editing file mode bits. The current case is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The appropriate response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

B.

Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. The technical reason is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. The stated condition is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. Confirm the result by: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

C.

This action is appropriate in a different case: A hospital adds one operator to the backup group while retaining their existing monitoring role. There, the reason is: The append flag preserves existing supplemental groups; using -G alone can replace all supplementary memberships. The current case is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The appropriate response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

D.

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 hospital enforces periodic credential changes while keeping permanent employee accounts active. The appropriate response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

Question 687

A hospital enforces periodic credential changes while keeping permanent employee accounts active. A Red Hat administrator recommends: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. 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. A local account is represented in passwd, shadow and group databases, while its home and login shell determine whether interactive use is possible
  3. Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls
  4. 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

Answer & Explanations

Correct answer: C

A.

This principle explains a different technical intervention: Use visudo to create a syntactically valid least-privilege sudoers policy under an approved file and verify only the required command is delegated. It applies to: A bank permits backup operators to restart one service but not edit firewall rules. The actual case is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The mechanism relevant here is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls.

B.

This principle explains a different technical intervention: Use useradd with the correct -m home and -s shell options and assign a unique approved user identifier rather than cloning another account. It applies to: A university creates a restricted trainee account for one Linux laboratory node. The actual case is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The mechanism relevant here is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls.

C.

Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. That mechanism explains the decision: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. In the reported situation: A hospital enforces periodic credential changes while keeping permanent employee accounts active. Confirmation requires: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

D.

This principle explains a different technical intervention: Use usermod to change approved account properties or userdel only after checking its service dependencies and home directory retention plan. It applies to: A hospital contractor leaves and the security team must disable access while retaining audit records. The actual case is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The mechanism relevant here is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls.

Question 688

A hospital enforces periodic credential changes while keeping permanent employee accounts active. After the targeted configuration or process is implemented, which evidence most directly demonstrates the requested behavior?

  1. Inspect getent passwd and file ownership after an authorized modification or deprovision action
  2. Confirm the user can authenticate once under the intended policy and that secrets are absent from logs or history
  3. Inspect getent group and stat on a representative group-owned file before and after the change
  4. Check chage -l and perform a safe login test just before and after the applicable test expiry condition

Answer & Explanations

Correct answer: D

A.

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 hospital enforces periodic credential changes while keeping permanent employee accounts active. To assess it, check: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

B.

This observation would verify a different remedy: Use passwd for a local account under authorized conditions and confirm password policy, without embedding cleartext passwords in shell history. That remedy applies to: A school resets one training account password before students start an authorized laboratory. The present condition is: A hospital enforces periodic credential changes while keeping permanent employee accounts active. To assess it, check: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

C.

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 enforces periodic credential changes while keeping permanent employee accounts active. To assess it, check: Check chage -l and perform a safe login test just before and after the applicable test expiry condition.

D.

Check chage -l and perform a safe login test just before and after the applicable test expiry condition. This check directly tests: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l. The underlying behavior is: Password expiration requires a credential update, whereas account expiration can disable logins entirely; they are separate controls. The case is: A hospital enforces periodic credential changes while keeping permanent employee accounts active.

Question 689

A hospital enforces periodic credential changes while keeping permanent employee accounts active. Which apparently convenient shortcut would most directly undermine the required control?

  1. Set a temporary contractor account to never expire because the password itself was changed yesterday
  2. Reuse the existing privileged group's GID for an unrelated application team
  3. Use usermod -G with only the new group on a production service account
  4. Add every support account to a passwordless all-commands rule to avoid documenting individual tasks

Answer & Explanations

Correct answer: A

A.

Set a temporary contractor account to never expire because the password itself was changed yesterday. This shortcut is unsafe for: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The resulting failure can be: Old identities may retain access beyond their authorized contract. The safer response is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

B.

This proposed shortcut concerns a separate case: A research institute requires a new read-only analysts group for shared reports. The risk in this question concerns: A hospital enforces periodic credential changes while keeping permanent employee accounts active. Here the unsafe shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Use this response instead: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

C.

This proposed shortcut concerns a separate case: A hospital adds one operator to the backup group while retaining their existing monitoring role. The risk in this question concerns: A hospital enforces periodic credential changes while keeping permanent employee accounts active. Here the unsafe shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Use this response instead: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

D.

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 hospital enforces periodic credential changes while keeping permanent employee accounts active. Here the unsafe shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Use this response instead: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

Question 690

A hospital enforces periodic credential changes while keeping permanent employee accounts active. Suppose the team follows this shortcut instead: Set a temporary contractor account to never expire because the password itself was changed yesterday. What is the most likely direct system or operational consequence?

  1. Users gain unnecessary root-level authority and audit accountability weakens
  2. Old identities may retain access beyond their authorized contract
  3. Credentials and file ownership can become shared or corrupted without valid account provisioning
  4. A production service can fail and evidence can be lost during account cleanup

Answer & Explanations

Correct answer: B

A.

This failure concerns another scenario: A bank permits backup operators to restart one service but not edit firewall rules. In the stated case: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The relevant consequence is: Old identities may retain access beyond their authorized contract. The control that prevents it is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

B.

Old identities may retain access beyond their authorized contract. This is the risk in the stated situation: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The risky shortcut is: Set a temporary contractor account to never expire because the password itself was changed yesterday. Prevent it by: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

C.

This failure concerns another scenario: A university creates a restricted trainee account for one Linux laboratory node. In the stated case: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The relevant consequence is: Old identities may retain access beyond their authorized contract. The control that prevents it is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

D.

This failure concerns another scenario: A hospital contractor leaves and the security team must disable access while retaining audit records. In the stated case: A hospital enforces periodic credential changes while keeping permanent employee accounts active. The relevant consequence is: Old identities may retain access beyond their authorized contract. The control that prevents it is: Use chage to set intended aging or expiry for a local account and inspect its current policy with chage -l.

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