LPI 300-300 practice test

Exam Title: LPIC-3 Mixed Environments

Last update: Nov 27 ,2025
Question 1

Which of the following are valid Samba backends to store user and group information? (Choose two.)

  • A. sdb
  • B. smbpasswd
  • C. ldapsam
  • D. krb
  • E. smb
Answer:

B, C


Explanation:
smbpasswd: This backend uses the smbpasswd file to store user and group information. It is a simple
plaintext file format that holds password hashes and other account information.
ldapsam: This backend utilizes LDAP (Lightweight Directory Access Protocol) to store user and group
information. LDAP is a more scalable and flexible option suitable for larger environments.
Other Options:
sdb, krb, smb: These are not valid Samba backends for storing user and group information.
Reference:
Samba User and Group Database Backends

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 2

How is the Global Catalog of an Active Directory domain accessed?

  • A. Through LDAP queries to the ports 3268 (plain text) and 3269 (TLS encrypted).
  • B. Through the share GCS SMB which is available on each domain controller.
  • C. Through GCS records in the DNS sub zone _gc in the domain's DNS zone.
  • D. Through LDAP queries to the base dn CN=GC in the standard LDAP directory.
  • E. Through SRV records in the DNS sub zone _msgc in the domain's DNS zone.
Answer:

A


Explanation:
Global Catalog: The Global Catalog is a distributed data repository that contains a searchable, partial
representation of every object in every domain in a multi-domain Active Directory forest.
Access Method: It is accessed through LDAP queries to specific ports:
Port 3268: For plain text (unencrypted) LDAP queries.
Port 3269: For LDAP queries encrypted with TLS.
Other Options:
GCS SMB share, GCS records, SRV records, CN=GC in LDAP: These do not provide the correct method
to access the Global Catalog.
Reference:
Microsoft Documentation on Active Directory Global Catalog

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 3

Which of the following Samba commands provides comprehensive information and status flags on
the user candidate?

  • A. smbpasswd -l -u candidate
  • B. net sam show candidate
  • C. pdbedit -v -u candidate
  • D. samba-tool user list
  • E. getent smbpasswd candidate
Answer:

C


Explanation:
pdbedit: This Samba command is used to manage the user accounts stored in the Samba password
database.
-v: The verbose option provides detailed information.
-u candidate: Specifies the user for which to display the information.
Other Commands:
smbpasswd, net sam show, samba-tool user list, getent smbpasswd: These commands do not
provide the same comprehensive information and status flags as pdbedit.
Reference:
Samba pdbedit Documentation

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 4

Which service unifies Linux and Windows account management by allowing a Linux system to
include Windows domain users in the Linux user database?

  • A. smbpasswdd
  • B. sudo
  • C. NIS
  • D. Winbind
  • E. OpenLDAP
Answer:

D


Explanation:
Winbind: This service is used to unify Linux and Windows account management by allowing a Linux
system to include Windows domain users in the Linux user database.
Functionality: Winbind enables Linux systems to retrieve user and group information from a
Windows NT-based domain or Active Directory.
Other Services:
smbpasswdd, sudo, NIS, OpenLDAP: These services do not provide the same functionality for
unifying account management between Linux and Windows.
Reference:
Samba Winbind Documentation

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 5

Which group of commands manages the directory replication in an active directory domain?

  • A. samba-tool repl
  • B. samba-tool directory
  • C. samba-tool drs
  • D. samba-tool domain
  • E. samba-tool sync
Answer:

C


Explanation:
samba-tool drs: This set of commands is used to manage directory replication in an Active Directory
domain. DRS stands for Directory Replication Service.
Functionality: It provides various subcommands to monitor, manage, and troubleshoot replication
issues.
Other Commands:
samba-tool repl, directory, domain, sync: These do not specifically manage directory replication in
the same way as samba-tool drs.
Reference:
Samba DRS Command Documentation

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 6

FILL BLANK
Which sub command of net groups commands related to an AD membership, as in the following
example? (Specify ONLY the subcommand without any path or parameters.)
net ___ join

Answer:

ads


Explanation:
The net command is used to administer Samba and Windows servers. The subcommand ads is used
in conjunction with the join command to join a Samba server to an Active Directory domain. The
correct subcommand that fits the pattern net ___ join is ads.
Reference:
Samba net command man page

vote your answer:
Comments
Question 7

Which option in smb.conf defines the domain of which the server is a member?

  • A. ad
  • B. member domain
  • C. basedn
  • D. domain
  • E. realm
Answer:

E


Explanation:
In smb.conf, the realm option specifies the Kerberos realm for the Active Directory of which the
server is a member. This option is crucial for integrating the Samba server into an AD environment.
Reference:
Samba smb.conf man page - realm

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 8

Which of the following groups exists by default in an Active Directory domain?

  • A. Domain Administrators
  • B. Domain Users
  • C. Domain 31aclclisc
  • D. Domain Update Role Accounts
  • E. Unassigned Users
Answer:

B


Explanation:
In an Active Directory domain, the Domain Users group exists by default. This group includes all user
accounts created in the domain and is commonly used for assigning permissions and rights to all
users.
Reference:
Microsoft Docs - Active Directory Default Groups

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 9

Which of the following FSMO roles exist? (Choose two.)

  • A. File Server
  • B. Directory Server
  • C. PDC Emulator
  • D. RID Master
  • E. Global Catalog
Answer:

C


Explanation:
Flexible Single Master Operations (FSMO) roles, also known as operations master roles, are
specialized domain controller tasks in an Active Directory environment. The FSMO roles include:
C . PDC Emulator
The Primary Domain Controller (PDC) Emulator is responsible for synchronizing time and managing
password changes.
D . RID Master
The Relative ID (RID) Master allocates blocks of RIDs to each domain controller in the domain.
Reference:
Microsoft Docs - FSMO Roles

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 10

When using rsync to synchronize the SYSVOL share's contents between multiple Samba servers,
which of the following precautions should be taken? (Choose three.)

  • A. Synchronize from the domain controller which is the PDC emulator to the other domain controllers.
  • B. Overwrite the permissions of all files in the SYSVOL directory to be readable by root only after each sync.
  • C. Make the SYSVOL share read only on all domain controllers but the one used as synchronization source.
  • D. Make sure that the SYSVOL share is active on only one domain controller.
  • E. Make sure to make all changes to GPOs on the domain controller which is the replication source.
Answer:

A, C, E


Explanation:
When using rsync to synchronize the SYSVOL share's contents between multiple Samba servers, it's
essential to ensure data consistency and avoid conflicts. The following precautions should be taken:
A . Synchronize from the domain controller which is the PDC emulator to the other domain
controllers.
The PDC emulator is typically the authoritative source for certain domain-wide operations, making it
the best source for SYSVOL synchronization.
C . Make the SYSVOL share read only on all domain controllers but the one used as synchronization
source.
This prevents changes on other domain controllers that could cause inconsistencies.
E . Make sure to make all changes to GPOs on the domain controller which is the replication source.
Ensuring that all Group Policy Objects (GPOs) changes are made on the source controller prevents
conflicts and ensures that all controllers have the latest configuration.
Reference:
Samba Documentation - SYSVOL Replication

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Page 1 out of 5
Viewing questions 1-10 out of 53
Go To
page 2