CompTIA certification · Exam XK0-006

XK0-006 Mock Exam

CompTIA Linux+ V8

Free XK0-006 questions on Services and User Management, each with the answer and an explanation.

20 questions · 21 minutes · free, no sign-up

Services and User Management questions

1–1 of 1 free
Question 1 Choose 1
A Linux user needs to authenticate to a Windows Active Directory domain. Which of the following configuration files contains the domain configuration details?
Show answerHide answer

Correct answer: A sssd.conf

Explanation

Explanation:
When a Linux user authenticates to an Active Directory domain using modern methods (such as SSSD - System Security Services Daemon), the domain configuration details are stored in sssd.conf. This file contains AD server addresses, domain names, and authentication parameters.

Correct Option:

A. sssd.conf
The /etc/sssd/sssd.conf file configures SSSD, which caches AD credentials and handles Kerberos/LDAP authentication. It includes domain sections specifying AD domain controllers, LDAP search bases, and authentication providers. SSSD is the recommended method for integrating Linux with Active Directory for centralized authentication.

Incorrect Options:

B. krb5.conf –
This file configures Kerberos realms and KDC servers. While Kerberos is used by AD, krb5.conf alone does not contain complete domain configuration details (e.g., LDAP, password policies). It is a component but not the primary domain configuration file for Linux AD authentication.

C. pam.conf –
The Pluggable Authentication Modules configuration file defines authentication rules (which modules to call). It does not contain domain configuration details (server IPs, domain names). It references SSSD but does not store the configuration itself.

D. smb.conf –
This file configures Samba (file sharing and legacy domain membership). For modern Linux AD authentication using SSSD, smb.conf is not the primary domain configuration file.

Reference:
Red Hat Enterprise Linux Documentation – "Configuring SSSD for Active Directory"
man sssd.conf – SSSD configuration file reference

That's the last free question in Services and User Management

You've seen the free 30% (1 of 4 questions). Full access unlocks every question and full-length XK0-006 mock exams (87 questions, 90 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the XK0-006 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real XK0-006 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full XK0-006 mock exam
  • 87questions per mock
  • 90 mintime limit
  • 150questions in the bank
  • Newmock on every attempt