Lpi 300-300 Practice Exams
Last updated on Oct 21,2026- Exam Code: 300-300
- Exam Name: LPIC-3: Mixed Environments - Exam 300, version 3.0
- Certification Provider: Lpi
- Latest update: Oct 21,2026
Which of the following ports are open by default on a Samba 4 Active Directory Domain Controller? (Choose three.)
- A . 443/TCP
- B . 138/TCP
- C . 389/TCP
- D . 445/TCP
- E . 53/TCP
Which command allows you to query and modify the Samba password database interactively?
- A . smbpasswd
- B . tdbquery
- C . tdbedit
- D . passman
What is true regarding the users listed in the option write list in a share declaration?
- A . All users listed in write list can write to the share no matter of the Linux file systems permissions of the share.
- B . Given sufficient Linux file system permissions, all users listed in the write list are allowed to write to the share.
- C . In case read only = yes is set for the share, even the users in write list are denied write access to the share.
- D . Given sufficient Linux file systems permissions, only those users listed in write list can write to the share that are listed in read list too.
Which directive in the smb.conf of a Samba 4 Active Directory Domain Controller specifies the name of the Active Directory Domain? (Specify only the option without any values or parameters)
Which commands can be used to terminate all running instances of smbd?
- A . smbcontrol smbd shutdown
- B . smbcontrol nmbd shutdown
- C . smbcontrol shutdown
- D . smbcontrol samba shutdown
Which of the following keywords are module types for PAM? (Choose three.)
- A . cache
- B . authentication
- C . password
- D . session
- E . account
C, D, E
Explanation:
Pluggable Authentication Modules (PAM) provides a system of libraries that handle the authentication tasks of applications (services) on a Linux system. These libraries are loaded dynamically and can be configured in the /etc/pam.d directory or in /etc/pam.conf.
The PAM modules are divided into four types:
auth (authentication): This module type is responsible for authenticating the user, setting up user credentials, and initiating a session.
account: This module type manages account policies such as password expiration, access restrictions, and checking user permissions.
password: This module type handles the updating of authentication tokens, such as passwords.
session: This module type manages tasks that need to be performed at the beginning and end of a session, like mounting directories or logging.
Reference: Linux PAM Documentation
Understanding PAM
How can administrators apply GPOs to machines or users in an Active Directory domain?
- A . By manually editing the Windows Registry.
- B . By configuring user permissions in the GPO settings.
- C . By linking GPOs to organizational units (OUs) in Active Directory.
- D . GPOs are automatically applied to all domain objects.
In which section of the smb.conf configuration file is the logon script file name specified?
- A . [homes]
- B . [netlogon]
- C . [global]
- D . [profiles]
When logging into a windows workstation which is member of an Active Directory domain, which of the following user names refers to the local account bob instead of the domain-wide account bob?
- A . bob@local
- B . %bob%
- C . .bob
- D . "bob"
- E . bob$
C
Explanation:
When logging into a Windows workstation that is a member of an Active Directory domain, the . prefix is used to specify a local user account rather than a domain account. Therefore, to refer to the local account bob, you would use .bob.
Reference: How to Log On to Your Computer if You Are a Domain User Windows Logon Naming Conventions
After configuring a Unix client to authenticate with a Microsoft Active Directory server, login attempts are unsuccessful.
Which of the following is most likely the cause?
- A . Unix Client support is disabled in the Active Directory configuration.
- B . The PAM library is searching the directory with the default search filter.
- C . The slapd daemon is not running on the client.
- D . The user account in the Active Directory has the remote login setting disabled.