LPI - Celebrate 2025 with Discount Offer - Ends In 1d 00h 00m 00s Coupon code: Y2530OFF
  1. Home
  2. LPI
  3. 300-300 Dumps
  4. Free 300-300 Questions

Free Practice Questions for LPI 300-300 Exam

Pass4Future also provide interactive practice exam software for preparing LPIC-3: Mixed Environments - Exam 300 - version 3.0 (300-300) Exam effectively. You are welcome to explore sample free LPI 300-300 Exam questions below and also try LPI 300-300 Exam practice test software.

Page:    1 / 14   
Total 53 questions

Question 1

Which parameters are available for samba-tool group add? (Choose two.)



Answer : D, E

The samba-tool group add command is used to add a new group to the Samba Active Directory. This command has several parameters to customize the group creation process. Two of the available parameters are --sid and --group-type.

--sid:

The --sid parameter allows you to specify a Security Identifier (SID) for the new group.

Example usage:

samba-tool group add mygroup --sid=S-1-5-21-1234567890-123456789-1234567890-1234

This command will create a new group named mygroup with the specified SID.

--group-type:

The --group-type parameter allows you to specify the type of the group being created. This can be a security group or a distribution group.

Example usage:

samba-tool group add mygroup --group-type=security

This command will create a new security group named mygroup.


Samba Official Documentation: samba-tool

Samba Active Directory Management: Managing Groups

Question 2

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 3

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 4

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 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