Question 310A scheduled service has a named Unix principal but must never provide terminal login. Which action best resolves this observed Linux system requirement? Use useradd or a supported distribution wrapper with home, shell and primary group settings. Lock or expire the account with supported account-management tools and separately revoke active access. Create a symbolic link with ln -s and verify that its target resolves to the expected file. Configure an appropriate non-login shell for the service account and restrict its credentials. ExplanationCorrect Answer D:Configure an appropriate non-login shell for the service account and restrict its credentials. The relevant Linux behavior is: A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. Verify its effectiveness by: Check the account's shell with getent passwd and confirm an interactive login is rejected. Other Answers A:Local user administration modifies account databases and may populate the new home from /etc/skel. It does not resolve the specific failure; the targeted correction is: Configure an appropriate non-login shell for the service account and restrict its credentials. B:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. It does not resolve the specific failure; the targeted correction is: Configure an appropriate non-login shell for the service account and restrict its credentials. C:Symbolic links store a target pathname and can span filesystems but become dangling when the target disappears. It does not resolve the specific failure; the targeted correction is: Configure an appropriate non-login shell for the service account and restrict its credentials.
Question 311A scheduled service has a named Unix principal but must never provide terminal login. What behavior of Linux systems best accounts for the observed condition? A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. DNF works with RPM metadata and resolves available dependencies from enabled repositories. Local user administration modifies account databases and may populate the new home from /etc/skel. Password aging and account expiration values affect login authorization independently of file ownership. ExplanationCorrect Answer A:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. That behavior supports this specific response: Configure an appropriate non-login shell for the service account and restrict its credentials. A confirming test is: Check the account's shell with getent passwd and confirm an interactive login is rejected. Other Answers B:DNF works with RPM metadata and resolves available dependencies from enabled repositories. That concept is relevant instead to: A Red Hat compatible server needs an RPM package and its dependencies installed consistently. The present case depends on: A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. C:Local user administration modifies account databases and may populate the new home from /etc/skel. That concept is relevant instead to: An onboarding script needs a local account that receives the expected skeleton files and groups. The present case depends on: A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. D:Password aging and account expiration values affect login authorization independently of file ownership. That concept is relevant instead to: A user login fails because the account expiry date was mistakenly set in the past. The present case depends on: A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal.
Question 312A scheduled service has a named Unix principal but must never provide terminal login. What evidence should the administrator gather after implementing the change? Inspect id -nG for the user after a new login and test allowed versus disallowed file access. Inspect systemctl is-enabled and verify a controlled start works only after authorized unmasking. Check the account's shell with getent passwd and confirm an interactive login is rejected. Attempt a controlled new login and inspect active sessions, keys and account expiry attributes. ExplanationCorrect Answer C:Check the account's shell with getent passwd and confirm an interactive login is rejected. This tests the underlying failure: A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. Other Answers A:Supplementary group membership affects discretionary file access after a fresh authentication session. That does not establish the required outcome; verify it by checking: Check the account's shell with getent passwd and confirm an interactive login is rejected. B:systemd mask links a unit to /dev/null and prevents normal start, unlike simple disablement. That does not establish the required outcome; verify it by checking: Check the account's shell with getent passwd and confirm an interactive login is rejected. D:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. That does not establish the required outcome; verify it by checking: Check the account's shell with getent passwd and confirm an interactive login is rejected.
Question 313A scheduled service has a named Unix principal but must never provide terminal login. What preventative standard should the Linux operations team adopt? Set non-login shells and minimal group membership by default for service identities. Apply a complete offboarding checklist covering sessions, SSH keys, groups and retained data. Review repository trust and apt update schedules before approving package changes. Recertify membership of privileged application groups and remove stale users promptly. ExplanationCorrect Answer A:Set non-login shells and minimal group membership by default for service identities. This safeguards the intended change because A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. The immediate repair remains: Configure an appropriate non-login shell for the service account and restrict its credentials. Other Answers B:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. The continuing safeguard required here is: Set non-login shells and minimal group membership by default for service identities. C:APT resolves package dependencies and repository metadata under configured signing trust. The continuing safeguard required here is: Set non-login shells and minimal group membership by default for service identities. D:Supplementary group membership affects discretionary file access after a fresh authentication session. The continuing safeguard required here is: Set non-login shells and minimal group membership by default for service identities.
Question 314Two staff groups need consistent membership for an application data directory. What is the most appropriate supported Linux change in this situation? Configure an appropriate non-login shell for the service account and restrict its credentials. Lock or expire the account with supported account-management tools and separately revoke active access. Grant narrowly scoped execute or traverse permission on parent directories while keeping unnecessary access denied. Add authorized users to the correct supplementary group and manage the group's directory permissions. ExplanationCorrect Answer D:Add authorized users to the correct supplementary group and manage the group's directory permissions. The relevant Linux behavior is: Supplementary group membership affects discretionary file access after a fresh authentication session. Verify its effectiveness by: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. Other Answers A:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. It does not resolve the specific failure; the targeted correction is: Add authorized users to the correct supplementary group and manage the group's directory permissions. B:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. It does not resolve the specific failure; the targeted correction is: Add authorized users to the correct supplementary group and manage the group's directory permissions. C:Directory execute permission controls pathname traversal separately from read permission on the target file. It does not resolve the specific failure; the targeted correction is: Add authorized users to the correct supplementary group and manage the group's directory permissions.
Question 315Two staff groups need consistent membership for an application data directory. Which underlying Linux concept is most relevant to this outcome? Password aging and account expiration values affect login authorization independently of file ownership. Hard links are directory references to the same inode and cannot normally cross filesystem boundaries. A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. Supplementary group membership affects discretionary file access after a fresh authentication session. ExplanationCorrect Answer D:Supplementary group membership affects discretionary file access after a fresh authentication session. That behavior supports this specific response: Add authorized users to the correct supplementary group and manage the group's directory permissions. A confirming test is: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. Other Answers A:Password aging and account expiration values affect login authorization independently of file ownership. That concept is relevant instead to: A user login fails because the account expiry date was mistakenly set in the past. The present case depends on: Supplementary group membership affects discretionary file access after a fresh authentication session. B:Hard links are directory references to the same inode and cannot normally cross filesystem boundaries. That concept is relevant instead to: An archive process requires two directory entries that both refer to the same underlying inode. The present case depends on: Supplementary group membership affects discretionary file access after a fresh authentication session. C:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. That concept is relevant instead to: A service account should not offer an interactive shell to human operators. The present case depends on: Supplementary group membership affects discretionary file access after a fresh authentication session.
Question 316Two staff groups need consistent membership for an application data directory. What evidence should the administrator gather after implementing the change? Inspect the deployed image digest and match it to the approved signed build artifact. Inspect id -nG for the user after a new login and test allowed versus disallowed file access. Recheck chage output and complete a controlled authentication test after the correction. Check the account's shell with getent passwd and confirm an interactive login is rejected. ExplanationCorrect Answer B:Inspect id -nG for the user after a new login and test allowed versus disallowed file access. This tests the underlying failure: Supplementary group membership affects discretionary file access after a fresh authentication session. Other Answers A:Mutable tags can change their target digest without changing the human-readable tag name. That does not establish the required outcome; verify it by checking: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. C:Password aging and account expiration values affect login authorization independently of file ownership. That does not establish the required outcome; verify it by checking: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. D:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. That does not establish the required outcome; verify it by checking: Inspect id -nG for the user after a new login and test allowed versus disallowed file access.
Question 317Two staff groups need consistent membership for an application data directory. Which repeatable process change best sustains this resolution? Standardize account creation policy and prohibit untracked manual edits to passwd files. Automate account expiration review and warn owners before legitimate access lapses. Review directory and file permissions together in service account runbooks. Recertify membership of privileged application groups and remove stale users promptly. ExplanationCorrect Answer D:Recertify membership of privileged application groups and remove stale users promptly. This safeguards the intended change because Supplementary group membership affects discretionary file access after a fresh authentication session. The immediate repair remains: Add authorized users to the correct supplementary group and manage the group's directory permissions. Other Answers A:Local user administration modifies account databases and may populate the new home from /etc/skel. The continuing safeguard required here is: Recertify membership of privileged application groups and remove stale users promptly. B:Password aging and account expiration values affect login authorization independently of file ownership. The continuing safeguard required here is: Recertify membership of privileged application groups and remove stale users promptly. C:Directory execute permission controls pathname traversal separately from read permission on the target file. The continuing safeguard required here is: Recertify membership of privileged application groups and remove stale users promptly.
Question 318A shared analytics system must allow designated operators access without widening permissions to everyone. What is the most appropriate supported Linux change in this situation? Queue the task with the at scheduler or an equivalent one-shot supported job mechanism. Add authorized users to the correct supplementary group and manage the group's directory permissions. Use useradd or a supported distribution wrapper with home, shell and primary group settings. Configure an appropriate non-login shell for the service account and restrict its credentials. ExplanationCorrect Answer B:Add authorized users to the correct supplementary group and manage the group's directory permissions. The relevant Linux behavior is: Supplementary group membership affects discretionary file access after a fresh authentication session. Verify its effectiveness by: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. Other Answers A:at queues a command for one execution at the requested time instead of a repeating cron schedule. It does not resolve the specific failure; the targeted correction is: Add authorized users to the correct supplementary group and manage the group's directory permissions. C:Local user administration modifies account databases and may populate the new home from /etc/skel. It does not resolve the specific failure; the targeted correction is: Add authorized users to the correct supplementary group and manage the group's directory permissions. D:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. It does not resolve the specific failure; the targeted correction is: Add authorized users to the correct supplementary group and manage the group's directory permissions.
Question 319A shared analytics system must allow designated operators access without widening permissions to everyone. Which technical mechanism best explains this Linux behavior? Supplementary group membership affects discretionary file access after a fresh authentication session. A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. systemd mask links a unit to /dev/null and prevents normal start, unlike simple disablement. ExplanationCorrect Answer A:Supplementary group membership affects discretionary file access after a fresh authentication session. That behavior supports this specific response: Add authorized users to the correct supplementary group and manage the group's directory permissions. A confirming test is: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. Other Answers B:A shell such as /usr/sbin/nologin blocks normal interactive shell access for a designated principal. That concept is relevant instead to: A scheduled service has a named Unix principal but must never provide terminal login. The present case depends on: Supplementary group membership affects discretionary file access after a fresh authentication session. C:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. That concept is relevant instead to: An organization needs immediate local login revocation while retaining a leaver's data for review. The present case depends on: Supplementary group membership affects discretionary file access after a fresh authentication session. D:systemd mask links a unit to /dev/null and prevents normal start, unlike simple disablement. That concept is relevant instead to: A monitoring agent is enabled in policy but systemctl reports the target unit is masked. The present case depends on: Supplementary group membership affects discretionary file access after a fresh authentication session.
Question 320A shared analytics system must allow designated operators access without widening permissions to everyone. What authorized test best demonstrates the expected outcome? Attempt a controlled new login and inspect active sessions, keys and account expiry attributes. Recheck chage output and complete a controlled authentication test after the correction. Locate the true failed ExecStart reason and confirm unit health after a targeted correction. Inspect id -nG for the user after a new login and test allowed versus disallowed file access. ExplanationCorrect Answer D:Inspect id -nG for the user after a new login and test allowed versus disallowed file access. This tests the underlying failure: Supplementary group membership affects discretionary file access after a fresh authentication session. Other Answers A:Password lock and account expiry restrict authentication but existing sessions and authorized keys need attention. That does not establish the required outcome; verify it by checking: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. B:Password aging and account expiration values affect login authorization independently of file ownership. That does not establish the required outcome; verify it by checking: Inspect id -nG for the user after a new login and test allowed versus disallowed file access. C:systemd tracks unit transitions and journal entries associated with managed process execution. That does not establish the required outcome; verify it by checking: Inspect id -nG for the user after a new login and test allowed versus disallowed file access.