Free LPI 300-300 Exam Actual Questions

The questions for 300-300 were last updated On Sep 27, 2024

Question No. 1

When logging into a windows workstation which is member of an Active Directory domain, which of the following user names refers to the local account bob instead of the domain-wide account bob?

Show Answer Hide Answer
Correct Answer: C

When logging into a Windows workstation that is a member of an Active Directory domain, the .\ prefix is used to specify a local user account rather than a domain account. Therefore, to refer to the local account bob, you would use .\bob.


How to Log On to Your Computer if You Are a Domain User

Windows Logon Naming Conventions

Question No. 2

What is a correct statement about FreeIPA ID views?

Show Answer Hide Answer
Correct Answer: C

In FreeIPA, ID views allow administrators to override default POSIX attributes for users and groups. This feature is useful when integrating with other identity management systems, enabling specific attribute values to be used on a per-host basis. This way, different POSIX attributes can be set for the same user or group in different contexts.


FreeIPA: ID Views

FreeIPA Documentation

Question No. 3

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?

Show Answer Hide Answer
Correct Answer: D

To establish a trust between a FreeIPA domain and an Active Directory domain, the correct command is ipa trust-add. This command is used to add a trust relationship with an Active Directory (AD) domain. The --type ad specifies the type of the trust, addom is the domain name, --admin Administrator specifies the AD administrator account, and --password prompts for the administrator's password.

The complete command looks like this:

a trust-add --type ad addom --admin Administrator --password

This command will initiate the trust creation process, which involves providing the credentials of the AD administrator.


FreeIPA Trusts

FreeIPA Trust Management

Question No. 4

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

Show Answer Hide Answer
Correct Answer: A, B

To open NFSv4 ACLs in an editor, the following commands can be used:

nfs4_setfacl -e: This command is used to set NFSv4 ACLs, and the -e option opens the ACLs in an editor for modification. The command usage is:

This opens the ACL editor where the user can modify the ACLs for the specified file.

nfs4_editfacl: This command is a more intuitive way to edit NFSv4 ACLs directly in an editor. It provides a user-friendly interface for managing ACLs.


NFSv4 ACL Tools Documentation

NFSv4 ACLs

Question No. 5

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

Show Answer Hide Answer
Correct Answer: C, D

Automounting in a FreeIPA domain involves several key aspects:

Base Configuration File (/etc/auto.master): The auto.master file is the main configuration file for the automounter. It contains the master map which defines mount points and their corresponding maps. This file is crucial for setting up automount points.

Example entry in /etc/auto.master:

plaintext

Copy code

/home /etc/auto.home

SSSD Requirement: In a FreeIPA domain, automount requires the System Security Services Daemon (SSSD) to be installed and configured on each client. SSSD is used to retrieve automount maps from the FreeIPA server, enabling the automount feature to function correctly.

Example configuration in /etc/sssd/sssd.conf:

[sssd] services = nss, pam, autofs config_file_version = 2 domains = example.com [domain/example.com] autofs_provider = ipa ipa_server = _srv_


Automount Configuration

FreeIPA SSSD Integration