Free LPI 300-300 Exam Actual Questions

The questions for 300-300 were last updated On Nov 17, 2024

Question No. 1

FILL BLANK

What service name must be added to a database entry in /etc/nsswitch.conf to include SSSD as a source of information? (Specify ONLY the service name without any parameters.)

Show Answer Hide Answer
Correct Answer: A

Adding SSSD to /etc/nsswitch.conf:

To include SSSD (System Security Services Daemon) as a source of information in the /etc/nsswitch.conf file, the service name sss must be added. This is specified without any parameters. The sss service allows the system to retrieve information from various sources, such as LDAP, Kerberos, and others, as configured in SSSD.


SSSD documentation

nsswitch.conf configuration guidelines

Question No. 2

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

Show Answer Hide Answer
Correct Answer: C

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.


Microsoft Docs - FSMO Roles

Question No. 3

Which of the following lines is missing in the given [printers] share definition?

Show Answer Hide Answer
Correct Answer: B

In the context of a Samba configuration for printer shares, the [printers] section usually requires the printable = yes directive to indicate that the share is meant for printing. Without this directive, Samba would not treat the share as a printer share, even if other settings like path are configured properly.

The given snippet is:

The line printable = yes is missing and is essential for defining a printer share.


Samba Official Documentation - Printer Sharing

Question No. 4

Which of the following smb.conf options turns a regular file share into a DFS share?

Show Answer Hide Answer
Correct Answer: A

DFS (Distributed File System): This allows for the organization of shared files on multiple servers in a distributed file system.

msdfs root = yes: This option in the Samba configuration file (smb.conf) enables a share to be a DFS root. This means the share can provide access to multiple other shares possibly located on different servers, creating a single point of access.

Functionality: When enabled, users accessing this DFS root can be redirected transparently to the actual location of the shared files, which might be spread across different servers.

Setup: To configure a DFS root, add msdfs root = yes to the specific share definition in smb.conf.


Samba DFS Configuration

Question No. 5

Which of the following statements is true about raw printing with Samba?

Show Answer Hide Answer
Correct Answer: E

Client-Side Rendering: In Samba, raw printing means that the client machine renders the print job, which includes converting it to a printer-ready format.

Transmission to Printer: This rendered print job is then sent to the Samba server without further processing or alteration. Samba acts merely as a pass-through, sending the job directly to the printer.

Advantages: This method offloads the rendering process from the server to the client, which can be beneficial in environments with diverse printer types and models, reducing the processing load on the server.

Conclusion: Thus, the correct answer is that printing jobs are rendered on the client and passed on to the printer by Samba.


Samba Printing Documentation