ExamGecko
Home Home / LPI / 300-300

LPI 300-300 Practice Test - Questions Answers, Page 5

Question list
Search
Search

List of questions

Search

Related questions











Given a proper network and name resolution setup, which of the following commands establishes a trust between a FreeIPA domain and an Active Directory domain?

Choose the correct answer

A.
trustmanager add --domain ad://addom --user Administrator -w
A.
trustmanager add --domain ad://addom --user Administrator -w
Answers
B.
ipa-ad --add-trust --account ADDOM\Administrator --query-password
B.
ipa-ad --add-trust --account ADDOM\Administrator --query-password
Answers
C.
net ad ipajoin addom -U Administrator -p
C.
net ad ipajoin addom -U Administrator -p
Answers
D.
ipa trust-add --type ad addom --admin Administrator --password
D.
ipa trust-add --type ad addom --admin Administrator --password
Answers
E.
ipa ad join addom -U Administrator -W
E.
ipa ad join addom -U Administrator -W
Answers
Suggested answer: D

Which Samba utility, when launched with the appropriate parameters, generates the following output?

^^img src="LPI 300-300 Online Practice Test (6_4_2024 5_42_04 PM)_images/4.png"^!^

Choose the correct answer

A.
smbcacls
A.
smbcacls
Answers
B.
smbclient
B.
smbclient
Answers
C.
getfacl
C.
getfacl
Answers
D.
smbxattr
D.
smbxattr
Answers
E.
smbfacl
E.
smbfacl
Answers
Suggested answer: A

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

Choose the correct answer

A.
untrusted users
A.
untrusted users
Answers
B.
write list
B.
write list
Answers
C.
valid groups
C.
valid groups
Answers
D.
valid users
D.
valid users
Answers
E.
accept list
E.
accept list
Answers
Suggested answer: C, D

In case the following parameters are set in a Samba file share configuration:

create mask = 711

force create mode = 750

What are the effective permissions of a file created with the permissions 777?

Choose the correct answer

A.
066
A.
066
Answers
B.
027
B.
027
Answers
C.
777
C.
777
Answers
D.
761
D.
761
Answers
E.
751
E.
751
Answers
Suggested answer: E

Which of the following are valid Samba backends to store user and group information? (Choose two.)

Choose the correct answer

A.
sdb
A.
sdb
Answers
B.
smbpasswd
B.
smbpasswd
Answers
C.
ldapsam
C.
ldapsam
Answers
D.
krb
D.
krb
Answers
E.
smb
E.
smb
Answers
Suggested answer: B, C

How is the Global Catalog of an Active Directory domain accessed?

Choose the correct answer

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

Which of the following Samba commands provides comprehensive information and status flags on the user candidate?

Choose the correct answer

A.
smbpasswd -l -u candidate
A.
smbpasswd -l -u candidate
Answers
B.
net sam show candidate
B.
net sam show candidate
Answers
C.
pdbedit -v -u candidate
C.
pdbedit -v -u candidate
Answers
D.
samba-tool user list
D.
samba-tool user list
Answers
E.
getent smbpasswd candidate
E.
getent smbpasswd candidate
Answers
Suggested answer: C

Which of the following commands open NFSv4 ACLs in an editor? (Choose two.)

Choose the correct answer

A.
nfs4_setfacl -e
A.
nfs4_setfacl -e
Answers
B.
nfs4_editfacl
B.
nfs4_editfacl
Answers
C.
nfs4_stat -e --acl
C.
nfs4_stat -e --acl
Answers
D.
nfs4_chmod -i
D.
nfs4_chmod -i
Answers
E.
nfs4_conf
E.
nfs4_conf
Answers
Suggested answer: A, B

Which of the following statements about automount in a FreeIPA domain are true? (Choose two.)

Choose the correct answer

A.
In a FreeIPA domain, mount points for automount are always directories.
A.
In a FreeIPA domain, mount points for automount are always directories.
Answers
B.
The command ipa automount up mounts all file systems handled by automount on a FreeIPA client.
B.
The command ipa automount up mounts all file systems handled by automount on a FreeIPA client.
Answers
C.
The base configuration file for automount is /etc/auto.master.
C.
The base configuration file for automount is /etc/auto.master.
Answers
D.
In a FreeIPA domain, automount requires SSSD to be installed on each client.
D.
In a FreeIPA domain, automount requires SSSD to be installed on each client.
Answers
E.
In a FreeIPA domain, automount can only mount NFS shares from FreeIPA servers.
E.
In a FreeIPA domain, automount can only mount NFS shares from FreeIPA servers.
Answers
Suggested answer: C, D

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?

Choose the correct answer

A.
log file = /var/log/samba/log.%m
A.
log file = /var/log/samba/log.%m
Answers
B.
log file = /var/log/samba/log.%M
B.
log file = /var/log/samba/log.%M
Answers
C.
log file = /var/log/samba/log.%r
C.
log file = /var/log/samba/log.%r
Answers
D.
log file = /var/log/samba/log.%I
D.
log file = /var/log/samba/log.%I
Answers
E.
log file = /var/log/samba/log.%c
E.
log file = /var/log/samba/log.%c
Answers
Suggested answer: A
Total 53 questions
Go to page: of 6