CompTIA Linux+ XK0-006 (V8) Practice Question

A RHEL 9 server has been joined to the corp.example.com Active Directory realm with realmd, and domain users are authenticating through SSSD. A new policy states that only members of the AD security group LinuxAdmins may obtain an interactive login on this host. The control must be implemented in SSSD (not in PAM or sshd).

Which modification to /etc/sssd/sssd.conf will enforce the requirement after the file is saved and SSSD is restarted?

  • Add simple_allow_groups = LinuxAdmins in the domain stanza and leave the existing access_provider unchanged

  • Under [domain/corp.example.com] add: access_provider = ad ad_access_filter = (memberOf=CN=LinuxAdmins,OU=Groups,DC=corp,DC=example,DC=com)

  • Set enumeration = true in the [sssd] section so SSSD can list the LinuxAdmins group

  • Disable credential caching by setting cache_credentials = false in the [sssd] section

CompTIA Linux+ XK0-006 (V8)
Security
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot