LPI 102-500 Practice Test 39
Question 380
During an LPIC-1 practice lab, the operator encounters this condition: A local operational alias is misspelled and the team sends diagnostic mail without checking the effective alias expansion. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.
- Edit approved local alias mappings and run newaliases as required by the installed MTA, then test delivery and the local queue.
- Apply supported journal size or age retention and `journalctl --vacuum-*` controls; use `journalctl --directory` or `--file` to inspect saved journals.
- Inspect /etc/rsyslog.conf rules, generated `logger` messages, receiver logs and network or TLS transport state.
- Inspect /etc/aliases, run newaliases with permission, review MTA logs and send a controlled message to the alias.
- Assume saving /etc/aliases updates every running MTA's alias map immediately and that no delivery test is necessary.
Explanation
Correct Answers
A:Recommended administrative action: Edit approved local alias mappings and run newaliases as required by the installed MTA, then test delivery and the local queue. Linux principle: Mail alias files map local recipient names to delivery targets, and some MTAs use a compiled alias database that must be rebuilt after changes.
D:Most direct verification evidence: Inspect /etc/aliases, run newaliases with permission, review MTA logs and send a controlled message to the alias. Linux principle: Mail alias files map local recipient names to delivery targets, and some MTAs use a compiled alias database that must be rebuilt after changes.
Incorrect Answers
B:That option would apply supported journal size or age retention and `journalctl --vacuum-*` controls; use `journalctl --directory` or `--file` to inspect saved journals, but it addresses a different concern. Mail alias files map local recipient names to delivery targets, and some MTAs use a compiled alias database that must be rebuilt after changes.
C:This alternative addresses Rsyslog facility priority and central forwarding, not the specific issue of Mail aliases and newaliases database updates: Inspect /etc/rsyslog.conf rules, generated `logger` messages, receiver logs and network or TLS transport state.
E:This shortcut is unsafe for the present Linux issue: Assume saving /etc/aliases updates every running MTA's alias map immediately and that no delivery test is necessary. Mail alias files map local recipient names to delivery targets, and some MTAs use a compiled alias database that must be rebuilt after changes.
Question 381
A helpdesk escalation describes this Linux behavior: A staff account requires mail forwarding to an outside mailbox but an admin edits global aliases when a user-specific ~/.forward would be appropriate for the local setup. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Edit approved local alias mappings and run newaliases as required by the installed MTA, then test delivery and the local queue.
- Apply supported journal size or age retention and `journalctl --vacuum-*` controls; use `journalctl --directory` or `--file` to inspect saved journals.
- Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism.
Explanation
Correct Answer
D:Recommended administrative action: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. forward would be appropriate for the local setup.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. It cannot establish a safe correction. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
B:This alternative addresses Mail aliases and newaliases database updates, not the specific issue of User mail forwarding and delivery loops: Edit approved local alias mappings and run newaliases as required by the installed MTA, then test delivery and the local queue. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
C:That option would apply supported journal size or age retention and `journalctl --vacuum-*` controls; use `journalctl --directory` or `--file` to inspect saved journals, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Question 382
An operations handoff identifies this problem: A staff account requires mail forwarding to an outside mailbox but an admin edits global aliases when a user-specific ~/.forward would be appropriate for the local setup. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- Rsyslog rules match syslog facilities and severities, and remote forwarding depends on correct action syntax and reachable transport.
- Mail alias files map local recipient names to delivery targets, and some MTAs use a compiled alias database that must be rebuilt after changes.
- User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
Explanation
Correct Answer
C:Relevant Linux operating principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. forward would be appropriate for the local setup.
Incorrect Answers
A:This alternative addresses Rsyslog facility priority and central forwarding, not the specific issue of User mail forwarding and delivery loops: Rsyslog rules match syslog facilities and severities, and remote forwarding depends on correct action syntax and reachable transport. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
B:This alternative addresses Mail aliases and newaliases database updates, not the specific issue of User mail forwarding and delivery loops: Mail alias files map local recipient names to delivery targets, and some MTAs use a compiled alias database that must be rebuilt after changes. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
D:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Question 383
A team maintaining a Linux host reports: A staff account requires mail forwarding to an outside mailbox but an admin edits global aliases when a user-specific ~/.forward would be appropriate for the local setup. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Inspect `chronyc tracking`, `chronyc sources -v`, configured servers or pools, network reachability and timedatectl synchronization status.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Inspect `journalctl -u name.service --since ...`, `-p` selections, boot switches and the original message fields.
- Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message.
Explanation
Correct Answer
D:Most direct verification evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. forward would be appropriate for the local setup.
Incorrect Answers
A:That option would inspect `chronyc tracking`, `chronyc sources -v`, configured servers or pools, network reachability and timedatectl synchronization status, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
B:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. It cannot establish a safe correction. forward would be appropriate for the local setup.
C:That option would inspect `journalctl -u name.service --since .`, `-p` selections, boot switches and the original message fields, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Question 384
While verifying a Linux change request, an engineer finds: A staff account requires mail forwarding to an outside mailbox but an admin edits global aliases when a user-specific ~/.forward would be appropriate for the local setup. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- The backlog drains for the intended destinations and repeat sends are not introduced merely to mask a routing failure.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Clock values stay consistent over a controlled reboot and displayed local time matches the configured zone while UTC remains stable.
- Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
Explanation
Correct Answer
D:Observable acceptance criterion: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails. forward would be appropriate for the local setup.
Incorrect Answers
A:This alternative addresses Mail queue inspection and resend decisions, not the specific issue of User mail forwarding and delivery loops: The backlog drains for the intended destinations and repeat sends are not introduced merely to mask a routing failure. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
B:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. It cannot establish a safe correction. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
C:This alternative addresses System clock versus real-time clock and UTC policy, not the specific issue of User mail forwarding and delivery loops: Clock values stay consistent over a controlled reboot and displayed local time matches the configured zone while UTC remains stable. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
Question 385
A Linux administrator investigates the following system incident: A staff account requires mail forwarding to an outside mailbox but an admin edits global aliases when a user-specific ~/.forward would be appropriate for the local setup. Which misleading assumption MOST directly contributes to this failure and should be rejected? Select ONE best answer.
- Assume the command named sendmail proves the Sendmail daemon is installed and that Postfix and Exim share interchangeable configuration files.
- Treat exit status zero from a local mail submission as a receipt from the remote mailbox and repeatedly send every queued message again.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Delete the original PDF as a substitute for canceling a queued print job and indiscriminately purge all printers for one stalled queue.
Explanation
Correct Answer
C:Reject this specific misconception: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. It incorrectly assumes behavior that conflicts with the observed Linux conditions.
Incorrect Answers
A:That option would assume the command named sendmail proves the Sendmail daemon is installed and that Postfix and Exim share interchangeable configuration files, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
B:That option would treat exit status zero from a local mail submission as a receipt from the remote mailbox and repeatedly send every queued message again, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
D:This alternative addresses CUPS queue inspection and selective cancellation, not the specific issue of User mail forwarding and delivery loops: Delete the original PDF as a substitute for canceling a queued print job and indiscriminately purge all printers for one stalled queue. forward would be appropriate for the local setup. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
Question 386
On a production Linux workstation or server, a technician observes: Two users forward messages to each other and produce repeated deliveries that fill the mail queue. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.
- Identify the installed mail transport agent and use its supported aliases, forward and submission interface while limiting work to the basic client objectives.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Configure reachable approved chrony sources and check tracking and source selection before declaring time synchronization healthy.
- Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism.
Explanation
Correct Answer
D:Recommended administrative action: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Incorrect Answers
A:That option would identify the installed mail transport agent and use its supported aliases, forward and submission interface while limiting work to the basic client objectives, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
B:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. It cannot establish a safe correction. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
C:That option would configure reachable approved chrony sources and check tracking and source selection before declaring time synchronization healthy, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Question 387
During an LPIC-1 practice lab, the operator encounters this condition: Two users forward messages to each other and produce repeated deliveries that fill the mail queue. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.
- Submitting a message to an MTA queue is not proof of final recipient delivery; queue status and remote response determine disposition.
- User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Systemd-journald may use volatile or persistent storage depending on configuration and directory availability; querying only the current boot cannot prove retention.
Explanation
Correct Answer
B:Relevant Linux operating principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Incorrect Answers
A:This alternative addresses Mail queue inspection and resend decisions, not the specific issue of User mail forwarding and delivery loops: Submitting a message to an MTA queue is not proof of final recipient delivery; queue status and remote response determine disposition. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
C:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
D:This alternative addresses Persistent systemd journal storage, not the specific issue of User mail forwarding and delivery loops: Systemd-journald may use volatile or persistent storage depending on configuration and directory availability; querying only the current boot cannot prove retention. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
Question 388
A helpdesk escalation describes this Linux behavior: Two users forward messages to each other and produce repeated deliveries that fill the mail queue. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.
- Inspect /etc/rsyslog.conf rules, generated `logger` messages, receiver logs and network or TLS transport state.
- Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message.
- Run `logrotate -d` or a controlled forced rotation, inspect the daemon's file handles, timestamps and retained compressed archives.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
Explanation
Correct Answer
B:Most direct verification evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Incorrect Answers
A:This alternative addresses Rsyslog facility priority and central forwarding, not the specific issue of User mail forwarding and delivery loops: Inspect /etc/rsyslog.conf rules, generated `logger` messages, receiver logs and network or TLS transport state.
C:That option would run `logrotate -d` or a controlled forced rotation, inspect the daemon's file handles, timestamps and retained compressed archives, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
D:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. It cannot establish a safe correction. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Question 389
An operations handoff identifies this problem: Two users forward messages to each other and produce repeated deliveries that fill the mail queue. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
- The backlog drains for the intended destinations and repeat sends are not introduced merely to mask a routing failure.
- Required previous-boot records remain queryable with appropriate permissions without uncontrolled disk consumption.
Explanation
Correct Answer
B:Observable acceptance criterion: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Incorrect Answers
A:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
C:This alternative addresses Mail queue inspection and resend decisions, not the specific issue of User mail forwarding and delivery loops: The backlog drains for the intended destinations and repeat sends are not introduced merely to mask a routing failure. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures. Appropriate response: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Root-cause evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Independent acceptance: Mail to the intended local user reaches the external recipient once without uncontrolled loops and preserves expected audit trails.
D:This alternative addresses Persistent systemd journal storage, not the specific issue of User mail forwarding and delivery loops: Required previous-boot records remain queryable with appropriate permissions without uncontrolled disk consumption.
Question 390
A team maintaining a Linux host reports: Two users forward messages to each other and produce repeated deliveries that fill the mail queue. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.
- Inspect CUPS printer state, queue name and job ID, view lpq or lpstat output, and confirm the target job disappears after cancellation.
- Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism.
- Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops.
- Use suitable logrotate frequency, size, retention and postrotate or copytruncate strategy based on service behavior and test the rotation safely.
- Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message.
Explanation
Correct Answers
B:Recommended administrative action: Configure a supported per-user ~/.forward destination and validate permissions and loop prevention, or select an approved server-side forwarding mechanism. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
E:Most direct verification evidence: Inspect ~/.forward ownership and content, trace headers and MTA delivery logs, and send a single controlled test message. Linux principle: User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
Incorrect Answers
A:That option would inspect CUPS printer state, queue name and job ID, view lpq or lpstat output, and confirm the target job disappears after cancellation, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
C:This shortcut is unsafe for the present Linux issue: Chain two ~/.forward files to one another and assume the MTA will always infer the intended final recipient without loops. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.
D:That option would use suitable logrotate frequency, size, retention and postrotate or copytruncate strategy based on service behavior and test the rotation safely, but it addresses a different concern. User-level forwarding and system aliases apply at different scope, and circular forwarding can generate repeated messages or delivery failures.