Valid 300-300 Exam Q&A PDF 300-300 Dump is Ready (Updated 55 Questions) [Q28-Q47]

Share

Valid 300-300 Exam Q&A PDF 300-300 Dump is Ready (Updated 55 Questions)

Exam Questions and Answers for  300-300 Study Guide


The LPIC-3 Exam 300 is a challenging certification exam that tests an individual's ability to manage and administer Linux systems in mixed environments. Passing 300-300 exam is a testament to an individual's advanced Linux administration skills, and it can lead to new career opportunities and higher salaries. If you are an experienced Linux professional who is looking to demonstrate your proficiency in managing complex, mixed environments, then the LPIC-3 Exam 300 is the certification exam for you.


The LPIC-3 Exam 300: Mixed Environments, version 3.0 is a professional certification exam designed for experienced Linux professionals who want to validate their expertise in mixed environments. 300-300 exam is designed to test the candidate's knowledge and skills in managing and troubleshooting Linux systems in a mixed environment, including Linux and other operating systems such as Windows, macOS, and Unix. The LPIC-3 Exam 300 is one of the three exams that are required to obtain the LPIC-3 certification.

 

NEW QUESTION # 28
Which smbclient invocation displays a list of the available SMB shares on the remote Samba server FileSrv1?

  • A. smbcontrol -L FileSrv1
  • B. smbclient -L FileSrv1
  • C. smbstatus -S FileSrv1
  • D. smbmount -L FileSrv1
  • E. smbshares --server FileSrv1

Answer: B

Explanation:
The smbclient command is used to access shared resources on a network that uses the SMB (Server Message Block) protocol. To list the available SMB shares on a remote Samba server, the correct invocation is smbclient -L <server_name>. Here, -L stands for "list" and <server_name> is the name of the Samba server. Therefore, smbclient -L FileSrv1 will list all the available SMB shares on the server named FileSrv1.
Reference:
smbclient man page
Samba: smbclient Command


NEW QUESTION # 29
Which parameter within a share definition in the Samba configuration makes Samba only show files and directories on a file share which a user can access?

  • A. display mode = 100
  • B. valid files = read,write
  • C. hide unreadable = yes
  • D. browse mask = 000
  • E. browseable = readable

Answer: C

Explanation:
hide unreadable: This smb.conf option ensures that only files and directories that the user has permissions to access are visible in the file share.
Functionality: When set to yes, files and directories that the user cannot read (due to permissions) will be hidden from their view.
Security and Usability: This helps in enhancing both security and usability by preventing users from seeing files they cannot access, reducing clutter and potential confusion.
Example Configuration:
[example_share] hide unreadable = yes
Reference:
Samba smb.conf Documentation


NEW QUESTION # 30
FILL BLANK
What service name must be added to a database entry in /etc/nsswitch.conf to include SSSD as a source of information? (Specify ONLY the service name without any parameters.)

Answer:

Explanation:
sss
Explanation:
Adding SSSD to /etc/nsswitch.conf:
To include SSSD (System Security Services Daemon) as a source of information in the /etc/nsswitch.conf file, the service name sss must be added. This is specified without any parameters. The sss service allows the system to retrieve information from various sources, such as LDAP, Kerberos, and others, as configured in SSSD.
Reference:
SSSD documentation
nsswitch.conf configuration guidelines


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

  • A. profilePath
  • B. driveMap
  • C. logonDrive
  • D. homePath
  • E. autoMount

Answer: A

Explanation:
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.
Reference:
Roaming User Profiles
User Account Properties


NEW QUESTION # 32
What is a correct statement about FreeIPA ID views?

  • A. ID views are the FreeIPA equivalent to Active Directory SIDs.
  • B. ID views always manage IDs from 32768 to 65536.
  • C. ID views specify new values for attributes of a POSIX user or group.
  • D. ID views provide a consecutive numberspace of UIDs and GIDs for FreeIPA users and groups.
  • E. ID views are used to modify sudo rules on a per host base.

