Free 300-300 Exam Braindumps (page: 7)

Page 6 of 15

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?

  1. net dns -S dc1 -U Administrator addrecord fileserver01.samba.private AAAA 2001:db8::190
  2. dnstool -f dns.tdb add fileserver01.samba.private AAAA 2001:db8::190 -U Administrator
  3. samba-dns dynupdate -S dc1 -U Administrator -h fileserver01.samba.private -t AAAA -V 2001:db8::190
  4. nsupdatesmb -U Administrator //dc1/samba.private/fileserver01 add AAAA 2001:db8::190
  5. samba-tool dns add dc1 samba.private fileserver01 AAAA 2001:db8::190 -U Administrator

Answer(s): E

Explanation:

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



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?

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. The additional DNS server is configured in the option dns forwarder in smb.conf. All clients query the Samba server for any DNS information.

Answer(s): E

Explanation:

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



Which of the following commands sets up Samba 4 as an Active Domain Directory Controller for a new domain?

  1. samldap-domainadd
  2. net ads prepare domain
  3. samba-tool domain provision
  4. smbcontrol dcpromo
  5. samba-dcpromo

Answer(s): C

Explanation:

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



What is true about the container CN=Users in an Active Directory LDAP tree? (Choose two.)

  1. GPOs cannot be assigned to this container.
  2. Users outside of this container cannot log into any member computer of the domain.
  3. The container can only contain user object but no user groups.
  4. New users are created here and must be moved to another container before they can log in.
  5. New users are by default created in this container.

Answer(s): A,E

Explanation:

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






Post your Comments and Discuss LPI 300-300 exam with other Community members:

300-300 Discussions & Posts