LPI 300-100 practice test

LPIC-3 (300) Mixed Environments Exam

Last exam update: Nov 16 ,2024
Page 1 out of 9. Viewing questions 1-15 out of 145

Question 1

Which of the following commands converts user accounts from the smbpasswd to the passdb.tdb
backend?

  • A. pdbedit –i smbpasswd:smbpasswd –e tdbsam:passdb.tdb
  • B. pdbedit –f smbpasswd –t passdb.tdb
  • C. tdbtool –i smbpasswd:smbpasswd >passdb.tdb
  • D. smbpasswd –e tdbsam:passdb.tdb <smbpasswd
  • E. tdbrestore –i smbpasswd:smbpasswd – o passdb.tdb
Answer:

A


User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 2

Which service unifies Linux and Windows account management by allowing a Linux system to
include Windows domain users in the Linux user database?

  • A. Winbind
  • B. PAM
  • C. NIS
  • D. OpenLDAP
Answer:

A


Explanation:
Samba winbind provides a unified login experience between UNIX or Linux and Windows systems by
letting users log on to a UNIX or Linux host by using Windows domain credentials.

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 3

What must be done to ensure the Samba password is kept synchronized when a user changes their
Linux password?

  • A. Samba and linux passwords can only be kept in sync when Samba uses the passwdsam password backend, which reads the password from /etc/passwd.
  • B. /usr/bin/passwd should be replaced by a symlink to /usr/bin/smbpasswd.
  • C. In /etc/nsswitch.conf, the samba service should be added to password and shadow before the file service.
  • D. pam_smbpass.so should be added to the password type of the appropriate PAM configuration.
  • E. Winbindd must be running on the Linux server in order to replicate the password changes back to Samba.
Answer:

D


User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 4

Which of the following statements are true regarding the smbpasswd command? (Choose two.)

  • A. The –d parameter deletes an account from the Samba database.
  • B. The a parameter adds an account to the Samba database. If the account already exists, this parameter is ignored.
  • C. The –x parameter removes an account from the Samba database.
  • D. The –e parameter excludes an account from the Samba database.
  • E. smbpasswd changes only passwords stored on Samba domain controllers and not on DCs running Windows.
Answer:

B,C


User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 5

Which of the following Linux commands can be used to log into a remote Microsoft Windows server
using RDP?

  • A. rlogin
  • B. rdesktop
  • C. ssh
  • D. Xnest
  • E. rpcdesktop
Answer:

B


User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 6

Which command with Samba 3 would be used to search for all available workgroups/domains and
NetBIOS names?

  • A. nmblookup
  • B. findsmb
  • C. smbget
  • D. winbrowse
Answer:

B


User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 7

Which port must be open in a firewall to allow access to the Remote Desktop Protocol (RDP) server
running on the standard port?

Answer:

3389


User Votes:
Discussions
vote your answer:
0 / 1000

Question 8

Which option is used when running smbclient with a file containing user credentials?

  • A. -F
  • B. -c
  • C. -s
  • D. -A
Answer:

D


User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 9

Which of the following commands executes a recursive download of the src share located in a Samba
server named SOURCES, assuming that this server allows anonymous users?

  • A. smbget -R smB. //sources/src
  • B. wget -R smB. //sources/src
  • C. curl -R cifs: //sources/src
  • D. smbmirror //sources/src
Answer:

A


User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 10

On the Linux command line, which of the following Samba tools lists the available domains, servers
and shares?

  • A. samba-tool forrest list
  • B. smbtree
  • C. smbexplore
  • D. ip neighbor show
  • E. pathbrowse
Answer:

B


User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 11

After adding a remote CIFS share to /etc/fstab, the share is mounted to the correct place in the file
system. There, all files belong to the user and group root and are not read- or writable to any other
users in the system. What should be done in order to permit a distinct local user access to the
mounted files?

  • A. The option root squash = yes should be added to the share in the Samba servers smb.conf to allow full access by the client.
  • B. The mount.cifs options uid, gid, file_mode and dir_mode should be used to specify the ownership and permissions of the mount.
  • C. The user should be added to the local user group smbusers as mount.cifs by default restricts access to all CIFS mounts to members of this group in addition to the root account.
  • D. The mount.cifs command must always be executed by the user who should use the mount afterwards. The user should be granted the required permission in /etc/sudoers.
Answer:

B


User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 12

Which option to mount.cifs specifies a file that contains the user name, password and domain that
should be used for authentication against the server during the mount? (Specify only the option
without any values or parameters)

Answer:

credentials


User Votes:
Discussions
vote your answer:
0 / 1000

Question 13

Which command in the Samba suite provides a means of manipulating NT Quotas on Samba file
shares? (Specify only the command with no arguments or options)

Answer:

smbcquotas


User Votes:
Discussions
vote your answer:
0 / 1000

Question 14

The showmount command will list the available NFS shares on a server. What command will provide
the same information on a Samba server named FileSrv1?

  • A. smbcontrol -L FileSrv1
  • B. smbclient -N FileSrv1
  • C. smbclient -L FileSrv1
  • D. smbmount -L FileSrv1
Answer:

C


User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 15

A Samba 4 server provides DNS information regarding an Active Directory Domain. All other DNS
information is provided by another DNS server. Which of the following solutions ensures that the
clients of the Samba server can look up all DNS records including those from the domain?

  • A. The additional DNS server is configured in the file /etc/resolv.conf on the Samba server and the option dns forwarder = yes is set in smb.conf.
  • B. The additional DNS server is configured in the option dns forwarder in smb.conf. All clients query the Samba server for any DNS information.
  • C. Both the Samba server and the additional DNS server are configured on the clients. It is ensured that the Samba server is listed first in each client's resolv.conf.
  • D. All clients are configured to send DNS queries to the additional DNS server only. The Samba servers smb.conf contains the option wins dns proxy = yes to provide all domain-related naming information via NetBIOS name service independently from DNS.
Answer:

B


User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000
To page 2