LPI 300-300 LPIC-3: Mixed Environments - Exam 300 - version 3.0 Exam Practice Test

Page: 1 / 14
Total 53 questions
Question 1

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 2

In a Samba configuration file, which of the following variables represents the domain of the current user?



Answer : A

In a Samba configuration file, variables can be used to represent dynamic values.

The %D variable represents the domain of the current user.

This variable can be used in various configuration directives to customize the behavior of Samba services based on the user's domain.


Samba variables documentation: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html

Question 3

Which of the following commands connects to the share Share on the Windows Server 2012 R2 server fs1 using the SMB3 protocol?



Answer : B

To connect to a share on a Windows server using the SMB3 protocol, the smbclient command with the --max-protocol option should be used. The --max-protocol option allows you to specify the highest SMB protocol version that should be used. Therefore, the correct command is smbclient --max-protocol SMB3 //fs1/Share.


smbclient man page

Samba: smbclient Command Options

Question 4

FILL BLANK

What attribute starts the declaration of an object in an LDIF file? (Specify ONLY the attribute name without any values.)



Answer : A

An LDIF (LDAP Data Interchange Format) file is used to represent directory entries in LDAP (Lightweight Directory Access Protocol).

Each entry in an LDIF file starts with the dn (Distinguished Name) attribute, which uniquely identifies the entry in the directory.

The dn attribute is mandatory and specifies the path to the entry within the LDAP directory.


LDAP documentation: https://ldap.com/ldap-data-interchange-format-ldif/

OpenLDAP LDIF documentation: https://www.openldap.org/doc/admin24/ldif.html

Question 5

Which of the following commands sets up Samba 4 as an Active Domain Directory Controller for a new domain?



Answer : C

samba-tool domain provision: This command sets up Samba 4 as an Active Directory Domain Controller.

Process:

Run samba-tool domain provision to start the setup.

Follow the prompts to specify the domain name, administrator password, and other required information.

Outcome: This command initializes the Samba server as a new domain controller for a new domain, configuring the necessary services and databases.


Samba Active Directory Domain Controller

Question 6

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 7

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

Page:    1 / 14   
Total 53 questions