Answer: C

Explanation:
In FreeIPA, ID views allow administrators to override default POSIX attributes for users and groups. This feature is useful when integrating with other identity management systems, enabling specific attribute values to be used on a per-host basis. This way, different POSIX attributes can be set for the same user or group in different contexts.
Reference:
FreeIPA: ID Views
FreeIPA Documentation


NEW QUESTION # 33
Which of the following smb.conf options turns a regular file share into a DFS share?

  • A. addfs support = yes
  • B. proxy share = yes
  • C. msdfs root = yes
  • D. follow symlinks = yes
  • E. dfs forward = yes

Answer: C

Explanation:
DFS (Distributed File System): This allows for the organization of shared files on multiple servers in a distributed file system.
msdfs root = yes: This option in the Samba configuration file (smb.conf) enables a share to be a DFS root. This means the share can provide access to multiple other shares possibly located on different servers, creating a single point of access.
Functionality: When enabled, users accessing this DFS root can be redirected transparently to the actual location of the shared files, which might be spread across different servers.
Setup: To configure a DFS root, add msdfs root = yes to the specific share definition in smb.conf.
Reference:
Samba DFS Configuration


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

  • A. When browsing the Samba server, there is no visible share called homes.
  • B. When browsing the Samba server, users can open the homes share but they cannot see the content of their home directories.
  • C. When browsing the Samba server, there is no visible share named after the current user.
  • D. If the Samba server is part of an Active Director/ Domain, only users in the qroup Se3rowsingUsers can browse the homes share.
  • E. The homes share can be directly accessed by specifically opening this share by its UNC path.

Answer: C,E

Explanation:
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.
Reference:
Samba Official Documentation - Home Directories


NEW QUESTION # 35
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:

Explanation:
path
Explanation:
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.
Reference:
Samba smb.conf man page


NEW QUESTION # 36
In an LDIF file using changetype: modify, which of the following options can be used? (Choose two.)

  • A. add
  • B. generate
  • C. overwrite
  • D. patch
  • E. replace

Answer: A,E

Explanation:
In an LDIF file, changetype: modify is used to specify modifications to an existing LDAP entry.
The add option is used to add new attributes or values to an existing attribute.
The replace option is used to replace existing attribute values with new ones.
These options are used to update the directory information according to the LDAP protocol.
Reference:
LDAP modification operations: https://ldap.com/the-ldif-format/
OpenLDAP modify documentation: https://www.openldap.org/doc/admin24/modify.html


NEW QUESTION # 37
In order to generate an individual log file for each of the machines connecting to a Samba server, which of the following statements must be used in the Samba configuration file?

  • A. log file = /var/log/samba/log.%m
  • B. log file = /var/log/samba/log.%c
  • C. log file = /var/log/samba/log.%I
  • D. log file = /var/log/samba/log.%r
  • E. log file = /var/log/samba/log.%M

Answer: A

Explanation:
Individual Log Files:
A . log file = /var/log/samba/log.%m: To generate an individual log file for each machine connecting to a Samba server, the %m variable is used in the log file path. This variable represents the machine name of the connecting client. Thus, the configuration line log file = /var/log/samba/log.%m creates a unique log file for each client machine.
Reference:
Samba smb.conf manual
Logging configurations in Samba


NEW QUESTION # 38
FILL BLANK
What attribute starts the declaration of an object in an LDIF file? (Specify ONLY the attribute name without any values.)

Answer:

Explanation:
dn
Explanation:
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.
Reference:
LDAP documentation: https://ldap.com/ldap-data-interchange-format-ldif/ OpenLDAP LDIF documentation: https://www.openldap.org/doc/admin24/ldif.html


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

  • A. samba-tool domain join samba.private member
  • B. samba-tool member add samba.private
  • C. samba-tool domjoin samba.private
  • D. samba-tool join samba.private member
  • E. samba-tool node set-domain samba.private

