Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

LPI 300-300 Dumps 2026 with Free Practice Questions and Answers

Practise for the LPIC-3: Mixed Environments Exam (version 3.0) with 14 original questions, each with an answer and explanation.

Topics: Active Directory User Management, Linux Identity Management And File Sharing, Samba And Active Directory Domains, Regular Samba Maintenance and 7 more.

Includes single answer, drag and drop, multiple answers, dropdown and order list. A new question is added every 15 days.

300-300 Practice Set Details

Vendor
LPI
Exam Code
300-300
Questions On This Page
14
Exam Topics Covered
11 of 12
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
53
Certification
LPIC-3 Mixed Environments
14 questions

LPI 300-300 Exam Questions and Answers by Topic

Samba Basics

1 practice question on this topicWhat this topic covers

Question 1

Added

Multiple Answers

A company is consolidating standalone Samba file servers. One server is to remain a standalone member server rather than become a domain controller; it must authenticate local Samba users and serve files to current Windows clients. The configuration is being reviewed for a security baseline that prohibits obsolete protocol negotiation and requires the administrator to understand which daemon serves SMB traffic. Which two changes are appropriate? (Choose two.)

Correct answer: A, C

A standalone server can use a local Samba passdb backend for its own accounts, and setting a modern minimum protocol avoids negotiating SMB1. An AD domain controller role is not appropriate for a standalone file server, and smbpasswd does not turn it into one. smbd serves SMB file and print services; nmbd does not replace it. The obsolete share-level security model is not a sound way to meet modern authenticated access requirements.

Samba Share Configuration

1 practice question on this topicWhat this topic covers

Question 2

Added

Drag And Drop

A Samba server must provide three distinct services while preserving least privilege. Match each share requirement to the configuration approach that best satisfies it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Authenticated departmental share with access limited to a Unix group
Read-only public reference material for all authenticated users
Windows printer queue exposed through Samba
A [printers] share using the print service configuration
read only = yes with filesystem read permissions
valid users = @department with filesystem group permissions
Correct answer:
  • Authenticated departmental share with access limited to a Unix group → valid users = @department with filesystem group permissions
  • Read-only public reference material for all authenticated users → read only = yes with filesystem read permissions
  • Windows printer queue exposed through Samba → A [printers] share using the print service configuration

The valid users setting restricts share admission, while filesystem permissions continue to govern access to stored files. A read-only share setting prevents writes through SMB, and filesystem permissions should also avoid granting unauthorized write access. Samba's special printers share configuration exposes printer services and is distinct from a file share. Making a departmental share guest-accessible would violate least privilege, and read-only at the share level alone does not repair overly permissive underlying filesystem policy.

Samba Client Configuration

1 practice question on this topicWhat this topic covers

Question 3

Added

Dropdown

A Linux host mounts a domain user's SMB share at boot. The organization requires Kerberos tickets from the user's credential cache, refuses to store a reusable password in fstab, and expects the mount to use SMB 3. Complete the mount command with the appropriate security mode and protocol version.

Choose the correct value for each blank.

mount -t cifs //files.example.net/home /mnt/home -o ,
Correct answer:

mount -t cifs //files.example.net/home /mnt/home -o sec=krb5,vers=3.0

The sec=krb5 option uses Kerberos credentials rather than a stored reusable password, and vers=3.0 requests SMB 3.0. sec=ntlmssp and sec=ntlm use password-based authentication rather than the required Kerberos credential cache. sec=krb5i adds integrity protection but is not needed to satisfy the stated requirement and may impose additional compatibility constraints. The older vers values fail the requirement to use SMB 3.

Linux Identity Management and File Sharing

2 practice questions on this topicWhat this topic covers

Question 4

Added

Single Answer

An organization is deploying FreeIPA for Linux hosts while retaining an existing AD forest as the source of Windows identities. Linux users must be able to log in with AD credentials, while FreeIPA continues to manage Linux-specific policy and services. The two environments have routable DNS and synchronized time, and administrators want users to obtain Kerberos tickets without maintaining duplicate passwords. Which design is the best fit?

Correct answer: B

A trust allows FreeIPA clients and services to recognize AD identities while AD remains their credential authority; FreeIPA can still manage Linux policy and its own entities. Copying password hashes does not create a supported shared Kerberos identity arrangement. Directly joining each host to AD with winbind bypasses the requested FreeIPA integration design. FreeIPA is not configured as an AD domain controller, and replacing the Windows domain with its LDAP directory is not the described integration.

