Tuesday, December 15, 2015

Samba test answers of 2016.

In this post you can find Complete and recently updated Correct Question and answers of Samba. All Answers updated regularly with new questions. Upwork Samba test answers of 2016.



Question:* What does PDC stand for?

Answer: • Primary Domain Controller

Question:* Liz wants to grant administrative access to three users. How should she edit the smb.conf file?

Answer: • admin users =sam, bob, erica

Question:* Parameter values in smb.conf file fall into which of these categories?

Answer: • All of the above

Question:* True or False? Samba provides file and print services for various Microsoft Windows clients and can integrate with a Windows Server domain.

Answer: • True

Question:* Which of the following does SWAT provide for administrators maintaining a Samba server?

Answer: • An easy-to-use, Web-based tool

Question:* Which of the following methods should be used to make changes to the smbpasswd file?

Answer: • smbpasswd

Question:* Is smbd a Samba Daemon?

Answer: • True

Question:* What is a Samba PDC?

Answer: • Primary Domain Controller

Question:* What is the Web-based interface that can be used to facilitate the configuration of Samba?

Answer: • SWAT

Question:* Which of the following is not a net groupmap command?

Answer: • Post

Question:* To improve Samba server performance on Linux an administrator can add the following option to smb.conf

Answer: • socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Question:* Which of the following best describes the function of nmbd?

Answer: • It provides NetBIOS name resolution services to clients

Question:* A system administrator is preparing to take down the system for routine maintenance. The network is primarily used for Samba services. Before upgrading to the latest Linux kernel, the administrator wants to make sure there are no remaining connections. Which of the following programs can the administrator use to see the open connections?

Answer: • smbstatus

Question:* Which of the following is a Domain Controller Type?

Answer: • All of the above

Question:* Which of the following is a function of a WINS server?

Answer: • Map IP addresses to NetBIOS names

Question:* Which of the following best describes the function of smbd?

Answer: • It provides file sharing and print services to clients

Question:* In the context of shared libraries (PAM) stands for?

Answer: • Pluggable Authentication Modules

Question:* True or False? In share-level security, the client authenticates itself separately for each share.

Answer: • True

Question:* Which of the following Samba programs will listen for NetBIOS over IP name service requests?

Answer: • nmbd

Question:* Pauline is the system administrator of a Local Area Network (LAN) that contains Linux and Windows clients. The LAN uses a file server that runs on a Windows NT server. In order to have fewer servers on the network, Pauline wants to place all Linux users' home directories on the Windows server. Can the Linux machines be configured so that this is possible Why or why not?

Answer: • Yes, an entry can be placed in /etc/fstab to mount smb file systems

Question:* Two daemons, smbd and nmbd, provide communication between Windows and Linux machines. Each daemon controls a portion of the work. Which of the following statements correctly match these daemons with the jobs they perform?

Answer: • smbd performs file and print sharing. & nmbd performs NetBIOS lookups.

Question:* Diego, an administrator, has set up a Samba server to provide Windows users access to their Linux home directories. In the [homes] share, which of the following should he use to define the path of the home directories as "/home/samba/<user name>"?

Answer: • path = /home/samba/%u

Question:* Hans wants to change his SMB password on the local system. Which of the following should he type to do this?

Answer: • smbpasswd <username>

Question:* Which of the following best describes the number of smbd processes that should be running at one time on a properly configured Samba server?

Answer: • At least one, and an additional process for each client connected to Samba

Question:* Phillipe, an administrator, would like to configure Samba as a domain client and has added the following lines to smb.conf. The domain client is not functioning properly. What is wrong with this section of his smb.conf file? security = domain netbios name = bigsamba domain name = mydomain machine password timeout = 100

Answer: • Line 3 should be "workgroup =mydomain"

