LPIC-3: Mixed Environments - Exam 300 - version 3.0 300-300 Exam Questions

Page: 1 / 14
Total 53 questions
Question 1

Which of the following options can be used to limit access to a Samba share? (Choose two.)



Answer : C, D

To limit access to a Samba share, the valid users and valid groups options can be used. These directives specify which users or groups are allowed to access the share.

C . valid groups

This option restricts access to members of specified Unix groups.

D . valid users

This option restricts access to specified Unix users.


Samba smb.conf man page

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 Samba utility, when launched with the appropriate parameters, generates the following output?



Answer : A

The smbcacls utility is used to manage Windows ACLs on Samba shares. The output format shown in the image suggests it relates to detailed ACL information, which is typically generated by smbcacls.


Samba smbcacls man page

Question 4

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



Answer : B

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.


Microsoft Docs - Active Directory Default Groups

Question 5

Which command creates a consistent copy of LDB files?



Answer : C

Consistent Copy of LDB Files:

C . ldbbackup: The ldbbackup command is used to create a consistent copy of LDB files. LDB files are used by Samba to store data in a database format. The ldbbackup utility ensures that the data is copied in a consistent state, which is crucial for backup and recovery processes.


Samba documentation on ldbbackup

General LDB management guides

Question 6

The [homes] section of smb.conf contains the parameter browseable = no. What are the resulting consequences? (Choose two.)



Answer : A, D

When browseable = no is set in the [homes] section of smb.conf, it prevents the share from appearing in the list of available shares when users browse the server. However, users can still access their home directories if they specify the correct UNC path directly.

A . When browsing the Samba server, there is no visible share named after the current user.

The share will not appear in the list of shares visible to the user during browsing.

D . The homes share can be directly accessed by specifically opening this share by its UNC path.

Users can still access the share by directly typing the path in the form \\servername\username.


Samba Official Documentation - Home Directories

Question 7

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



Answer : A, C, E

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.


Samba Documentation - SYSVOL Replication

Page:    1 / 14   
Total 53 questions