Answer: A

Explanation:
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.
Reference:
Samba Wiki - Samba Tool


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

  • A. %r
  • B. %d
  • C. %w
  • D. %G
  • E. %D

Answer: E

Explanation:
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.
Reference:
Samba variables documentation: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html


NEW QUESTION # 41
Which of the following TCP ports is used to provide the SMB protocol without NetBIOS?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

Answer: D

Explanation:
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.
Reference:
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


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

  • A. smbcontrol smbd shutdown
  • B. smbcontrol nmbd shutdown
  • C. smbcontrol samba shutdown
  • D. smbcontrol shutdown
  • E. smbcontrol cifs stop

Answer: A

Explanation:
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).
Reference:
Samba documentation: https://www.samba.org/samba/docs/current/man-html/smbcontrol.1.html


NEW QUESTION # 43
When logging into a windows workstation which is member of an Active Directory domain, which of the following user names refers to the local account bob instead of the domain-wide account bob?

  • A. %bob%
  • B. "bob"
  • C. bob$
  • D. bob@local
  • E. .\bob

Answer: E

Explanation:
When logging into a Windows workstation that is a member of an Active Directory domain, the .\ prefix is used to specify a local user account rather than a domain account. Therefore, to refer to the local account bob, you would use .\bob.
Reference:
How to Log On to Your Computer if You Are a Domain User
Windows Logon Naming Conventions


NEW QUESTION # 44
How is the Global Catalog of an Active Directory domain accessed?

  • A. Through LDAP queries to the ports 3268 (plain text) and 3269 (TLS encrypted).
  • B. Through GCS records in the DNS sub zone _gc in the domain's DNS zone.
  • C. Through LDAP queries to the base dn CN=GC in the standard LDAP directory.
  • D. Through SRV records in the DNS sub zone _msgc in the domain's DNS zone.
  • E. Through the share GCS SMB which is available on each domain controller.

Answer: A

Explanation:
Global Catalog: The Global Catalog is a distributed data repository that contains a searchable, partial representation of every object in every domain in a multi-domain Active Directory forest.
Access Method: It is accessed through LDAP queries to specific ports:
Port 3268: For plain text (unencrypted) LDAP queries.
Port 3269: For LDAP queries encrypted with TLS.
Other Options:
GCS SMB share, GCS records, SRV records, CN=GC in LDAP: These do not provide the correct method to access the Global Catalog.
Reference:
Microsoft Documentation on Active Directory Global Catalog


NEW QUESTION # 45
Which command creates a consistent copy of LDB files?

  • A. tdbbackup
  • B. ldbsync
  • C. smbbackup
  • D. ldbbackup
  • E. samba-backup

Answer: D

Explanation:
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.
Reference:
Samba documentation on ldbbackup
General LDB management guides


NEW QUESTION # 46
Which of the following lines is missing in the given [printers] share definition?

  • A. print script = /usr/bin/lp -d %P %s
  • B. load printers = yes
  • C. print admin = Administrator, root, @lpadmin
  • D. printable = yes
  • E. printcap name = cups

Answer: D

Explanation:
In the context of a Samba configuration for printer shares, the [printers] section usually requires the printable = yes directive to indicate that the share is meant for printing. Without this directive, Samba would not treat the share as a printer share, even if other settings like path are configured properly.
The given snippet is:
The line printable = yes is missing and is essential for defining a printer share.
Reference:
Samba Official Documentation - Printer Sharing


NEW QUESTION # 47
......

Certification dumps - LPIC Level 3 300-300 guides - 100% valid: https://www.prep4pass.com/300-300_exam-braindumps.html

100% Pass Your 300-300 LPIC-3 Exam 300: Mixed Environments, version 3.0 at First Attempt with Prep4pass: https://drive.google.com/open?id=1iVmaOgPrhYV2ohf36cOv2SaD9mBPV2KF