Question 5

Added

Drag And Drop

A Linux estate uses FreeIPA clients, and a storage team is choosing a shared filesystem for home directories and application data. Match each operational requirement to the protocol or service that best meets it.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Linux file access with Kerberos authentication and NFSv4 ACL support
Windows file access with SMB semantics and AD credentials
Cross-host block device access requiring a cluster filesystem
NFSv4 with Kerberos security flavor
Samba SMB share joined to the domain
iSCSI LUN with a clustered filesystem
Correct answer:
  • Linux file access with Kerberos authentication and NFSv4 ACL support → NFSv4 with Kerberos security flavor
  • Windows file access with SMB semantics and AD credentials → Samba SMB share joined to the domain
  • Cross-host block device access requiring a cluster filesystem → iSCSI LUN with a clustered filesystem

NFSv4 can use Kerberos security flavors and supports NFSv4 ACLs, making it suitable for authenticated Linux file service. Samba provides SMB semantics and can authorize users through AD for Windows clients. iSCSI supplies block storage rather than a shared file protocol, so concurrent access requires a cluster-aware filesystem and coordination. Treating NFS as an SMB service would not provide Windows SMB behavior, while using a plain local filesystem on a shared LUN risks corruption.

Samba Configuration

1 practice question on this topicWhat this topic covers

Question 6

Added

Single Answer

A Samba file server is managed through a central configuration-management system, but a Windows operations team needs to change a small set of supported parameters through the registry-based Samba configuration facility. Auditors require the administrators to know which source currently controls a parameter, and the service must not silently retain a stale file-based value. What is the best operational approach?

Correct answer: C

Samba's registry configuration support can provide registry-based settings, and testparm is the appropriate way to inspect the effective configuration after changes. Mixing duplicate file and registry definitions without understanding precedence creates ambiguity rather than an auditable source of truth. Editing the database through an unsupported or uncontrolled remote registry workflow and skipping validation is unsafe. registry shares concerns share definitions and does not automatically make every global and share parameter registry-controlled.

Regular Samba Maintenance

1 practice question on this topicWhat this topic covers

Question 7

Added

Single Answer

A Samba AD domain controller is being moved to a new virtual host. The team wants a recoverable backup that preserves the domain database and SYSVOL, and the old VM must remain available until the restore has been verified. The administrators have a maintenance window but cannot use a hypervisor snapshot as the sole backup because the snapshot may capture inconsistent disk state. Which procedure is most appropriate?

Correct answer: C

Samba's domain backup tooling is designed to capture the AD domain data and SYSVOL for restoration, and retaining the source until the restored controller is checked provides a safe rollback. A raw live directory copy can capture mutually inconsistent files. tdbbackup on one database does not back up the complete domain and SYSVOL. A live hypervisor snapshot alone does not satisfy the stated consistency requirement, and deleting the source before validation removes the straightforward recovery path.

Troubleshooting Samba

1 practice question on this topicWhat this topic covers

Question 8

Added

Single Answer

A Samba AD domain controller reports intermittent directory replication problems after an unplanned power loss. The administrator must determine whether the local directory database has structural integrity problems before attempting repairs. The DC is still in service, and the incident procedure prohibits editing LDB files directly or restoring an old backup without evidence. Which action should be taken first?

Correct answer: D

samba-tool dbcheck is the supported utility for checking AD database consistency; reviewing diagnostic findings before repair respects the incident restriction. Deleting SYSVOL does not repair the directory database and can damage policy data. Directly editing sam.ldb risks directory corruption and bypasses supported checks. tdbbackup can copy TDB files but does not establish that the AD LDB database or replication metadata is structurally sound.

Samba and Active Directory Domains

2 practice questions on this topicWhat this topic covers

Question 9

Added

Single Answer

A Linux file server is joined to an AD domain and resolves domain users through winbind. A new share is accessible by short name from domain-joined Windows clients, but clients on a separate routed subnet cannot locate the domain reliably. The network team confirms that the domain controller records exist, but the affected clients use an internal DNS resolver that lacks the AD zone. No firewall change is permitted this week. What should the administrator do first?

Correct answer: A

AD service discovery depends on DNS records, including SRV records, so clients using a resolver without the AD zone cannot reliably locate domain services. Making the zone available through authoritative records or conditional forwarding addresses the stated fault without a firewall change. WINS does not replace AD DNS discovery. A file server cannot become a global catalog merely by changing its NetBIOS name, and browseability or SMB1 browsing does not repair domain locator lookups.

