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

Page: 1 / 14
Total 53 questions
Question 1

Which of the following names identify services within a SSSD configuration file? (Choose three.)



Answer : A, D, E

In the SSSD (System Security Services Daemon) configuration file, various services can be defined to handle different types of access and authentication. The services listed in the SSSD configuration file under the [sssd] section can include:

kerberos: This service allows SSSD to handle Kerberos authentication.

nss (Name Service Switch): This service provides name resolution and manages user and group information.

sudo: This service enables SSSD to provide sudo rules based on the identity provider.

These services are specified in the services attribute of the [sssd] section of the sssd.conf file.

Example:

[sssd] services = nss, pam, sudo domains = LDAP [nss] filter_users = root filter_groups = root [sudo] sudo_provider = ldap


SSSD Services

SSSD Man Pages

Question 2

Which of the following commands can be used to join the local Samba server as a member to the domain samba.private?



Answer : C

Understanding Samba Domain Join: Joining a Samba server to a domain allows it to authenticate and provide resources to users of that domain.

Command Breakdown: The correct command format for joining a Samba server as a member of a domain involves the 'domain join' action followed by the domain name and the role. In this case, 'samba.private' is the domain name, and 'member' specifies the role.

Command

samba-tool domain join samba.private member:

samba-tool: A command-line utility for managing Samba.

domain join: Specifies the action of joining a domain.

samba.private: The domain to join.

member: The role within the domain.


Samba Wiki - Samba Tool

Question 3

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



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 4

Which parameter in a user object defines on which share the user's roaming profile is stored?



Answer : C

The profilePath parameter in a user object specifies the path to the user's roaming profile. A roaming profile is a feature in Windows that allows user profile data to be stored on a network share so that users can access their profiles from any workstation within the network. By setting the profilePath, administrators can define where on the network the profile data is stored.


Roaming User Profiles

User Account Properties

Question 5

FILL in BLANK

What option in sms.conf defines where the data of a file share is stored? (Specify ONLY the option name without any values.)



Answer : A

path Option: This parameter in smb.conf specifies the directory on the server where the shared data is stored.

Usage: Within a share definition, the path option points to the actual location on the filesystem that Samba will share.

Example Configuration:

[example_share] path = /srv/samba/share

Importance: Defining the correct path is crucial for ensuring that the share points to the intended directory with the appropriate data and permissions.


Samba smb.conf man page

Question 6

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 7

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