Exam Information
Free practice questions with explanations
LPI 300-300 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 16
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Active Directory User Management
A company runs a Samba-based Active Directory domain. The help desk must reset passwords and unlock accounts for users in the Sales OU, but must not be able to modify group memberships or delete accounts. Security policy forbids granting Domain Admins rights to any helpdesk staff. Which approach best meets these requirements?
Correct Answer: CExplanationDelegation of administrative permissions in an AD domain is done by applying targeted ACEs to an organisational unit, which limits the scope to the Sales OU and to specific rights such as resetting passwords and unlocking accounts. Account Operators can manage most user and group objects across the domain, which violates the scope restriction. Granting Full Control on the domain root is far too broad, and Backup Operators is unrelated to password administration and confers privileges unsuitable for helpdesk duties.
-
2 Question 2 Single choice Linux Identity Management and File Sharing
A FreeIPA server has been installed and an Active Directory forest must be trusted so that AD users can access Linux services enrolled in FreeIPA. The network team insists that DNS in the IPA domain must remain authoritative for the IPA zone, and the security team forbids storing any IPA-managed user passwords in the AD forest. Which integration design satisfies both constraints?
Correct Answer: BExplanationFreeIPA supports establishing a trust with an Active Directory forest, which lets AD users authenticate against IPA-enrolled Linux hosts while each side keeps its own authoritative directory and credentials. Replicating the IPA directory into AD would copy IPA-managed data into the forest, breaking the password policy. Importing LDIF duplicates identities and creates synchronisation problems, and converting IPA into a child domain is not a supported operation for an existing standalone IPA domain.
-
3 Question 3 Single choice Regular Samba Maintenance
A Samba Active Directory domain controller runs as a virtual machine on a hypervisor that supports snapshots. Before taking a backup, the administrator wants a consistent copy of the sam.ldb database and the other AD databases without stopping the domain controller for longer than necessary. Which procedure is the BEST choice?
Correct Answer: BExplanationThe samba-tool domain backup subcommands create a consistent, self-contained copy of the domain database in a way that does not require stopping the directory service, which makes it the right tool for a live domain controller. A hypervisor snapshot taken during running operations may capture the databases mid-transaction and is not a guaranteed consistent AD backup. Stopping the service works but is unnecessary downtime, and copying live LDB and TDB files one at a time risks an inconsistent set.
-
4 Question 4 Single choice Samba and Active Directory Domains
A Samba-based Active Directory domain has two domain controllers, DC1 holding all five FSMO roles and DC2 a replica. DC1 must be decommissioned within the hour due to hardware failure, and it will not return. Users are currently authenticating against DC2. Which action should the administrator take FIRST?
Correct Answer: CExplanationBecause DC1 has failed and will not return, a graceful transfer is impossible since the transfer requires the current role holder to participate. The correct procedure is to seize the FSMO roles on the surviving domain controller, after which later cleanup of the dead DC's metadata can proceed. Demoting DC1 requires it to be reachable, and rebuilding it first wastes time and does not restore the roles.
-
5 Question 5 Single choice Samba Basics
An IT team is migrating a file server from an NT4-style workgroup to a Samba server running in standalone mode. The security requirement is that file access must be governed by Linux users and groups, and that Samba must not depend on any external directory. The team wants the simplest supported configuration. Which setting should be used for the security mode?
Correct Answer: BExplanationIn standalone mode, security = user makes Samba authenticate each connection against the local Samba password database, mapped to local Linux accounts, which matches the requirement of no external directory. The ads and domain modes require membership of an external domain. The share mode is deprecated and has been removed from modern Samba releases, so it cannot satisfy the simplest supported configuration.
-
6 Question 6 Single choice Samba Client Configuration
A Linux workstation must mount a CIFS share from a Samba server that is an Active Directory domain member. The mount is performed by a script run by a service account, and the password must not appear in process listings or in /etc/fstab. The administrator wants Kerberos authentication. Which mount option combination is the BEST choice?
Correct Answer: DExplanationUsing sec=krb5 lets the CIFS client authenticate with a Kerberos ticket already held by the caller, so no password is passed on the command line or stored in fstab, which matches the security constraint. NTLMv2 with a credentials file still stores a secret on disk, and a plain password option exposes it in the process list. Guest access gives no authenticated identity and cannot satisfy the requirement.
-
7 Question 7 Single choice Samba Configuration
A Samba administrator uses registry-based configuration on a server that must be managed centrally. A colleague has left a parameter in smb.conf that conflicts with a value in the registry, and clients are seeing unexpected behaviour. The administrator must determine which configuration source takes effect and make the server use a single authoritative store. What should be done?
Correct Answer: AExplanationSamba's registry backend is selected with config backend = registry, and when that is in effect the registry is the authoritative store, so smb.conf should be cleaned of conflicting share and global definitions to avoid ambiguity. Relying on registry precedence across all parameters is a misunderstanding of how mixed sources behave. Deleting the registry hive discards centrally managed configuration, and include = registry does not exist as a merge mechanism.
-
8 Question 8 Single choice Samba Domain Membership
A Samba server joins an Active Directory domain using winbind for user and group resolution. Domain users can authenticate over SMB, but id commands on the Linux host return no UID for them. The domain uses a large number of users, and the administrator wants IDs to remain stable across both domain controllers and any future Samba member servers. Which change is the BEST fix?
Correct Answer: CExplanationThe rid idmap backend derives UIDs and GIDs from the Active Directory relative identifier, so every member server using the same range produces the same stable IDs without per-server state. The tdb backend allocates IDs locally and gives different results on each member, breaking stability. Manual passwd entries do not scale and bypass winbind, and repeatedly rejoining does not fix an ID mapping configuration problem.
-
9 Question 9 Single choice Samba Local User Management
A standalone Samba file server stores its user credentials in the tdbsam passdb backend. The administrator added a Linux user with useradd and then tried to give that user SMB access, but the login fails with an authentication error. The Linux account exists and works at the console. Which step is required?
Correct Answer: BExplanationSamba maintains its own password database independent of the Linux shadow file, so a Linux account has no SMB credentials until a passdb entry exists, which is created with smbpasswd -a. Restarting nmbd affects NetBIOS name service, not authentication. Map to guest would grant anonymous access and undermine security, and smbusers name mapping does not supply a password.
-
10 Question 10 Single choice Samba Share Configuration
A department needs a shared folder on a Samba server. Members of the finance group must have read and write access, other staff must have no access, and newly created files must be readable and writable by the finance group regardless of which member creates them. The administrator wants to keep the share definition as simple as possible. Which combination of share settings should be used?
Correct Answer: CExplanationRestricting access with valid users = @finance limits the share to the finance group, while force group ensures created files belong to finance, and create and directory masks grant group read and write. The guest and public options expose the share to unauthenticated or other users, which violates the restriction. Option D makes the share read-only and forces the wrong group, so writes fail and access is inconsistent with the requirement.
-
11 Question 11 Single choice Troubleshooting Samba
An administrator suspects that the winbind cache database on a Samba domain member has become corrupted. Users intermittently receive wrong group memberships. The server hosts production shares and cannot be taken offline for long. The administrator wants to inspect the TDB file contents without modifying them before deciding on a fix. Which tool is most appropriate for reading the database?
Correct Answer: AExplanationThe tdbdump utility reads a TDB file and prints its records without modifying the database, which is exactly what is needed to inspect a cache before deciding on remediation. testparm validates smb.conf rather than reading TDB files. The smbpasswd command with -x manages accounts rather than dumping caches, and wbinfo --ping-dc only tests connectivity to a domain controller.
-
12 Question 12 Multiple choice Samba Client Configuration
A Windows 10 workstation in an Active Directory domain must connect to a Samba file share that the administrator has configured to accept only Kerberos authentication, and the administrator wants the client connections to be encrypted end to end. Which TWO actions should be taken? (Choose two.)
Correct Answer: A, EExplanationSetting smb encrypt = required enforces SMB3 encryption on the server side, so connections not using encryption are refused. Kerberos requires the client to contact the service by its FQDN so that the service principal matches, and the server must hold a valid host principal in the keytab. Enabling NTLMv1 conflicts with a Kerberos-only policy, storing local credentials bypasses domain authentication, and guest access removes authentication altogether.
-
13 Question 13 Multiple choice Samba Configuration
A Samba server is being hardened for a compliance audit. The auditor requires that all SMB client connections are protected by TLS-equivalent transport confidentiality and that the configuration can be reviewed centrally without local editing. The administrator must also guarantee the server rejects unauthenticated connections. Which TWO settings are required? (Choose two.)
Correct Answer: B, CExplanationsmb encrypt = required in the global section enforces transport confidentiality for SMB3 sessions, and map to guest = never ensures that failed authentication is not silently converted into guest access, which meets the rejection requirement. Using the registry backend changes where configuration lives but does not itself enforce encryption or authentication. Guest access and the share security mode both weaken authentication and contradict the audit requirements.
-
14 Question 14 Multiple choice Samba Domain Membership
A Samba domain member server must authorise domain users to log in to local Linux shells via PAM and must resolve their names through NSS. The administrator has joined the domain successfully and wbinfo -u lists domain users. Which TWO configuration changes are required for local logins to work? (Choose two.)
Correct Answer: A, DExplanationNSS must be told to consult winbind by adding winbind to the passwd and group lines of nsswitch.conf so that getent and login resolve domain accounts. PAM needs pam_winbind.so in the relevant authentication stack so that passwords are validated against the domain. Disabling idmap removes the ID source, copying password hashes is impossible and insecure, and the default domain setting affects naming rather than enabling resolution.
-
15 Question 15 Drag and drop Active Directory User Management
An administrator manages accounts in a Samba-based Active Directory domain and must provide the correct artefact or mechanism for each requirement. Match each requirement to the service or tool that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Allow a Linux service to authenticate using the domain Kerberos principal without an interactive password promptSet the POSIX uid and gid attributes so Linux clients see consistent IDs for AD usersGrant a helpdesk group the right to reset passwords on a single organisational unitPopulate the RFC2307 attributes on the user objectConfigure a forwarding DNS zone for the external resolverExport a keytab containing the service principalApply a delegated ACE to the organisational unitEnable the global catalog on a second domain controllerCorrect Answer:- Allow a Linux service to authenticate using the domain Kerberos principal without an interactive password prompt → Export a keytab containing the service principal
- Set the POSIX uid and gid attributes so Linux clients see consistent IDs for AD users → Populate the RFC2307 attributes on the user object
- Grant a helpdesk group the right to reset passwords on a single organisational unit → Apply a delegated ACE to the organisational unit
ExplanationA keytab exported from the directory holds the service principal keys so a daemon can authenticate silently, and RFC2307 attributes such as uidNumber and gidNumber supply consistent POSIX identities for AD users. Delegation of control is implemented by granting scoped access control entries on the organisational unit. The global catalog and DNS forwarding options are real AD features but match none of the requirements listed.
-
16 Question 16 Drag and drop Samba Share Configuration
A file server team must satisfy specific needs for shared resources hosted by Samba. Match each requirement to the configuration element that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Present one namespace that spans shares on several servers and redirects clients to the nearest copyQueue print jobs from Windows clients to a shared Linux printer with driver handlingKeep the share visible to authorised users only by hiding it from the browse listbrowseable = no in the share definitionsecurity = share in the global sectionPrint share configuration using the printing parameterguest ok = yes in the share definitionDFS share configuration with a referral rootCorrect Answer:- Present one namespace that spans shares on several servers and redirects clients to the nearest copy → DFS share configuration with a referral root
- Queue print jobs from Windows clients to a shared Linux printer with driver handling → Print share configuration using the printing parameter
- Keep the share visible to authorised users only by hiding it from the browse list → browseable = no in the share definition
ExplanationA DFS referral root presents a unified namespace that clients traverse to reach the underlying shares, and print shares are defined with printable and the printing configuration. Hiding a share from browsing uses browseable = no, which still allows authorised access. Share-level security and guest access are explicitly unsuitable, since they weaken the access controls the requirements demand.
These are 16 of the 53 questions in the full 300-300 pack.
Get All 53 QuestionsGet all 53 questions & answers
Full access options for LPI 300-300
Self-study
PDF Version
- 53 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 53 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 53 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 300-300 Exam (LPIC-3: Mixed Environments Exam (version 3.0)) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.