Question 10

Added

Order List

An administrator is adding a second Samba AD domain controller to an existing domain. DNS and time synchronization are already correct, the new host has a supported Samba installation, and the existing controller is healthy. Arrange the steps in the order they must be performed to add the controller and verify its role.

Drag the steps into the correct order, or use the arrows.

  1. Start the Samba AD DC service on the new controller
  2. Verify replication and domain health with samba-tool checks
  3. Confirm the new controller's DNS and directory service registrations
  4. Provision the host as an additional domain controller with samba-tool domain join
Correct answer:
  1. Provision the host as an additional domain controller with samba-tool domain join
  2. Start the Samba AD DC service on the new controller
  3. Verify replication and domain health with samba-tool checks
  4. Confirm the new controller's DNS and directory service registrations

The host must first join and be provisioned as an additional DC so it receives the domain database and role configuration. Starting the service then allows replication and services to operate. Health checks should follow synchronization, and the final verification confirms that the controller is discoverable through its registrations. Starting Samba before the join is complete does not create a functioning DC, and checking replication before the service is running cannot validate the new controller.

Active Directory User Management

2 practice questions on this topicWhat this topic covers

Question 11

Added

Single Answer

A Samba AD domain has several administrative teams. The help-desk team must reset passwords and unlock accounts for users in one organizational unit, but must not create users, change group membership, or affect users elsewhere. The team already has a security group, and management requires delegated rights to be auditable through AD rather than implemented with a script on one domain controller. What is the best approach?

Correct answer: C

Delegating narrowly scoped control on the OU keeps authorization in AD and limits the team's rights to the intended users and operations. Adding the group to Domain Admins grants far more authority than required. Changing primaryGroupID does not delegate password-reset rights, and write access to the domain naming context is excessively broad. A GPO granting local administrator rights on domain controllers does not provide the required AD object permissions and increases risk.

Question 12

Added

Multiple Answers

A Linux application authenticates to a Samba AD domain using Kerberos. The service runs as a dedicated domain account on two hosts, and the security team requires a keytab that works on both hosts without exposing the account password. The application uses the HTTP service class and a shared DNS name, app.example.net. Which two actions meet the requirement? (Choose two.)

Correct answer: A, B

The client requests a ticket for the HTTP SPN, so the SPN must be registered on the account whose key the service will use. Samba's net ads keytab create exports the relevant account keys into a keytab rather than requiring the password on each host. Registering the SPN on computer accounts would direct tickets to different keys. uidNumber is an RFC2307 Unix identity attribute, not an SPN. The krbtgt key is not an application service key and must not be copied for this purpose.

Samba Domain Membership

1 practice question on this topicWhat this topic covers

Question 13

Added

Single Answer

A Samba member server has successfully joined an AD domain, but domain users are not visible through getent passwd and cannot be mapped to file ownership. The security team requires stable numeric IDs across all member servers, and the domain already has RFC2307 uidNumber and gidNumber attributes populated consistently. The team does not want algorithmic IDs because files are shared between hosts. Which next action is best?

Correct answer: D

The ad idmap backend uses RFC2307 Unix attributes for domain identity mapping, matching the requirement for stable, centrally defined IDs. The rid backend derives IDs algorithmically and does not use the populated attributes as the source of identity. Local account duplication is costly and can diverge across hosts. Enabling NSS lookup without a valid mapping configuration does not provide reliable numeric UIDs and GIDs.

Samba Local User Management

1 practice question on this topicWhat this topic covers

Question 14

Added

Single Answer

A small standalone Samba server uses Unix accounts for file ownership and a tdbsam passdb backend for SMB authentication. A new employee must access a share using a password, and the administrator wants to avoid an SMB account that has no corresponding Unix identity or a Unix password that is mistaken for an SMB password. Which sequence is correct?

Correct answer: A

A standalone server needs a Unix identity for ownership and a Samba passdb account for SMB authentication. Creating the Unix account first and then adding or enabling the Samba password entry establishes both parts explicitly. tdbsam stores Samba account data but does not automatically create Unix users. Unix shadow passwords are not automatically the Samba passdb credentials, and listing a user in valid users controls authorization rather than creating an account.

More LPI Practice Questions

Get the Full LPI 300-300 Dumps as PDF and Practice Test

14 questions are free on this page and the full set has 53. It comes as a PDF and an online practice test, with 90 days of free updates.