
Fast2test 300-300日本語問題集55問でLPIC Level 3を確実実践
リアル最新300-300日本語試験問題300-300日本語問題集
質問 # 14
Samba 共有へのアクセスを制限するために使用できるオプションは次のどれですか? (2 つ選択してください。)
- A. 有効なグループ
- B. リストを受け入れる
- C. リストを書き込む
- D. 有効なユーザー
- E. 信頼できないユーザー
正解:A、D
解説:
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
質問 # 15
smb.conf の [homes] セクションに、browseable = no というパラメータが含まれています。その結果、どのような結果が生じますか? (2 つ選択してください。)
- A. Samba サーバーを参照するとき、現在のユーザーにちなんで名付けられた共有は表示されません。
- B. Samba サーバーを参照する場合、ユーザーはホーム共有を開くことができますが、ホーム ディレクトリの内容は表示できません。
- C. Samba サーバーを参照すると、homes という共有が表示されません。
- D. Samba サーバーが Active Director/ドメインの一部である場合、グループ Se3rowsingUsers 内のユーザーのみが homes 共有を参照できます。
- E. この共有を UNC パスで明示的に開くと、homes 共有に直接アクセスできます。
正解:A、E
解説:
When browseable = no is set in the [homes] section of smb.conf, it prevents the share from appearing in the list of available shares when users browse the server. However, users can still access their home directories if they specify the correct UNC path directly.
A . When browsing the Samba server, there is no visible share named after the current user.
The share will not appear in the list of shares visible to the user during browsing.
D . The homes share can be directly accessed by specifically opening this share by its UNC path.
Users can still access the share by directly typing the path in the form \\servername\username.
Reference:
Samba Official Documentation - Home Directories
質問 # 16
空欄を埋める
Samba 構成ファイルの構文の正確性をチェックするコマンドは何ですか? (パスやパラメータなしでコマンドのみを指定します。)
正解:
解説:
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
質問 # 17
次の smb.conf オプションのうち、通常のファイル共有を DFS 共有に変換するものはどれですか?
- A. msdfs root = yes
- B. proxy share = yes
- C. follow symlinks = yes
- D. addfs support = yes
- E. dfs forward = yes
正解:A
解説:
DFS (Distributed File System): This allows for the organization of shared files on multiple servers in a distributed file system.
msdfs root = yes: This option in the Samba configuration file (smb.conf) enables a share to be a DFS root. This means the share can provide access to multiple other shares possibly located on different servers, creating a single point of access.
Functionality: When enabled, users accessing this DFS root can be redirected transparently to the actual location of the shared files, which might be spread across different servers.
Setup: To configure a DFS root, add msdfs root = yes to the specific share definition in smb.conf.
Reference:
Samba DFS Configuration
質問 # 18
次のコマンドのうち、エディターで NFSv4 ACL を開くものはどれですか? (2 つ選択してください。)
- A. nfs4_setfacl -e
- B. nfs4_conf
- C. nfs4_chmod -i
- D. nfs4_editfacl
- E. nfs4_stat -e --acl
正解:A、D
解説:
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
質問 # 19
次のコマンドのうち、SMB3 プロトコルを使用して Windows Server 2012 R2 サーバー fs1 上の共有 Share に接続するものはどれですか。
- A. smbclient --max-protocol SMB3 //fs1/Share
- B. smbclient -p 3 //fs1/Share
- C. smbclient --w2k12 //fs1/share
- D. smb3client //fs1/Share
- E. cifsclient //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
質問 # 20
smbpasswd コマンドに関して正しい記述はどれですか? (2 つ選択してください。)
- A. -a パラメータは、Samba データベースにアカウントを追加します。アカウントがすでに存在する場合、このパラメータは無視されます。
- B. -d パラメータは、Samba データベースからアカウントを削除します。
- C. -x パラメータは、Samba データベースからアカウントを削除します。
- D. -e パラメータは、Samba データベースからアカウントを除外します。
- E. smbpasswd は Samba ドメイン コントローラー上のパスワードのみを変更しますが、Windows を実行している DC は古いパスワードを保持します。
正解:A、C
解説:
-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
質問 # 21
Active Directory LDAP ツリー内のコンテナー CN=Users について正しいのは何ですか? (2 つ選択してください。)
- A. このコンテナの外部のユーザーは、ドメインのどのメンバー コンピュータにもログインできません。
- B. このコンテナーに GPO を割り当てることはできません。
- C. ここで新しいユーザーが作成され、ログインする前に別のコンテナーに移動する必要があります。
- D. コンテナーにはユーザー オブジェクトのみを含めることができ、ユーザー グループは含められません。
- E. デフォルトでは、新しいユーザーはこのコンテナーに作成されます。
正解:B、E
解説:
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
質問 # 22
changetype:modify を使用する LDIF ファイルでは、次のオプションのうちどれを使用できますか? (2 つ選択してください。)
- A. 追加
- B. 置換
- C. パッチ
- D. 上書き
- E. 生成する
正解:A、B
解説:
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
次のグループのうち、Active Directory ドメインにデフォルトで存在するものはどれですか?
- A. 割り当てられていないユーザー
- B. ドメイン 31aclclisc
- C. ドメインユーザー
- D. ドメイン更新ロールアカウント
- E. ドメイン管理者
正解:C
解説:
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
質問 # 24
どのコマンドが LDB ファイルの一貫したコピーを作成しますか?
- A. tdbbackup
- B. ldbsync
- C. samba-backup
- D. smbbackup
- E. ldbbackup
正解:E
質問 # 25
ファイルベースの構成と比較して、レジストリベースの Samba 構成の利点は何ですか? (3 つ選択してください。)
- A. Active Directory 内の LDAP オブジェクトの特定の属性は、構成レジストリで上書きできます。
- B. レジストリ ベースの構成では、smb.conf に存在しない高度なオプションがサポートされます。
- C. サーバーにログインせずにレジストリをリモートで編集できます。
- D. 構成の変更はデーモンをリロードせずにすぐに有効になります。
- E. サーバー プロセスは構成ファイルを解析する必要がないため、起動にかかる時間が短くなります。
正解:C、D、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
質問 # 26
次のコマンドのうち、SMB 共有を処理する Samba デーモンの実行中のインスタンスをすべて終了するものはどれですか。
- A. smbcontrol smbd シャットダウン
- B. smbcontrol samba シャットダウン
- C. smbcontrol cifs 停止
- D. smbcontrol nmbd シャットダウン
- E. smbcontrol シャットダウン
正解:A
解説:
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
質問 # 27
空欄を埋めてください
sms.conf のどのオプションがファイル共有のデータが保存される場所を定義しますか? (値を指定せずにオプション名のみを指定します。)
正解:
解説:
path
Explanation:
path Option: This parameter in smb.conf specifies the directory on the server where the shared data is stored.
Usage: Within a share definition, the path option points to the actual location on the filesystem that Samba will share.
Example Configuration:
[example_share] path = /srv/samba/share
Importance: Defining the correct path is crucial for ensuring that the share points to the intended directory with the appropriate data and permissions.
Reference:
Samba smb.conf man page
質問 # 28
次のキーワードのうち、PAM のモジュール タイプはどれですか? (3 つ選択してください。)
- A. 認証
- B. キャッシュ
- C. セッション
- D. パスワード
- E. アカウント
正解:C、D、E
解説:
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
質問 # 29
......
300-300日本語別格な問題集で最上級の成績にさせる300-300日本語問題:https://jp.fast2test.com/300-300J-premium-file.html