Question:* Ron, a Windows user on his local network, asked his co-worker Ned to save a fle on the file server (a Linux machine). Ned saves the file in the specified directory and sends Ron a message to tell him it is there. Ron looks in the file server share, but he cannot find the file until he checks it 20 minutes later. Why is Ron having this problem?

Answer: • The "change notify timeout" parameter of the smb.conf file is set to 1200

Question:* When MS Windows machines interact with each other, with other servers, and with domain controllers as standalone systems, they are more commonly called:

Answer: • Workgroup members

Question:* In order for encrypted passwords to be available to Samba, which of the following lines should appear in smb.conf?

Answer: • smb passwd file = /usr/local/etc/smbpasswd & encrypt passwords = yes

Question:* which is equivalent to: comment = this is not a comment

Answer: • comment = this is not \ a comment

Question:* An administrator has recently discovered many malicious attacks on a Samba server. The attacks originate from two rogue hosts (badhost1 and badhost2) in the NIS netgroup called "nisnet". Which of the following smb.conf entries will allow any host from nisnet to access the Samba server except badhost1 and badhost2?

Answer: • hosts allow = @nisnet hosts deny = badhost1, badhost2

Question:* Which of the following best describes the function of the global max xmit parameter in smb.conf?

Answer: • It defines the maximum packet size that Samba exchanges with a client

Question:* A system administrator has Samba running on a machine that has direct access to the Internet, as well as access to the local area network through two different network interfaces. As part of the configuration, the administrator adds the lines below to smb.conf. Which of the following describes the function of these two lines? interfaces = 192.168.1.0/255.255.255.0 bind interfaces only = yes

Answer: • Hosts outside the local area network will not be allowed to connect to the Samba shares.

Question:* When setting up a new print share what piece of information is not needed?

Answer: • The IP address associated with each machine

Question:* The system administrator is trying to set up a smbpasswd file from the /etc/passwd file. The system is not using NIS. Which of the following is the proper command line to produce the smbpasswd file in the "/usr/local/samba/private/" directory?

Answer: • cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd

Question:* Which of these are NOT advantages to non-encrypted passwords?

Answer: • Someone using a network sniffer cannot just record passwords going to the SMB server.

Question:* Which of the following authentication methods are valid options in smb.conf?

Answer: • guest, sam, winbind, ntdomain, trustdomain

Question:* What is the function of the smbclient command?

Answer: • It provides access to shared resources on a Windows computer

Question:* If you were to configure your disk share options with both: read only = yes, and write ok = yes in that order what would happen?

Answer: • The client will be able to write to the share

Question:* Isabella has recently enabled SSL support on a large Samba server and has issued the command below. What did Isabella accomplish with this command? ssleay ca -days 100 -infiles client1-csr > client1.pem

Answer: • She has "signed" the client (client1) certificate and authorized it to use the server

Question:* What command would be used to prevent a user named 'smitty' from logging in?

Answer: • root# smbpasswd -d smitty

Question:* Which of the following does the "create mask" parameter allow Samba to do?

Answer: • It allows Samba to map MS-DOS modes toUnix permissions.

Question:* An administrator has modified his smb.conf file with regards to the server's behavior during elections for preferred master browser. The two modified lines listed below cause which of the following to take place? preferred master = true domain master = yes

Answer: • nmbd will hold elections with a guarantee of winning.

Question:* Which of the following commands will be executed first by Samba?

Answer: • rootpreexec = mkdir /home/temp

Question:* After upgrading Samba to a newer version, older Windows 95, 98 or ME clients fail to access shares on Samba server. To fix this issue an administrator should add the following lines to the [global] section of smb.conf, then restart Samba and re-create user passwords.

Answer: • lanman auth = yes client lanman auth = yes client plaintext auth = yes

Question:* Instead of linking all Samba commands to paths already defined in his environment, Fred wants to include /usr/local/samba/bin in his path. Which of the following will allow Fred to do this?

Answer: • Edit the /etc/profile file to change Fred's environment to look in /usr/local/samba/bin for commands

