Practice Exam: Samba Client Configuration
Simulator Summary
0 of 66 Questions completed
Questions:
Information
You have already completed the simulator before. Hence you can not start it again.
Simulator is loading…
You must sign in or sign up to start the simulator.
You must first complete the following:
Results
Results
0 of 66 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 66
1. Question
As a system administrator, you are configuring a Linux system to authenticate users against a Samba server. To integrate Samba authentication with the Linux system’s user and group information, which NSS (Name Service Switch) module should you configure?
CorrectIncorrect -
Question 2 of 66
2. Question
You are configuring a Samba domain and want to enforce a policy where passwords must be changed every 60 days. Which Samba tool and option should you use to implement this password policy?
CorrectIncorrect -
Question 3 of 66
3. Question
You are managing a Linux server that uses Samba for user authentication. You need to configure the system to automatically create a home directory for each new user upon their first login. Which configuration should be implemented to achieve this?
CorrectIncorrect -
Question 4 of 66
4. Question
You are administering a Linux server in a Samba domain and want to enhance security by locking user accounts after three consecutive failed login attempts. Which configuration in PAM (Pluggable Authentication Modules) would achieve this security measure?
CorrectIncorrect -
Question 5 of 66
5. Question
As a system administrator, you are configuring a Linux system to authenticate users against an LDAP directory. To integrate LDAP with the Linux system’s user and group information, which NSS (Name Service Switch) module should you configure?
CorrectIncorrect -
Question 6 of 66
6. Question
You are configuring a Linux client to authenticate users against an Active Directory domain using SSSD. Which configuration file must be correctly set up to achieve this integration?
CorrectIncorrect -
Question 7 of 66
7. Question
As an administrator, you are configuring SSSD on a Linux system to manage local user accounts along with centralized authentication. Which configuration in the sssd.conf file is essential to include local users in the authentication process?
CorrectIncorrect -
Question 8 of 66
8. Question
As a Linux system administrator in an environment using Kerberos for authentication, you need to obtain a Kerberos ticket for a user. Which command should be used to acquire this ticket?
CorrectIncorrect -
Question 9 of 66
9. Question
You are setting up a Linux server to authenticate users through a Samba domain. To configure the server’s authentication mechanism to use PAM with Samba, which line should be correctly added to /etc/pam.conf?
CorrectIncorrect -
Question 10 of 66
10. Question
You are configuring a Linux system to use Samba for authentication. To ensure that authentication requests are processed through Samba, which line must be correctly added to the appropriate file in /etc/pam.d/?
CorrectIncorrect -
Question 11 of 66
11. Question
You are configuring a Linux client to authenticate against a Samba domain. In the /etc/nsswitch.conf file, which line should you modify to ensure that the system queries the Samba server for user and group information?
CorrectIncorrect -
Question 12 of 66
12. Question
You are configuring user authentication settings on a Linux server in a Samba environment. To define the default home directory base path for new users, which directive should be correctly set in the /etc/login.defs file?
CorrectIncorrect -
Question 13 of 66
13. Question
You are configuring a Linux system for LDAP authentication in a Samba environment. To enable LDAP-based user authentication, which line should you correctly add to a PAM configuration file, such as /etc/pam.d/common-auth?
CorrectIncorrect -
Question 14 of 66
14. Question
You are configuring a Linux system for Kerberos authentication in a Samba environment. To enable Kerberos authentication for user logins, which line should be correctly added to the /etc/pam.d/common-auth file?
CorrectIncorrect -
Question 15 of 66
15. Question
In a Linux environment, you are tasked with enhancing the security of user passwords. To enforce strong password policies, such as minimum password length and complexity, which line should be correctly added to the /etc/pam.d/common-password file?
CorrectIncorrect -
Question 16 of 66
16. Question
You are configuring account lockout policies on a Linux system in a Samba environment. To lock a user account after 5 consecutive failed login attempts, which line should be correctly added to the /etc/pam.d/common-auth file?
CorrectIncorrect -
Question 17 of 66
17. Question
As a system administrator, you are implementing an account lockout policy in a Linux system to enhance security. To lock user accounts after 3 consecutive failed login attempts for 15 minutes, which line should be correctly configured in the /etc/pam.d/common-auth file?
CorrectIncorrect -
Question 18 of 66
18. Question
You are configuring a Linux system in a Samba environment to automatically create home directories for users on their first login. Which line should be correctly added to the /etc/pam.d/common-session file to implement this functionality?
CorrectIncorrect -
Question 19 of 66
19. Question
As a Linux system administrator in a Samba environment, you want to set a user’s password to expire after 90 days. Which command should you use to configure this password policy for a user named ‘john’?
CorrectIncorrect -
Question 20 of 66
20. Question
As a system administrator, you want to view the failed login attempts for a user named ‘dave’ on a Linux system integrated with Samba. Which command should you use to accomplish this?
CorrectIncorrect -
Question 21 of 66
21. Question
A system administrator is configuring SSSD on a Linux system for centralized user authentication against an LDAP directory. The administrator needs to ensure that the system can cache LDAP user credentials for offline authentication. Which configuration in sssd.conf would enable this feature?
CorrectIncorrect -
Question 22 of 66
22. Question
A system administrator needs to configure SSSD on a Linux client for authentication against a Samba Active Directory domain. Which parameter in sssd.conf should be set to define the Active Directory domain to which the client will connect?
CorrectIncorrect -
Question 23 of 66
23. Question
An administrator needs to locally override the home directory path for a user managed by SSSD without modifying the central directory service. Which sss_override command should be used to achieve this for a user named ‘johndoe’?
CorrectIncorrect -
Question 24 of 66
24. Question
An administrator has just updated user information in the central LDAP directory and wants to ensure that the Linux clients using SSSD reflect these changes immediately. Which command should the administrator run on the Linux clients to update the SSSD cache?
CorrectIncorrect -
Question 25 of 66
25. Question
An administrator is troubleshooting SSSD issues on a Linux system in a Samba environment and needs to increase the verbosity of SSSD logs for detailed analysis. Which command should be used to set the debug level to its maximum verbosity?
CorrectIncorrect -
Question 26 of 66
26. Question
In a Samba-integrated Linux environment, an administrator needs to find detailed information about a user named ‘alice’, including her UID and GID. Which SSSD command should the administrator use to retrieve this information?
CorrectIncorrect -
Question 27 of 66
27. Question
An administrator suspects corruption in the SSSD database on a Linux system integrated with a Samba domain. Which action should be taken to safely rebuild the SSSD database located in /var/lib/sss/db/?
CorrectIncorrect -
Question 28 of 66
28. Question
An administrator is configuring a Linux system to authenticate against a Kerberos realm within a Samba environment. Which section and setting in krb5.conf should be configured to specify the default realm?
CorrectIncorrect -
Question 29 of 66
29. Question
A Linux administrator needs to authenticate a user named ‘john’ against the Kerberos server in a Samba environment. Which command should the administrator use to acquire and cache an initial ticket-granting ticket (TGT) for ‘john’?
CorrectIncorrect -
Question 30 of 66
30. Question
A Linux administrator needs to verify the Kerberos tickets issued to a user in a Samba environment. Which command should be used to list the current Kerberos tickets available to the user’s session?
CorrectIncorrect -
Question 31 of 66
31. Question
An administrator in a Linux Samba environment needs to clear all Kerberos tickets from a user's cache. Which command should they use to remove the user's Kerberos tickets?
CorrectIncorrect -
Question 32 of 66
32. Question
A Linux system administrator needs to permanently mount a remote CIFS share at boot time on a client machine. The share is located at //server/share and should be mounted to /mnt/share. What should the administrator add to the /etc/fstab file to achieve this?
CorrectIncorrect -
Question 33 of 66
33. Question
A Linux administrator needs to mount a remote CIFS share located at //fileserver/documents to the local directory /mnt/docs with read and write access for all users. Which of the following commands should the administrator use to achieve this?
CorrectIncorrect -
Question 34 of 66
34. Question
An administrator wants to configure a Linux client in a Samba domain to automatically mount user home directories from a network share at //fileserver/users. The home directories should be mounted to /home/%u upon user login. Which configuration should the administrator add to the /etc/fstab file?
CorrectIncorrect -
Question 35 of 66
35. Question
An administrator needs to mount a CIFS share on a Linux client without exposing the user's password in the /etc/fstab file. What is the best approach for storing and using CIFS credentials securely in this scenario?
CorrectIncorrect -
Question 36 of 66
36. Question
A Linux administrator is mounting a remote CIFS share on a Linux client. The requirement is that all files and directories on the mounted share must be owned by the user 'alice' and the group 'staff'. Which of the following mount options should be used to meet this requirement?
CorrectIncorrect -
Question 37 of 66
37. Question
An administrator wants to check the disk quota usage for a specific user on a CIFS share mounted at /mnt/cifs_share. Which command can be used on a Linux client to achieve this?
CorrectIncorrect -
Question 38 of 66
38. Question
A Linux administrator needs to configure the Samba client to always use SMB3 protocol for better security and performance when connecting to CIFS shares. Which line should be added to the [global] section of the smb.conf file to achieve this?
CorrectIncorrect -
Question 39 of 66
39. Question
An administrator needs to list all shared resources available on a Samba server with the address smb://192.168.1.100. Which smbclient command should be used to achieve this?
CorrectIncorrect -
Question 40 of 66
40. Question
A system administrator needs to mount a CIFS share located at //server/data to a local directory /mnt/data on a Linux client. The share requires authentication with the username 'user1' and password 'password1'. Which command should the administrator use to mount the share securely?
CorrectIncorrect -
Question 41 of 66
41. Question
An administrator needs to mount a CIFS share located at //example.com/share on the local directory /mnt/share with read/write access for all users. The share requires authentication with the username 'user' and password 'pass'. Which command should the administrator use?
CorrectIncorrect -
Question 42 of 66
42. Question
An administrator is configuring a Linux workstation to automatically mount a CIFS share at startup. The share is located at //server/share and should be mounted to /mnt/share. The share requires credentials stored in /etc/cifs.credentials. Which of the following entries in /etc/fstab will correctly mount the share at system boot?
CorrectIncorrect -
Question 43 of 66
43. Question
An administrator wants to configure a Linux client to automatically mount a user's CIFS home directory upon login. The home directories are located on //fileserver/home/$USER. Which of the following entries should be added to the pam_mount.conf.xml to accomplish this?
CorrectIncorrect -
Question 44 of 66
44. Question
An administrator wants to ensure that all users on the Linux system automatically mount their respective home directories from a CIFS share located at //fileserver/home upon login. The user credentials for the CIFS share are the same as their Linux login credentials. Which of the following entries in pam_mount.conf.xml accomplishes this requirement?
CorrectIncorrect -
Question 45 of 66
45. Question
An administrator needs to securely store the credentials for a CIFS share in the kernel keyring to be used with mount.cifs. Which command should the administrator use to add the credentials for the user 'jdoe' for the domain 'EXAMPLE'?
CorrectIncorrect -
Question 46 of 66
46. Question
An administrator wants to view the ACLs of a file named report.docx located on a mounted CIFS share at /mnt/share/docs. Which command should be used to retrieve the ACLs for this file?
CorrectIncorrect -
Question 47 of 66
47. Question
An administrator wishes to grant read and execute permissions to the user "jdoe" on a file named "monthly_report.xlsx" located on a CIFS share mounted at /mnt/data. Which setcifsacl command should the administrator use to accomplish this?
CorrectIncorrect -
Question 48 of 66
48. Question
An administrator needs to check the quota limit and usage for a user named "jdoe" on a CIFS share mounted at /mnt/share. Which command should the administrator use to retrieve this information using "smbcquotas"?
CorrectIncorrect -
Question 49 of 66
49. Question
An administrator wants to monitor the I/O performance of a mounted CIFS share on a Linux system to identify any bottlenecks. Which command should the administrator use to display real-time statistics of the CIFS file system activity?
CorrectIncorrect -
Question 50 of 66
50. Question
An administrator needs to download a file named project-overview.pdf from a Samba share located at smb://server/share/docs to the local directory /local/docs. Which command should the administrator use to accomplish this task?
CorrectIncorrect -
Question 51 of 66
51. Question
An administrator needs to backup a directory named projects from a Samba share located at //server/data to a tar file named projects_backup.tar. The Samba share requires authentication. Which smbtar command should the administrator use to create the backup while specifying the username 'admin' and prompting for the password?
CorrectIncorrect -
Question 52 of 66
52. Question
A question could involve configuring a Samba server on Linux to share files with Windows clients. For example, it might ask about the steps to ensure that a Windows client can access a Samba share using SMB protocol.
CorrectIncorrect -
Question 53 of 66
53. Question
An IT administrator is preparing to join a Windows 10 workstation to the company's Active Directory domain named example.com. Before proceeding, which prerequisite must be ensured on the Windows 10 workstation to successfully join the domain?
CorrectIncorrect -
Question 54 of 66
54. Question
A Windows 10 user is attempting to access a remote CIFS share located at \\samba-server\shared from their computer. The user is prompted for a username and password. After entering their credentials, they receive an error stating they cannot connect to the share. Which of the following could be a reason for this issue?
CorrectIncorrect -
Question 55 of 66
55. Question
A Windows 10 user needs to print documents to a network printer shared via a Samba server on the network. The printer is shared under the name Samba_Printer on the server samba-server.example.com. Which of the following methods should the user employ to add the printer to their Windows 10 computer?
CorrectIncorrect -
Question 56 of 66
56. Question
An administrator wants to set up a file share on a Windows 10 host to be accessible from Linux clients in the network. The folder to be shared is located at C:\shared\docs. Which steps should the administrator take to correctly configure this share?
CorrectIncorrect -
Question 57 of 66
57. Question
A network administrator is managing a mixed environment with Windows clients and a Samba domain controller. They want to enforce a policy where all Windows clients have a specific wallpaper. Which GPO setting should the administrator configure to achieve this?
CorrectIncorrect -
Question 58 of 66
58. Question
An IT administrator needs to create a new Group Policy Object (GPO) to enforce a password complexity policy on all Windows client machines in a domain. Which tool should the administrator use and what is the first step in this process?
CorrectIncorrect -
Question 59 of 66
59. Question
An IT administrator needs to remotely access the desktop of a Windows 10 machine from a Linux workstation for troubleshooting purposes. Which method would be the most appropriate to achieve this?
CorrectIncorrect -
Question 60 of 66
60. Question
An IT administrator wants to create a logon script that maps a network drive for users when they log onto their Windows workstations. The script should map the shared folder \\samba-server\shared as the S: drive. Which script action should the administrator use in a batch file to accomplish this?
CorrectIncorrect -
Question 61 of 66
61. Question
A network administrator is configuring Folder Redirection for a group of users in a Windows domain to redirect their Documents folder to a network location for better data management and backup. The network share designated for this purpose is \\samba-share\users\Documents. Which of the following steps is necessary to correctly configure the Documents folder redirection?
CorrectIncorrect -
Question 62 of 66
62. Question
A network administrator is configuring a Samba server to provide roaming profiles for Windows clients. The administrator wants the user profiles to be stored on the server in the directory /srv/samba/profiles/%U. What is the correct way to configure this in the smb.conf file?
CorrectIncorrect -
Question 63 of 66
63. Question
An IT administrator has configured a Samba server to act as a domain controller for a network of Windows clients. To standardize network drive mappings, they wish to deploy a logon script named map_drives.bat. This script is located in the netlogon share of the Samba server. What is the correct way to configure smb.conf to ensure the script runs for all users at logon?
CorrectIncorrect -
Question 64 of 66
64. Question
A Windows system administrator needs to view the status of all network services running on a Windows Server. Which net command should the administrator use to accomplish this task?
CorrectIncorrect -
Question 65 of 66
65. Question
A system administrator has just modified Group Policy Objects (GPOs) to enhance security settings across the organization's Windows workstations. To ensure the new policies are applied immediately, which command should the administrator run on the client machines?
CorrectIncorrect -
Question 66 of 66
66. Question
A Linux system administrator needs to establish a remote desktop session to a Windows Server with the IP address 192.168.1.100. The administrator requires a fullscreen session and needs to specify a custom resolution of 1440x900. Which of the following rdesktop commands should the administrator use?
CorrectIncorrect