LPI - Limited Time Discount Offer - Ends In 1d 00h 00m 00s Coupon code: Y2430OFF
  1. Home
  2. LPI
  3. 300-300 Dumps
  4. Free 300-300 Questions

Free 300-300 Questions for LPI 300-300 Exam as PDF & Practice Test Software

Page:    1 / 14   
Total 53 questions

Question 1

FILL BLANK

What command checks the Samba configuration file for syntactical correctness? (Specify ONLY the command without any path or parameters.)



Answer : A

Purpose of the Command: testparm is used to check the Samba configuration file (smb.conf) for syntax errors.

Command

Running testparm will read the smb.conf file, parse it, and display any syntax errors or warnings. This helps ensure that the configuration is valid before restarting the Samba service.

Usage Example:

Simply execute testparm in the terminal, and it will automatically check the default configuration file.


Samba.org - testparm

Question 2

Which of the following statements is true regarding Samba 4?



Answer : C

Samba 4 Features: Samba 4 introduces major enhancements over Samba 3, including the ability to function as an Active Directory (AD) Domain Controller.

Capability as AD Controller:

Samba 4 includes support for AD protocols, allowing it to manage domain users and computers similar to a Windows AD server.

Incorrect Statements Clarified:

Samba 4 is a significant update with new features.

Windows clients can connect to Samba 4 servers.

Samba 4 does not include a proprietary file system called sambafs.

Samba 4 can integrate with existing AD domains.


Samba Wiki - Samba4

Question 3

How is Samba instructed to read its entire configuration from the registry?



Answer : B

Configuration Backend: Samba can be configured to read its settings from various backends, including the Windows registry.

Setting the Backend:

Adding config backend = registry in the [global] section of smb.conf instructs Samba to use the registry for its configuration.

Implementation Steps:

Open the smb.conf file.

Add the line config backend = registry under the [global] section.

Restart the Samba services to apply the changes.


Samba Wiki - Configuration

Question 4

Which of the following commands terminates all running instances of the Samba daemon handling for SMB shares?



Answer : D

Samba is a suite of programs that allows SMB/CIFS clients to interact with file and print services on a Linux/UNIX server.

smbd is the Samba daemon responsible for handling SMB/CIFS requests.

The smbcontrol utility is used to send messages to running Samba daemons.

The correct way to terminate all running instances of the Samba daemon handling SMB shares is to send a shutdown message to smbd using the command smbcontrol smbd shutdown.

This command ensures that only the smbd processes, which are responsible for handling SMB shares, are terminated without affecting other Samba components like nmbd (NetBIOS name server daemon).


Samba documentation: https://www.samba.org/samba/docs/current/man-html/smbcontrol.1.html

Question 5

Which of the following TCP ports is used to provide the SMB protocol without NetBIOS?



Answer : E

The SMB protocol (Server Message Block) is used for providing shared access to files and printers.

Historically, SMB ran on top of NetBIOS over TCP/IP using port 139.

SMB can also run directly over TCP/IP without the NetBIOS layer, which uses port 445.

Therefore, TCP port 445 is used to provide the SMB protocol without NetBIOS.


Official IANA port numbers: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

Microsoft documentation on SMB: https://docs.microsoft.com/en-us/windows/win32/fileio/microsoft-smb-protocol-and-cifs-protocol-overview

Page:    1 / 14   
Total 53 questions