Question:* Parameter names are case sensitive

Answer: • False

Question:* Palmer, an administrator working on a Linux/Windows NT network, has issued the command below. What is he doing? rpcclient -S '\\NTmachine' -U administrator -W NTDOM

Answer: • He is connecting to a Windows NT machine called "NTmachine" as administrator.

Question:* When adding static entries to your Samba WINS server, entries in wins.dat take the form of:

Answer: • "NAME#TYPE" TTL ADDRESS+ FLAGS

Question:* The system administrator is trying to set up a smbpasswd file from the /etc/passwd file. The system is not using NIS. Which of the following is the proper command line to produce the smbpasswd file in the "/usr/local/samba/private/" directory?

Answer: • cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd

Question:* Dora, an administrator, would like to temporarily disable a share so she can change its contents. Which of the following should she add to smb.conf in the share's section to do this?

Answer: • available = no

Question:* All MS Windows networking uses ______ messaging.

Answer: • SMB-based

Question:* When dealing with client variables, which variable indicates the IP address of the interface on the server to which the client connected

Answer: • %i

Question:* An administrator needs to define how files written to the server by users are handled. He has added the following lines to his smb.conf file in order to do this. Considering these lines, what will be the permissions on a file that a user sets to 555? security mask = 0777 force security mode = 0 directory security mask = 0777 force directory security mode = 0

Answer: • 555

Question:* Maynard is optimizing his Samba services to provide ease of use as well as security. He has added the line below to /etc/auto.misc. Which of the following best describes the purpose of this addition? docs -fstype=smb, username=bob, password=2ghtex9s ://servermain/docs

Answer: • This allows the "docs" share to beautomounted by "bob" on login

Question:* A username map is?

Answer: • a mechanism for translating a login name sent by a client in the session setup request to a local Unix username.

Question:* starting a sentence with # is the only way to add a single line comment in the smb.conf file

Answer: • False

Question:* Many smb.conf parameters take list arguments such as the hide files parameter. From the following, select the "hide files" parameter with the proper syntax that would prevent users from accessing files with .mbx extensions and files beginning with samba.

Answer: • hide files = *.mbx / samba.*

Question:* Annie is using Windows 95. In order for her to connect to the Samba server, she needs to run the regedit program and add an entry to the Windows registry. What type of registry entry should Annie add, and what should its value be?

Answer: • Enter a new DWORD Value named "EnablePlainTextPassword" with a value of one.

Question:* Molly, an administrator, would like to poll the network to ensure that Samba is working properly. Which of the following commands would allow her to do this?

Answer: • nmblookup -d 2 "*"

Question:* A Samba server is experiencing packet loss and data corruption when multiple users access a file simultaneously. Which of the following, if added to smb.conf, would most likely fix the problem?

Answer: • fakeoplocks = no

Question:* Which of the following is FALSE regarding NetBIOS?

Answer: • The first character of a NetBIOS name is known as a NetBIOS prefix.

Question:* Pete wants to configure Samba to be a WINS server. Which of the following must he do in the smb.conf file for Samba to do this?

Answer: • Make sure the wins server parameter is set to "wins server = none" and change the wins support parameter to "wins support = yes." Configure the Windows 95/98 and NT clients

Question:* The Samba server (luke.linuxsite.org) using the smb.conf file below is experiencing problems. What is most likely wrong with the smb.conf file? [global] netbios name = luke workgroup = network1 security = share load printers = yes log file = /home/admin/ max log size = 10000 wins support = yes wins server = samba.linuxsite.org bind interfaces only = yes

Answer: • The wins support parameter is set to "yes" , and the wins server parameter is set



No comments:

HTML5 Upwork (oDesk) TEST ANSWERS 2022

HTML5 Upwork (oDesk) TEST ANSWERS 2022 Question: Which of the following is the best method to detect HTML5 Canvas support in web br...

Disqus for upwork test answers