更新された2025年03月テストエンジンに練習300-300テスト問題
300-300リアル試験問題テストエンジン問題集トレーニングには55問あります
LPI 300-300(LPIC-3試験300:混合環境、バージョン3.0)認定試験は、混合環境の管理と維持の専門知識を実証したい経験豊富なLinuxの専門家向けに設計された高度なレベルの認定試験です。この認定試験は、Linux Professional Institute(LPI)が提供するLPIC-3認定プログラムの一部です。この試験では、幅広いトピックをカバーし、複雑な混合環境を構成、管理、およびトラブルシューティングする候補者の能力を検証します。
質問 # 18
Which of the following lines is missing in the given [printers] share definition?
- A. print script = /usr/bin/lp -d %P %s
- B. printable = yes
- C. printcap name = cups
- D. load printers = yes
- E. print admin = Administrator, root, @lpadmin
正解:B
解説:
In the context of a Samba configuration for printer shares, the [printers] section usually requires the printable = yes directive to indicate that the share is meant for printing. Without this directive, Samba would not treat the share as a printer share, even if other settings like path are configured properly.
The given snippet is:
The line printable = yes is missing and is essential for defining a printer share.
Reference:
Samba Official Documentation - Printer Sharing
質問 # 19
In case the following parameters are set in a Samba file share configuration:
create mask = 711
force create mode = 750
What are the effective permissions of a file created with the permissions 777?
- A. 0
- B. 1
- C. 2
- D. 066
- E. 027
正解:A
解説:
The effective permissions of a file created with the permissions 777 can be calculated considering the create mask and force create mode.
create mask = 711 implies that the permission bits are ANDed with 0711, i.e., only the owner can read, write, and execute.
force create mode = 750 implies that certain permission bits are always set, specifically 0750, i.e., read, write, and execute for the owner, and read and execute for the group.
The create mask reduces the permissions to 0711, and then force create mode adds the 0750 mask to the result.
Original permission: 777 AND with create mask (711): 711 OR with force create mode (750): 751 Thus, the effective permission is 751.
Reference:
Samba smb.conf man page - create mask
質問 # 20
Which command creates a consistent copy of LDB files?
- A. samba-backup
- B. tdbbackup
- C. ldbsync
- D. ldbbackup
- E. smbbackup
正解:D
質問 # 21
Which of the following names identify services within a SSSD configuration file? (Choose three.)
- A. smb
- B. ssh
- C. sudo
- D. kerberos
- E. nss
正解:C、D、E
解説:
In the SSSD (System Security Services Daemon) configuration file, various services can be defined to handle different types of access and authentication. The services listed in the SSSD configuration file under the [sssd] section can include:
kerberos: This service allows SSSD to handle Kerberos authentication.
nss (Name Service Switch): This service provides name resolution and manages user and group information.
sudo: This service enables SSSD to provide sudo rules based on the identity provider.
These services are specified in the services attribute of the [sssd] section of the sssd.conf file.
Example:
[sssd] services = nss, pam, sudo domains = LDAP [nss] filter_users = root filter_groups = root [sudo] sudo_provider = ldap Reference:
SSSD Services
SSSD Man Pages
質問 # 22
Which of the following statements is true about raw printing with Samba?
- A. Samba converts printer-specific jobs to raw data to make them printable on an arbitrary printer.
- B. Printing jobs are always submitted to Samba in raw postscript.
- C. Print jobs are submitted as vector files, including font files, which are rendered and printed by Samba.
- D. Printing jobs are rendered on the client and passed on to the printer by Samba.
- E. Any printed file, e.g. an office document, is submitted to the printer without any further processing in exactly the same bit sequence as it is stored on disk.
正解:D
解説:
Client-Side Rendering: In Samba, raw printing means that the client machine renders the print job, which includes converting it to a printer-ready format.
Transmission to Printer: This rendered print job is then sent to the Samba server without further processing or alteration. Samba acts merely as a pass-through, sending the job directly to the printer.
Advantages: This method offloads the rendering process from the server to the client, which can be beneficial in environments with diverse printer types and models, reducing the processing load on the server.
Conclusion: Thus, the correct answer is that printing jobs are rendered on the client and passed on to the printer by Samba.
Reference:
Samba Printing Documentation
質問 # 23
Which of the following statements are true regarding the smbpasswd command? (Choose two.)
- A. The -x parameter removes an account from the Samba database.
- B. The -d parameter deletes an account from the Samba database.
- C. The -e parameter excludes an account from the Samba database.
- D. The -a parameter adds an account to the Samba database. If the account already exists, this parameter is ignored.
- E. smbpasswd changes only passwords on Samba domain controllers while DCs running Windows keep the old passwords.
正解:A、D
解説:
-x Parameter: This parameter is used to remove (delete) an account from the Samba database.
Example: smbpasswd -x username
-a Parameter: This parameter adds a new account to the Samba database. If the account already exists, it will update the account.
Example: smbpasswd -a username
Other Options:
-d Parameter: Disables (not deletes) an account.
-e Parameter: Enables a previously disabled account.
Password Synchronization: The smbpasswd command does not affect Windows domain controllers; it manages Samba-specific passwords.
Reference:
smbpasswd Command Documentation
質問 # 24
FILL BLANK
Which sub command of net groups commands related to an AD membership, as in the following example? (Specify ONLY the subcommand without any path or parameters.) net ___ join
正解:
解説:
ads
Explanation:
The net command is used to administer Samba and Windows servers. The subcommand ads is used in conjunction with the join command to join a Samba server to an Active Directory domain. The correct subcommand that fits the pattern net ___ join is ads.
Reference:
Samba net command man page
質問 # 25
Which of the following Group Policy Objects exist by default in an Active Directory domain? (Choose two.)
- A. Default Domain Controllers Policy
- B. Default Domain Policy
- C. Default Domain Firewall Policy
- D. Default Domain Print Driver Policy
- E. Default Domain File Access Policy
正解:A、B
解説:
Default Group Policy Objects in AD:
A . Default Domain Policy: This is a built-in GPO that is applied to all users and computers in the domain. It contains security settings, password policies, and other domain-wide configurations.
B . Default Domain Controllers Policy: This GPO is specifically applied to the Domain Controllers organizational unit (OU). It contains settings relevant to domain controllers, such as security settings and audit policies.
Reference:
Active Directory Group Policy documentation
Best practices for managing Group Policy in Active Directory
質問 # 26
What are benefits of registry based Samba configuration compared to file based configuration? (Choose three.)
- A. Configuration changes become effective immediately without a daemon reload.
- B. Specific attributes of LDAP objects in Active Directory can be overwritten in the configuration registry.
- C. The registry can be edited remotely without logging into the server.
- D. Registry based configuration supports advanced options which do not exist in smb.conf.
- E. Server processes require less time to start because they do not have to parse the configuration file.
正解:A、C、E
解説:
Remote Editing:
A . The registry can be edited remotely without logging into the server: One of the benefits of registry-based Samba configuration is that the registry can be edited remotely. This means administrators can make changes without needing to log into the server directly, facilitating easier and more flexible management.
Improved Startup Time:
C . Server processes require less time to start because they do not have to parse the configuration file: Registry-based configurations can reduce startup time because the Samba server processes do not need to parse a potentially complex smb.conf file. Instead, they access the configuration directly from the registry, which can be faster.
Immediate Effect of Configuration Changes:
D . Configuration changes become effective immediately without a daemon reload: Changes made in the registry are applied immediately and do not require a daemon reload. This can be very advantageous for administrators who need to make quick adjustments without interrupting the service.
Reference:
Samba documentation
Various Samba configuration tutorials and best practice guides
質問 # 27
In a Samba configuration file, which of the following variables represents the domain of the current user?
- A. %G
- B. %w
- C. %D
- D. %d
- E. %r
正解:C
解説:
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
質問 # 28
When using rsync to synchronize the SYSVOL share's contents between multiple Samba servers, which of the following precautions should be taken? (Choose three.)
- A. Make sure to make all changes to GPOs on the domain controller which is the replication source.
- B. Make sure that the SYSVOL share is active on only one domain controller.
- C. Overwrite the permissions of all files in the SYSVOL directory to be readable by root only after each sync.
- D. Make the SYSVOL share read only on all domain controllers but the one used as synchronization source.
- E. Synchronize from the domain controller which is the PDC emulator to the other domain controllers.
正解:A、D、E
解説:
When using rsync to synchronize the SYSVOL share's contents between multiple Samba servers, it's essential to ensure data consistency and avoid conflicts. The following precautions should be taken:
A . Synchronize from the domain controller which is the PDC emulator to the other domain controllers.
The PDC emulator is typically the authoritative source for certain domain-wide operations, making it the best source for SYSVOL synchronization.
C . Make the SYSVOL share read only on all domain controllers but the one used as synchronization source.
This prevents changes on other domain controllers that could cause inconsistencies.
E . Make sure to make all changes to GPOs on the domain controller which is the replication source.
Ensuring that all Group Policy Objects (GPOs) changes are made on the source controller prevents conflicts and ensures that all controllers have the latest configuration.
Reference:
Samba Documentation - SYSVOL Replication
質問 # 29
Which Samba utility, when launched with the appropriate parameters, generates the following output?
- A. getfacl
- B. smbxattr
- C. smbcacls
- D. smbfacl
- E. smbclient
正解: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
質問 # 30
Which of the following groups exists by default in an Active Directory domain?
- A. Domain Update Role Accounts
- B. Unassigned Users
- C. Domain 31aclclisc
- D. Domain Administrators
- E. Domain Users
正解:E
解説:
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
質問 # 31
FILL BLANK
What service name must be added to a database entry in /etc/nsswitch.conf to include SSSD as a source of information? (Specify ONLY the service name without any parameters.)
正解:
解説:
sss
Explanation:
Adding SSSD to /etc/nsswitch.conf:
To include SSSD (System Security Services Daemon) as a source of information in the /etc/nsswitch.conf file, the service name sss must be added. This is specified without any parameters. The sss service allows the system to retrieve information from various sources, such as LDAP, Kerberos, and others, as configured in SSSD.
Reference:
SSSD documentation
nsswitch.conf configuration guidelines
質問 # 32
Which parameter in a user object defines on which share the user's roaming profile is stored?
- A. homePath
- B. profilePath
- C. driveMap
- D. logonDrive
- E. autoMount
正解:B
解説:
The profilePath parameter in a user object specifies the path to the user's roaming profile. A roaming profile is a feature in Windows that allows user profile data to be stored on a network share so that users can access their profiles from any workstation within the network. By setting the profilePath, administrators can define where on the network the profile data is stored.
Reference:
Roaming User Profiles
User Account Properties
質問 # 33
Which parameters are available for samba-tool group add? (Choose two.)
- A. --login-script
- B. --default-gpo
- C. --sid
- D. --groupou
- E. --group-type
正解:C、E
解説:
The samba-tool group add command is used to add a new group to the Samba Active Directory. This command has several parameters to customize the group creation process. Two of the available parameters are --sid and --group-type.
--sid:
The --sid parameter allows you to specify a Security Identifier (SID) for the new group.
Example usage:
samba-tool group add mygroup --sid=S-1-5-21-1234567890-123456789-1234567890-1234 This command will create a new group named mygroup with the specified SID.
--group-type:
The --group-type parameter allows you to specify the type of the group being created. This can be a security group or a distribution group.
Example usage:
samba-tool group add mygroup --group-type=security
This command will create a new security group named mygroup.
Reference:
Samba Official Documentation: samba-tool
Samba Active Directory Management: Managing Groups
質問 # 34
Which of the following commands connects to the share Share on the Windows Server 2012 R2 server fs1 using the SMB3 protocol?
- A. smbclient --max-protocol SMB3 //fs1/Share
- B. smb3client //fs1/Share
- C. cifsclient //fs1/Share
- D. smbclient --w2k12 //fs1/share
- E. smbclient -p 3 //fs1/Share
正解:A
解説:
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
質問 # 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. net dns -S dc1 -U Administrator addrecord fileserver01.samba.private AAAA 2001:db8::190
- B. nsupdatesmb -U Administrator //dc1/samba.private/fileserver01 add AAAA 2001:db8::190
- C. samba-tool dns add dc1 samba.private fileserver01 AAAA 2001:db8::190 -U Administrator
- D. samba-dns dynupdate -S dc1 -U Administrator -h fileserver01.samba.private -t AAAA -V 2001:db8::190
- E. dnstool -f dns.tdb add fileserver01.samba.private AAAA 2001:db8::190 -U Administrator
正解:C
解説:
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 sections is always present in sssd.conf?
- A. [sssd]
- B. [ad]
- C. [autn]
- D. [krb5]
- E. [local]
正解:A
解説:
The sssd.conf file is the configuration file for the System Security Services Daemon (SSSD). SSSD provides access to different identity and authentication providers. The configuration file typically contains multiple sections, but the [sssd] section is always present. This section provides global options that apply to all other sections of the file.
Example:
[sssd] config_file_version = 2 services = nss, pam domains = LDAP
Reference:
SSSD Configuration
SSSD Man Pages
質問 # 37
What is a correct statement about FreeIPA ID views?
- A. ID views are used to modify sudo rules on a per host base.
- B. ID views always manage IDs from 32768 to 65536.
- C. ID views provide a consecutive numberspace of UIDs and GIDs for FreeIPA users and groups.
- D. ID views are the FreeIPA equivalent to Active Directory SIDs.
- E. ID views specify new values for attributes of a POSIX user or group.
正解:E
解説:
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.
Reference:
FreeIPA: ID Views
FreeIPA Documentation
質問 # 38
Which parameter within a share definition in the Samba configuration makes Samba only show files and directories on a file share which a user can access?
- A. hide unreadable = yes
- B. browse mask = 000
- C. valid files = read,write
- D. browseable = readable
- E. display mode = 100
正解:A
解説:
hide unreadable: This smb.conf option ensures that only files and directories that the user has permissions to access are visible in the file share.
Functionality: When set to yes, files and directories that the user cannot read (due to permissions) will be hidden from their view.
Security and Usability: This helps in enhancing both security and usability by preventing users from seeing files they cannot access, reducing clutter and potential confusion.
Example Configuration:
[example_share] hide unreadable = yes
Reference:
Samba smb.conf Documentation
質問 # 39
Which of the following options can be used to limit access to a Samba share? (Choose two.)
- A. untrusted users
- B. valid groups
- C. write list
- D. accept list
- E. valid users
正解: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
質問 # 40
......
300-300実際の問題解答PDFには100%カバー率リアル試験問題:https://jp.fast2test.com/300-300-premium-file.html