300-300試験をパスするなら弊社のLPIC Level 3試験パッケージを今すぐゲットして合格せよ
完全版最新の2024年最新の300-300試験問題集テストガイド、専門トレーニングFast2test
LPIC-3認定プログラムは、Linux管理の特定の領域における専門知識を証明し、キャリアアップを望む経験豊富なLinuxプロフェッショナル向けに設計されています。Mixed Environments試験は、WindowsやmacOSなど他のオペレーティングシステムと統合されたLinuxシステムの管理に焦点を当てています。これには、ネットワークサービスの設定、ファイルシステムの管理、混合環境でのセキュリティ問題のトラブルシューティングが含まれます。
質問 # 19
Which of the following commands connects to the share Share on the Windows Server 2012 R2 server fs1 using the SMB3 protocol?
- A. cifsclient //fs1/Share
- B. smbclient -p 3 //fs1/Share
- C. smbclient --max-protocol SMB3 //fs1/Share
- D. smb3client //fs1/Share
- E. smbclient --w2k12 //fs1/share
正解:C
解説:
To connect to a share on a Windows server using the SMB3 protocol, the smbclient command with the --max-protocol option should be used. The --max-protocol option allows you to specify the highest SMB protocol version that should be used. Therefore, the correct command is smbclient --max-protocol SMB3 //fs1/Share.
Reference:
smbclient man page
Samba: smbclient Command Options
質問 # 20
In a Samba configuration file, which of the following variables represents the domain of the current user?
- A. %w
- B. %d
- C. %G
- D. %r
- E. %D
正解:E
解説:
In a Samba configuration file, variables can be used to represent dynamic values.
The %D variable represents the domain of the current user.
This variable can be used in various configuration directives to customize the behavior of Samba services based on the user's domain.
Reference:
Samba variables documentation: https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
質問 # 21
Which Samba utility, when launched with the appropriate parameters, generates the following output?
- A. smbclient
- B. getfacl
- C. smbcacls
- D. smbxattr
- E. smbfacl
正解:C
解説:
The smbcacls utility is used to manage Windows ACLs on Samba shares. The output format shown in the image suggests it relates to detailed ACL information, which is typically generated by smbcacls.
Reference:
Samba smbcacls man page
質問 # 22
In an LDIF file using changetype: modify, which of the following options can be used? (Choose two.)
- A. replace
- B. overwrite
- C. generate
- D. add
- E. patch
正解:A、D
解説:
In an LDIF file, changetype: modify is used to specify modifications to an existing LDAP entry.
The add option is used to add new attributes or values to an existing attribute.
The replace option is used to replace existing attribute values with new ones.
These options are used to update the directory information according to the LDAP protocol.
Reference:
LDAP modification operations: https://ldap.com/the-ldif-format/
OpenLDAP modify documentation: https://www.openldap.org/doc/admin24/modify.html
質問 # 23
Which of the following commands terminates all running instances of the Samba daemon handling for SMB shares?
- A. smbcontrol samba shutdown
- B. smbcontrol nmbd shutdown
- C. smbcontrol smbd shutdown
- D. smbcontrol shutdown
- E. smbcontrol cifs stop
正解:C
解説:
Samba is a suite of programs that allows SMB/CIFS clients to interact with file and print services on a Linux/UNIX server.
smbd is the Samba daemon responsible for handling SMB/CIFS requests.
The smbcontrol utility is used to send messages to running Samba daemons.
The correct way to terminate all running instances of the Samba daemon handling SMB shares is to send a shutdown message to smbd using the command smbcontrol smbd shutdown.
This command ensures that only the smbd processes, which are responsible for handling SMB shares, are terminated without affecting other Samba components like nmbd (NetBIOS name server daemon).
Reference:
Samba documentation: https://www.samba.org/samba/docs/current/man-html/smbcontrol.1.html
質問 # 24
Which of the following options can be used to limit access to a Samba share? (Choose two.)
- A. write list
- B. valid users
- C. untrusted users
- D. accept list
- E. valid groups
正解:B、E
解説:
To limit access to a Samba share, the valid users and valid groups options can be used. These directives specify which users or groups are allowed to access the share.
C . valid groups
This option restricts access to members of specified Unix groups.
D . valid users
This option restricts access to specified Unix users.
Reference:
Samba smb.conf man page
質問 # 25
FILL BLANK
What command checks the Samba configuration file for syntactical correctness? (Specify ONLY the command without any path or parameters.)
正解:
解説:
testparm
Explanation:
Purpose of the Command: testparm is used to check the Samba configuration file (smb.conf) for syntax errors.
Command
Running testparm will read the smb.conf file, parse it, and display any syntax errors or warnings. This helps ensure that the configuration is valid before restarting the Samba service.
Usage Example:
Simply execute testparm in the terminal, and it will automatically check the default configuration file.
Reference:
Samba.org - testparm
質問 # 26
Which service unifies Linux and Windows account management by allowing a Linux system to include Windows domain users in the Linux user database?
- A. sudo
- B. OpenLDAP
- C. Winbind
- D. NIS
- E. smbpasswdd
正解:C
解説:
Winbind: This service is used to unify Linux and Windows account management by allowing a Linux system to include Windows domain users in the Linux user database.
Functionality: Winbind enables Linux systems to retrieve user and group information from a Windows NT-based domain or Active Directory.
Other Services:
smbpasswdd, sudo, NIS, OpenLDAP: These services do not provide the same functionality for unifying account management between Linux and Windows.
Reference:
Samba Winbind Documentation
質問 # 27
What are benefits of registry based Samba configuration compared to file based configuration? (Choose three.)
- A. Specific attributes of LDAP objects in Active Directory can be overwritten in the configuration registry.
- B. The registry can be edited remotely without logging into the server.
- C. Server processes require less time to start because they do not have to parse the configuration file.
- D. Registry based configuration supports advanced options which do not exist in smb.conf.
- E. Configuration changes become effective immediately without a daemon reload.
正解:B、C、E
質問 # 28
A Samba 4 server provides DNS information regarding an Active Directory Domain. All other DNS information is provided by an additional DNS server. Which of the following solutions ensures that the clients of the Samba server can look up all DNS records including those from the domain?
- A. The search domain of all clients is set to the Active Directory domain name. All clients query only the additional DNS server and not a domain controller.
- B. The additional DNS server is configured in the option dns forwarder in smb.conf. All clients query the Samba server for any DNS information.
- C. All clients are configured to send DNS queries to the additional DNS server only. The Samba server's smb.conf contains the option wins dns proxy = yes to provide all domain-related naming information via the NetBIOS name service independently from DNS.
- D. Both the Samba server and the additional DNS server are configured on the clients. This ensures that the Samba server is listed first in each client's resolv.conf.
- E. The additional DNS server is configured in the file /etc/resolv.conf on the Samba server and the option dns forwarder = yes is set in smb.conf.
正解:B
解説:
dns forwarder: This smb.conf option specifies the DNS server to which queries should be forwarded if they cannot be resolved locally by the Samba server.
Configuration:
Add dns forwarder = <additional_DNS_server_IP> to smb.conf on the Samba server.
Ensure all clients are configured to query the Samba server for DNS information.
Process:
Clients send all DNS queries to the Samba server.
If the Samba server cannot resolve a query locally, it forwards the request to the additional DNS server.
Benefit: This ensures that all DNS records, including those from the Active Directory domain and other DNS information, can be resolved by the clients.
Reference:
Samba DNS Forwarding
質問 # 29
Which of the following groups exists by default in an Active Directory domain?
- A. Domain Update Role Accounts
- B. Domain Users
- C. Domain Administrators
- D. Unassigned Users
- E. Domain 31aclclisc
正解:B
解説:
In an Active Directory domain, the Domain Users group exists by default. This group includes all user accounts created in the domain and is commonly used for assigning permissions and rights to all users.
Reference:
Microsoft Docs - Active Directory Default Groups
質問 # 30
Which of the following keywords are module types for PAM? (Choose three.)
- A. account
- B. password
- C. cache
- D. session
- E. authentication
正解:A、B、D
解説:
Pluggable Authentication Modules (PAM) provides a system of libraries that handle the authentication tasks of applications (services) on a Linux system. These libraries are loaded dynamically and can be configured in the /etc/pam.d directory or in /etc/pam.conf. The PAM modules are divided into four types:
auth (authentication): This module type is responsible for authenticating the user, setting up user credentials, and initiating a session.
account: This module type manages account policies such as password expiration, access restrictions, and checking user permissions.
password: This module type handles the updating of authentication tokens, such as passwords.
session: This module type manages tasks that need to be performed at the beginning and end of a session, like mounting directories or logging.
Reference:
Linux PAM Documentation
Understanding PAM
質問 # 31
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?
- A. ipa trust-add --type ad addom --admin Administrator --password
- B. trustmanager add --domain ad://addom --user Administrator -w
- C. net ad ipajoin addom -U Administrator -p
- D. ipa-ad --add-trust --account ADDOM\Administrator --query-password
- E. ipa ad join addom -U Administrator -W
正解:A
解説:
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.
Reference:
FreeIPA Trusts
FreeIPA Trust Management
質問 # 32
Which of the following commands sets up Samba 4 as an Active Domain Directory Controller for a new domain?
- A. smbcontrol dcpromo
- B. net ads prepare domain
- C. samldap-domainadd
- D. samba-dcpromo
- E. samba-tool domain provision
正解:E
解説:
samba-tool domain provision: This command sets up Samba 4 as an Active Directory Domain Controller.
Process:
Run samba-tool domain provision to start the setup.
Follow the prompts to specify the domain name, administrator password, and other required information.
Outcome: This command initializes the Samba server as a new domain controller for a new domain, configuring the necessary services and databases.
Reference:
Samba Active Directory Domain Controller
質問 # 33
What is true about the container CN=Users in an Active Directory LDAP tree? (Choose two.)
- A. The container can only contain user object but no user groups.
- B. New users are by default created in this container.
- C. New users are created here and must be moved to another container before they can log in.
- D. GPOs cannot be assigned to this container.
- E. Users outside of this container cannot log into any member computer of the domain.
正解:B、D
解説:
CN=Users Container:
GPOs: Group Policy Objects (GPOs) cannot be linked to this container because it is not an Organizational Unit (OU). GPOs can only be applied to OUs.
Default Location: New users are created in the CN=Users container by default when using standard Active Directory tools unless specified otherwise.
Other Options:
Users outside this container can log in.
The container can contain both user objects and user groups.
Users created here do not need to be moved to log in.
Reference:
Active Directory Containers and OUs
質問 # 34
Which of the following are valid Samba backends to store user and group information? (Choose two.)
- A. smb
- B. krb
- C. smbpasswd
- D. ldapsam
- E. sdb
正解:C、D
解説:
smbpasswd: This backend uses the smbpasswd file to store user and group information. It is a simple plaintext file format that holds password hashes and other account information.
ldapsam: This backend utilizes LDAP (Lightweight Directory Access Protocol) to store user and group information. LDAP is a more scalable and flexible option suitable for larger environments.
Other Options:
sdb, krb, smb: These are not valid Samba backends for storing user and group information.
Reference:
Samba User and Group Database Backends
質問 # 35
Which of the following commands adds a forward DNS record named fileserver01 pointing to the IPv6 address 2001:db8::190 into the DNS zone samba.private on the Samba 4 server dc1?
- A. samba-dns dynupdate -S dc1 -U Administrator -h fileserver01.samba.private -t AAAA -V 2001:db8::190
- B. nsupdatesmb -U Administrator //dc1/samba.private/fileserver01 add AAAA 2001:db8::190
- C. net dns -S dc1 -U Administrator addrecord fileserver01.samba.private AAAA 2001:db8::190
- D. dnstool -f dns.tdb add fileserver01.samba.private AAAA 2001:db8::190 -U Administrator
- E. samba-tool dns add dc1 samba.private fileserver01 AAAA 2001:db8::190 -U Administrator
正解:E
解説:
Command The samba-tool dns add command is used to add DNS records in Samba.
Parameters:
dc1: Specifies the Samba DNS server.
samba.private: The DNS zone.
fileserver01: The hostname for the new DNS record.
AAAA: Specifies that the record is for an IPv6 address.
2001:db8::190: The IPv6 address to be assigned to the hostname.
-U Administrator: Specifies the user performing the operation, in this case, the Administrator.
Usage: This command properly adds a forward DNS record for fileserver01 with the specified IPv6 address into the samba.private zone on the server dc1.
Reference:
Samba DNS Administration
質問 # 36
Which of the following commands open NFSv4 ACLs in an editor? (Choose two.)
- A. nfs4_chmod -i
- B. nfs4_conf
- C. nfs4_editfacl
- D. nfs4_stat -e --acl
- E. nfs4_setfacl -e
正解:C、E
解説:
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.
Reference:
NFSv4 ACL Tools Documentation
NFSv4 ACLs
質問 # 37
Which of the following commands can be used to join the local Samba server as a member to the domain samba.private?
- A. samba-tool member add samba.private
- B. samba-tool join samba.private member
- C. samba-tool node set-domain samba.private
- D. samba-tool domjoin samba.private
- E. samba-tool domain join samba.private member
正解:E
解説:
Understanding Samba Domain Join: Joining a Samba server to a domain allows it to authenticate and provide resources to users of that domain.
Command Breakdown: The correct command format for joining a Samba server as a member of a domain involves the "domain join" action followed by the domain name and the role. In this case, "samba.private" is the domain name, and "member" specifies the role.
Command
samba-tool domain join samba.private member:
samba-tool: A command-line utility for managing Samba.
domain join: Specifies the action of joining a domain.
samba.private: The domain to join.
member: The role within the domain.
Reference:
Samba Wiki - Samba Tool
質問 # 38
......
2024年最新の問題LPIC Level 3合格目指して300-300リアル試験をマスターせよ!:https://jp.fast2test.com/300-300-premium-file.html