Question 310
A desktop application wants authorization to perform a privileged action without running the entire desktop as root. Which framework is suitable?
- Winbind
- Checking the user's rights before allowing an operation
- PAM stack configuration
- Polkit
- Kerberos authentication
Explanation
Correct Answer
D:Polkit mediates policy-based authorization for privileged actions requested by unprivileged processes. Its rules are separate from ordinary filesystem permission bits.
Incorrect Answers
A:Samba's Winbind provides domain user and group resolution and authentication integration; it will not provide authorizing a privileged desktop or service action under these conditions.
B:Authorization evaluates whether an already identified subject is permitted to perform an action; using it would leave authorizing a privileged desktop or service action unresolved.
C:Pluggable Authentication Modules let applications invoke configured authentication, account, session and password modules; the requirement is authorizing a privileged desktop or service action, outside the effect of this choice.
E:Kerberos uses tickets from a trusted key distribution center to authenticate principals to services; the evidence calls for authorizing a privileged desktop or service action, not merely this separate operation.
Question 311
A Linux workstation should obtain time-limited service tickets after a centralized login. Which protocol supplies them?
- Kerberos authentication
- SSSD
- Accounting and audit logging
- LDAP directory queries
Explanation
Correct Answer
A:Kerberos uses tickets from a trusted key distribution center to authenticate principals to services. Synchronized time and realm configuration are essential.
Incorrect Answers
B:The System Security Services Daemon integrates supported identity providers and can cache identity and credentials according to policy; its scope differs from using centralized time-limited service tickets, so it cannot meet the stated requirement.
C:Accounting records actions and associated identities for later review; that is not equivalent to using centralized time-limited service tickets.
D:LDAP provides directory lookups for identities, groups and attributes; the administrator instead needs using centralized time-limited service tickets; this option serves a different purpose.
Question 312
A central login request succeeds but a specific resource remains inaccessible. Which AAA phase should be investigated next?
- getent group domain_group
- Authorization policy
- The matching authentication stack fails
- Kerberos keytab for a service principal
- Samba smbd service
- Accurate host and KDC time synchronization
Explanation
Correct Answer
B:Authentication success proves identity, not access to each resource. Group mappings, ACLs or policy rules may still reject the operation.
Incorrect Answers
A:getent uses NSS lookup rules so the result can include directory-backed groups; that changes a different part of the system; the requested outcome is separating login success from resource permission.
C:pam_deny returns failure and a required failure usually causes the transaction to be rejected; it will not provide separating login success from resource permission under these conditions.
D:A keytab stores cryptographic keys enabling noninteractive Kerberos authentication for an authorized principal; using it would leave separating login success from resource permission unresolved.
E:Samba implements SMB file sharing to Windows and Linux clients; the requirement is separating login success from resource permission, outside the effect of this choice.
F:Kerberos ticket validity windows limit tolerated clock skew to prevent replay; it does not deliver separating login success from resource permission, which is decisive in this scenario.
Question 313
An audit policy file has just been deployed to a Linux server. Before testing an access event, the operator must confirm the rules currently loaded in the kernel audit subsystem, rather than only reading saved configuration. Which command fits?
- auditctl -l
- aureport
- ausearch -m USER_AUTH
- auditctl -D
- cat /etc/audit/rules.d/*.rules
Explanation
Correct Answer
A:auditctl -l lists the active rules maintained by the kernel audit subsystem. It confirms what is presently enforced instead of assuming a saved configuration was loaded.
Incorrect Answers
B:aureport summarizes historical events recorded by the audit subsystem. Report output does not enumerate the rules currently active inside the kernel.
C:ausearch retrieves previously logged audit events matching a message type. It searches event history rather than showing the kernel rule set.
D:auditctl -D removes active audit rules; it is destructive to the current audit policy and is the opposite of a read-only inventory.
E:Reading rules.d files shows proposed or saved persistent policy. Those files may differ from the rules the kernel has actually loaded.
Question 314
A service must authenticate users against centralized directory information and retrieve group memberships. Which protocol is commonly used?
- SSSD
- Winbind
- LDAP directory queries
- Kerberos authentication
Explanation
Correct Answer
C:LDAP provides directory lookups for identities, groups and attributes. It is not inherently a ticket-based single sign-on protocol.
Incorrect Answers
A:The System Security Services Daemon integrates supported identity providers and can cache identity and credentials according to policy; the administrator instead needs querying centralized identity attributes; this option serves a different purpose.
B:Samba's Winbind provides domain user and group resolution and authentication integration; it answers a neighboring question rather than querying centralized identity attributes.
D:Kerberos uses tickets from a trusted key distribution center to authenticate principals to services; this does not achieve querying centralized identity attributes on the system described.
Question 315
A security investigator needs to search a loaded audit log by time, user and event type. Which utility is appropriate?
- rsyslog
- logrotate
- ausearch
- auditd
Explanation
Correct Answer
C:ausearch queries audit records using identifiers and filters. It is more specialized for auditd events than a generic text search.
Incorrect Answers
A:rsyslog processes syslog messages, applies routing rules and can forward them across the network; using it would leave filtering kernel audit records by event fields unresolved.
B:logrotate applies per-log policies for rotation, retention and optional compression; the requirement is filtering kernel audit records by event fields, outside the effect of this choice.
D:auditd receives Linux audit-subsystem events according to configured rules; the evidence calls for filtering kernel audit records by event fields, not merely this separate operation.
Question 316
An administrator needs to separate the concepts of proving who a user is and deciding what they may do. Which action is authorization?
- Checking the user's rights before allowing an operation
- Accounting and audit logging
- LDAP directory queries
- PAM stack configuration
Explanation
Correct Answer
A:Authorization evaluates whether an already identified subject is permitted to perform an action. Authentication establishes identity; accounting records activity.
Incorrect Answers
B:Accounting records actions and associated identities for later review; that is not equivalent to evaluating permitted operations after identity is established.
C:LDAP provides directory lookups for identities, groups and attributes; the administrator instead needs evaluating permitted operations after identity is established; this option serves a different purpose.
D:Pluggable Authentication Modules let applications invoke configured authentication, account, session and password modules; it answers a neighboring question rather than evaluating permitted operations after identity is established.
Question 317
A PAM configuration invokes pam_deny at a stage with a required control flag. What is the likely effect?
- Kerberos keytab for a service principal
- getent group domain_group
- Accurate host and KDC time synchronization
- The matching authentication stack fails
- Samba smbd service
Explanation
Correct Answer
D:pam_deny returns failure and a required failure usually causes the transaction to be rejected. PAM control semantics should be reviewed before editing live login paths.
Incorrect Answers
A:A keytab stores cryptographic keys enabling noninteractive Kerberos authentication for an authorized principal; this does not achieve interpreting a rejecting PAM module on the system described.
B:getent uses NSS lookup rules so the result can include directory-backed groups; it will not provide interpreting a rejecting PAM module under these conditions.
C:Kerberos ticket validity windows limit tolerated clock skew to prevent replay; using it would leave interpreting a rejecting PAM module unresolved.
E:Samba implements SMB file sharing to Windows and Linux clients; it does not deliver interpreting a rejecting PAM module, which is decisive in this scenario.
Question 318
A central domain has nested groups and Linux must resolve group membership through the configured NSS stack. Which lookup command tests the integration?
- getent group domain_group
- Samba smbd service
- Accurate host and KDC time synchronization
- Kerberos keytab for a service principal
Explanation
Correct Answer
A:getent uses NSS lookup rules so the result can include directory-backed groups. It verifies name service integration without reading only local /etc/group.
Incorrect Answers
B:Samba implements SMB file sharing to Windows and Linux clients; the task involves validating directory-backed group resolution, whereas this addresses another subsystem.
C:Kerberos ticket validity windows limit tolerated clock skew to prevent replay; its scope differs from validating directory-backed group resolution, so it cannot meet the stated requirement.
D:A keytab stores cryptographic keys enabling noninteractive Kerberos authentication for an authorized principal; that is not equivalent to validating directory-backed group resolution.
Question 319
A Linux file server must join an Active Directory domain and map domain users for SMB access. Which component commonly integrates these identities?
- Winbind
- Kerberos authentication
- PAM stack configuration
- LDAP directory queries
Explanation
Correct Answer
A:Samba's Winbind provides domain user and group resolution and authentication integration. It is distinct from an ordinary local passwd file.
Incorrect Answers
B:Kerberos uses tickets from a trusted key distribution center to authenticate principals to services; that changes a different part of the system; the requested outcome is mapping Active Directory identities for Samba.
C:Pluggable Authentication Modules let applications invoke configured authentication, account, session and password modules; this does not achieve mapping Active Directory identities for Samba on the system described.
D:LDAP provides directory lookups for identities, groups and attributes; it will not provide mapping Active Directory identities for Samba under these conditions.
Question 320
Log files must rotate by size or schedule and old generations should be compressed. Which tool is designed for this?
- journalctl --since '1 hour ago'
- logrotate
- aureport
- auditd
Explanation
Correct Answer
B:logrotate applies per-log policies for rotation, retention and optional compression. Services may need reopen signals when file handles change.
Incorrect Answers
A:journalctl queries stored systemd journal entries and supports time, unit and priority filters; the requirement is rotating and retaining service log files, outside the effect of this choice.
C:aureport aggregates stored audit events into categories and counts; the evidence calls for rotating and retaining service log files, not merely this separate operation.
D:auditd receives Linux audit-subsystem events according to configured rules; the task involves rotating and retaining service log files, whereas this addresses another subsystem.