Question 470
On lab host node-15, the RHEL 10 administrator must switch the running system immediately to multi-user text mode. A review considers `systemctl get-default` as an alternative. Its relevant behavior is: get-default reports the current persistent default target. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- systemctl set-default graphical.target
- systemctl isolate multi-user.target
- systemctl get-default
- systemctl isolate rescue.target
Explanation
Correct Answer
B:isolate initiates the runtime transition to the requested target. This matches the stated requirement to switch the running system immediately to multi-user text mode. By contrast, the plausible alternative `systemctl set-default graphical.target` has the effect: set-default records the persistent default boot target; that operation would not achieve the requested result.
Incorrect Answers
A:set-default records the persistent default boot target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. A separate comparison is `systemctl get-default`: get-default reports the current persistent default target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target.
C:get-default reports the current persistent default target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target.
D:isolate rescue.target requests the rescue system state now. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target.
Question 471
On lab host node-16, the RHEL 10 administrator must inspect the default target configured for next boot. A review considers `systemctl set-default graphical.target` as an alternative. Its relevant behavior is: set-default records the persistent default boot target. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- systemctl isolate multi-user.target
- systemctl set-default graphical.target
- systemctl get-default
- systemctl isolate rescue.target
Explanation
Correct Answer
C:get-default reports the current persistent default target. This matches the stated requirement to inspect the default target configured for next boot. By contrast, the plausible alternative `systemctl set-default graphical.target` has the effect: set-default records the persistent default boot target; that operation would not achieve the requested result.
Incorrect Answers
A:isolate initiates the runtime transition to the requested target. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. A separate comparison is `systemctl isolate rescue.target`: isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. For the named operational target node-16, this answer does not perform the requested action; `systemctl get-default` is selected to achieve the correct scope instead.
B:set-default records the persistent default boot target. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. A separate comparison is `systemctl isolate rescue.target`: isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. For the named operational target node-16, this answer does not perform the requested action; `systemctl get-default` is selected to achieve the correct scope instead.
D:isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. For the named operational target node-16, this answer does not perform the requested action; `systemctl get-default` is selected to achieve the correct scope instead.
Question 472
On lab host node-17, the RHEL 10 administrator must switch the running system immediately to multi-user text mode. A review considers `systemctl isolate rescue.target` as an alternative. Its relevant behavior is: isolate rescue.target requests the rescue system state now. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- systemctl set-default graphical.target
- systemctl get-default
- systemctl isolate rescue.target
- systemctl isolate multi-user.target
Explanation
Correct Answer
D:isolate initiates the runtime transition to the requested target. This matches the stated requirement to switch the running system immediately to multi-user text mode. By contrast, the plausible alternative `systemctl get-default` has the effect: get-default reports the current persistent default target; that operation would not achieve the requested result. A separate comparison is `systemctl get-default`: get-default reports the current persistent default target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target.
Incorrect Answers
A:set-default records the persistent default boot target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. A separate comparison is `systemctl get-default`: get-default reports the current persistent default target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. For the named operational target node-17, this answer does not perform the requested action; `systemctl isolate multi-user.target` is selected to achieve the correct scope instead.
B:get-default reports the current persistent default target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. For the named operational target node-17, this answer does not perform the requested action; `systemctl isolate multi-user.target` is selected to achieve the correct scope instead.
C:isolate rescue.target requests the rescue system state now. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to switch the running system immediately to multi-user text mode. Instead, `systemctl isolate multi-user.target` is the relevant alternative because isolate initiates the runtime transition to the requested target. For the named operational target node-17, this answer does not perform the requested action; `systemctl isolate multi-user.target` is selected to achieve the correct scope instead.
Question 473
On lab host node-18, the RHEL 10 administrator must inspect the default target configured for next boot. A review considers `systemctl isolate rescue.target` as an alternative. Its relevant behavior is: isolate rescue.target requests the rescue system state now. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- systemctl get-default
- systemctl isolate multi-user.target
- systemctl set-default graphical.target
- systemctl isolate rescue.target
Explanation
Correct Answer
A:get-default reports the current persistent default target. This matches the stated requirement to inspect the default target configured for next boot. By contrast, the plausible alternative `systemctl set-default graphical.target` has the effect: set-default records the persistent default boot target; that operation would not achieve the requested result. A separate comparison is `systemctl isolate rescue.target`: isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target.
Incorrect Answers
B:isolate initiates the runtime transition to the requested target. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. A separate comparison is `systemctl isolate rescue.target`: isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. For the named operational target node-18, this answer does not perform the requested action; `systemctl get-default` is selected to achieve the correct scope instead.
C:set-default records the persistent default boot target. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. A separate comparison is `systemctl isolate rescue.target`: isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. For the named operational target node-18, this answer does not perform the requested action; `systemctl get-default` is selected to achieve the correct scope instead.
D:isolate rescue.target requests the rescue system state now. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to inspect the default target configured for next boot. Instead, `systemctl get-default` is the relevant alternative because get-default reports the current persistent default target. For the named operational target node-18, this answer does not perform the requested action; `systemctl get-default` is selected to achieve the correct scope instead.
Question 474
On lab host node-19, the RHEL 10 administrator must set graphical mode as the default at later boots. A review considers `systemctl isolate rescue.target` as an alternative. Its relevant behavior is: isolate rescue.target requests the rescue system state now. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- systemctl isolate multi-user.target
- systemctl set-default graphical.target
- systemctl get-default
- systemctl isolate rescue.target
Explanation
Correct Answer
B:set-default records the persistent default boot target. This matches the stated requirement to set graphical mode as the default at later boots. By contrast, the plausible alternative `systemctl isolate rescue.target` has the effect: isolate rescue.target requests the rescue system state now; that operation would not achieve the requested result. A separate comparison is `systemctl isolate multi-user.target`: isolate initiates the runtime transition to the requested target. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. For the named operational target node-19, the required change or inspection is performed by `systemctl set-default graphical.target`; a different listed action would either inspect or change another aspect of that target.
Incorrect Answers
A:isolate initiates the runtime transition to the requested target. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. A separate comparison is `systemctl get-default`: get-default reports the current persistent default target. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. For the named operational target node-19, this answer does not perform the requested action; `systemctl set-default graphical.target` is selected to achieve the correct scope instead.
C:get-default reports the current persistent default target. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. A separate comparison is `systemctl isolate multi-user.target`: isolate initiates the runtime transition to the requested target. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. For the named operational target node-19, this answer does not perform the requested action; `systemctl set-default graphical.target` is selected to achieve the correct scope instead.
D:isolate rescue.target requests the rescue system state now. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. A separate comparison is `systemctl isolate multi-user.target`: isolate initiates the runtime transition to the requested target. The stated task is to set graphical mode as the default at later boots. Instead, `systemctl set-default graphical.target` is the relevant alternative because set-default records the persistent default boot target. For the named operational target node-19, this answer does not perform the requested action; `systemctl set-default graphical.target` is selected to achieve the correct scope instead.
Question 475
On lab host node-20, the RHEL 10 administrator must switch to rescue mode on the running machine. A review considers `systemctl isolate multi-user.target` as an alternative. Its relevant behavior is: isolate initiates the runtime transition to the requested target. That is a different result from the requested operation. As an additional operational boundary, `systemctl get-default` must also be excluded because its documented effect is: get-default reports the current persistent default target. The stated task is to switch to rescue mode on the running machine. The effect above does not perform that specific task; `systemctl isolate rescue.target` is the relevant alte. Which listed command satisfies the original requirement without substituting this other behavior?
- systemctl isolate multi-user.target
- systemctl set-default graphical.target
- systemctl isolate rescue.target
- systemctl get-default
Explanation
Correct Answer
C:isolate rescue.target requests the rescue system state now. This matches the stated requirement to switch to rescue mode on the running machine. By contrast, the plausible alternative `systemctl get-default` has the effect: get-default reports the current persistent default target; that operation would not achieve the requested result. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now.
Incorrect Answers
A:isolate initiates the runtime transition to the requested target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now. A separate comparison is `systemctl get-default`: get-default reports the current persistent default target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now. For the named operational target node-20, this answer does not perform the requested action; `systemctl isolate rescue.target` is selected to achieve the correct scope instead.
B:set-default records the persistent default boot target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now. A separate comparison is `systemctl get-default`: get-default reports the current persistent default target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now. For the named operational target node-20, this answer does not perform the requested action; `systemctl isolate rescue.target` is selected to achieve the correct scope instead.
D:get-default reports the current persistent default target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now. A separate comparison is `systemctl set-default graphical.target`: set-default records the persistent default boot target. The stated task is to switch to rescue mode on the running machine. Instead, `systemctl isolate rescue.target` is the relevant alternative because isolate rescue.target requests the rescue system state now. For the named operational target node-20, this answer does not perform the requested action; `systemctl isolate rescue.target` is selected to achieve the correct scope instead.
Question 476
On a RHEL 10 test node, PID 2020 belongs to an identified process. The operator must display the process listing with pid and command details. Which command is most appropriate?
- kill -TERM 2020
- kill -KILL 2020
- kill -STOP 2020
- ps -p 2020 -o pid,comm
Explanation
Correct Answer
D:ps can filter by PID and print selected PID and command fields. This matches the stated requirement to display the process listing with pid and command details. By contrast, the plausible alternative `kill -STOP 2020` has the effect: SIGSTOP suspends process execution until a continuation signal arrives; that operation would not achieve the requested result.
Incorrect Answers
A:SIGTERM requests graceful termination, allowing the process to handle cleanup. The stated task is to display the process listing with pid and command details. Instead, `ps -p 2020 -o pid,comm` is the relevant alternative because ps can filter by PID and print selected PID and command fields.
B:SIGKILL cannot be intercepted or ignored by the process. The stated task is to display the process listing with pid and command details. Instead, `ps -p 2020 -o pid,comm` is the relevant alternative because ps can filter by PID and print selected PID and command fields.
C:SIGSTOP suspends process execution until a continuation signal arrives. The stated task is to display the process listing with pid and command details. Instead, `ps -p 2020 -o pid,comm` is the relevant alternative because ps can filter by PID and print selected PID and command fields.
Question 477
On a RHEL 10 test node, PID 6236 belongs to an identified process. The operator must display the process listing with pid and command details. A review considers `kill -TERM 6236` as an alternative. Its relevant behavior is: SIGTERM requests graceful termination, allowing the process to handle cleanup. That operation has a different effect on the running process. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- ps -p 6236 -o pid,comm
- kill -TERM 6236
- kill -KILL 6236
- kill -STOP 6236
Explanation
Correct Answer
A:ps can filter by PID and print selected PID and command fields. This matches the stated requirement to display the process listing with pid and command details. By contrast, the plausible alternative `kill -TERM 6236` has the effect: SIGTERM requests graceful termination, allowing the process to handle cleanup; that operation would not achieve the requested result.
Incorrect Answers
B:SIGTERM requests graceful termination, allowing the process to handle cleanup. The stated task is to display the process listing with pid and command details. Instead, `ps -p 6236 -o pid,comm` is the relevant alternative because ps can filter by PID and print selected PID and command fields.
C:SIGKILL cannot be intercepted or ignored by the process. The stated task is to display the process listing with pid and command details. Instead, `ps -p 6236 -o pid,comm` is the relevant alternative because ps can filter by PID and print selected PID and command fields.
D:SIGSTOP suspends process execution until a continuation signal arrives. The stated task is to display the process listing with pid and command details. Instead, `ps -p 6236 -o pid,comm` is the relevant alternative because ps can filter by PID and print selected PID and command fields.
Question 478
On a RHEL 10 test node, PID 6522 belongs to an identified process. The operator must resume a previously stopped process. Which command is most appropriate?
- renice -n 10 -p 6522
- kill -CONT 6522
- ps -p 6522 -o pid,comm
- kill -TERM 6522
Explanation
Correct Answer
B:SIGCONT resumes a process suspended by a job-control or stop signal. This matches the stated requirement to resume a previously stopped process. By contrast, the plausible alternative `renice -n 10 -p 6522` has the effect: renice sets the process nice value; a larger nice value means lower normal scheduling priority; that operation would not achieve the requested result.
Incorrect Answers
A:renice sets the process nice value; a larger nice value means lower normal scheduling priority. The stated task is to resume a previously stopped process. Instead, `kill -CONT 6522` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
C:ps can filter by PID and print selected PID and command fields. The stated task is to resume a previously stopped process. Instead, `kill -CONT 6522` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
D:SIGTERM requests graceful termination, allowing the process to handle cleanup. The stated task is to resume a previously stopped process. Instead, `kill -CONT 6522` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
Question 479
On a RHEL 10 test node, PID 2763 belongs to an identified process. The operator must resume a previously stopped process. A review considers `renice -n 10 -p 2763` as an alternative. Its relevant behavior is: renice sets the process nice value; a larger nice value means lower normal scheduling priority. That operation has a different effect on the running process. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- renice -n 10 -p 2763
- ps -p 2763 -o pid,comm
- kill -CONT 2763
- kill -TERM 2763
Explanation
Correct Answer
C:SIGCONT resumes a process suspended by a job-control or stop signal. This matches the stated requirement to resume a previously stopped process. By contrast, the plausible alternative `renice -n 10 -p 2763` has the effect: renice sets the process nice value; a larger nice value means lower normal scheduling priority; that operation would not achieve the requested result.
Incorrect Answers
A:renice sets the process nice value; a larger nice value means lower normal scheduling priority. The stated task is to resume a previously stopped process. Instead, `kill -CONT 2763` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
B:ps can filter by PID and print selected PID and command fields. The stated task is to resume a previously stopped process. Instead, `kill -CONT 2763` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
D:SIGTERM requests graceful termination, allowing the process to handle cleanup. The stated task is to resume a previously stopped process. Instead, `kill -CONT 2763` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
Question 480
On a RHEL 10 test node, PID 5997 belongs to an identified process. The operator must resume a previously stopped process. A review considers `ps -p 5997 -o pid,comm` as an alternative. Its relevant behavior is: ps can filter by PID and print selected PID and command fields. That operation has a different effect on the running process. That is a different result from the requested operation. Which listed command satisfies the original requirement without substituting this other behavior?
- renice -n 10 -p 5997
- ps -p 5997 -o pid,comm
- kill -TERM 5997
- kill -CONT 5997
Explanation
Correct Answer
D:SIGCONT resumes a process suspended by a job-control or stop signal. This matches the stated requirement to resume a previously stopped process. By contrast, the plausible alternative `ps -p 5997 -o pid,comm` has the effect: ps can filter by PID and print selected PID and command fields; that operation would not achieve the requested result.
Incorrect Answers
A:renice sets the process nice value; a larger nice value means lower normal scheduling priority. The stated task is to resume a previously stopped process. Instead, `kill -CONT 5997` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
B:ps can filter by PID and print selected PID and command fields. The stated task is to resume a previously stopped process. Instead, `kill -CONT 5997` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
C:SIGTERM requests graceful termination, allowing the process to handle cleanup. The stated task is to resume a previously stopped process. Instead, `kill -CONT 5997` is the relevant alternative because sIGCONT resumes a process suspended by a job-control or stop signal.
Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests