Elance Samba Test Answers



What does PDC stand for?

Primary Domain Controller
Principle Domain Catalyst
Principle Domain Catalyst
Primary Disk Controller

 

 

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

root users =sam, bob, erica
users =sam, bob, erica
superusers = sam, bob, erica
admin users =sam, bob, erica

 

 

Which of the following best describes the function of smbd?

It provides NetBIOS name resolution services to clients
It provides Active Directory services to clients
It provides LDAP services to clients
It provides file sharing and print services to clients

 

 

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

A simple command-line sharing monitor
An alternative to Samba
A powerful security system
An easy-to-use, Web-based tool

 

 

Which of the following is a Domain Controller Type?

Backup Domain Controller
ADS Domain Controller
All of the above
Primary Domain Controller

 

 

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

True
False

 

 

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?

smbrowser
route
traceroute
smbstatus
ping

 

 

Which of the following best describes the function of nmbd?

It provides Active Directory services to clients
It provides file sharing and print services to clients
It provides LDAP services to clients
It provides NetBIOS name resolution services to clients

 

 

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

/etc/passwd
/etc/shadow
addgrp
adduser
smbpasswd

 

 

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

SWAT
SWOT
L-Soft
Archy

 

 

Which of the following is not a net groupmap command?

delete
list
add
Post

 

 

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

encrypt passwords = false
obey pam restrictions = no
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
syslog only = yes

 

 

Is smbd a Samba Daemon?

FALSE
True

 

 

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

True
False

 

 

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

Pluggable Authentication Mode
Pluggable Administrative Mode
Pluggable Authentication Modules
Plug And Mend

 

 

Which of the following is a function of a WINS server?

Map IP addresses to NetBIOS names
Map IP addresses to IPX names
Map IP addresses to logical addresses
Map IP addresses to subnet addresses
Map IP addresses to domain names

 

 

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

Integer
Boolean
Character String or List
All of the above

 

 

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?

Yes, by mounting the remote file system using NTFS instead ofsmb
No, only localsmb file systems may be mounted on Linux systems
Yes, an entry can be placed in /etc/fstab to mount smb file systems
No,smb file systems cannot be mounted on Linux systems

 

 

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

swat
nmbd
smbd
named

 

 

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?

smbd performs file and print sharing. & nmbd performs NetBIOS lookups.
smbd performs NetBIOS lookups. & nmbd performs file and print sharing.

 

 

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>"?

path = /home/samba/%n
path = /home/samba/%q
path = /home/samba/%s
path = /home/samba/%u
path = /home/samba/%h

 

 

What is a Samba PDC?

Preliminary Dos Contributor
Primary Domain Controller
Primary Data Class
Post Data Controller

 

 

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

encryptpasswd = yes & encrypt = /etc/shadow
encryptpass = /usr/local/etc/smbpasswd
smb passwd file = /usr/local/etc/smbpasswd & encrypt passwords = yes

 

 

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

At least one, and an additional one for each printer being used by Samba
At least one, and an additional process for each client connected to Samba
One for each client connected to Samba

 

 

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?

The "deadtime" parameter of the smb.conf file is set to 1200
The "change notify timeout" parameter of the smb.conf file is set to 1200
The "browse list" parameter of thesmb.conf file is set to 1200
The "browseable" parameter of the smb.conf file is set to 1200

 

 

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

Line 4 should be "machine password timeout = true"
Line 2 should be "netbios name = true"
Line 1 should be "domain = security"
Line 3 should be "workgroup =mydomain"

 

 

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

smbpasswd -U <username>
smbpasswd <username>
smbpasswd -U -F <username>
smbpasswd -f /etc/passwd <username>

 

 

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

Controller participants
Workgroup members
Full participants
Domain members

 

 

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

Samba will use the IP address 192.168.1.0 when making DNS requests.
Samba will only serve requests to the IP address 192.168.1.0.
Hosts outside the local area network will not be allowed to connect to the Samba shares.
Samba will not accept connection requests from the 192.168.1 subnet.

 

 

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

Use of other services (such as Telnet and FTP) that send plaintext passwords over the network makes sending them for SMB easy.
Plaintext passwords use the same password file as other UNIX services, such as Login and FTP.
Plaintext passwords are not kept on disk and are not cached in memory.
Someone using a network sniffer cannot just record passwords going to the SMB server.

 

 

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

comment = this is not \ a comment
comment = this is not &amp a comment
comment = this is not / a comment
comment = this is not /n a comment

 

 

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?

hosts allow = @nisnet hosts deny = ALL EXCEPT badhost1, badhost2
hosts allow = @nisnet hosts deny = badhost1, badhost2
hosts allow = *.nisnet hosts deny = !badhost1, !badhost2
hosts allow =nisnet EXCEPT badhost1, badhost2 hosts deny = ALL

 

 

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

guest, isam, ad, ntdomain, trustdomain
user, sam, ad, domain, localdomain
user, guest, winbind, ads, domain
guest, sam, winbind, ntdomain, trustdomain
user, isam, winbind, ads, domain

 

 

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

It defines the maximum packet size that Samba exchanges with a client
It defines the maximum number of TCP ACKs the server can transmit to the clients
It defines the maximum NetBIOS queries a server can accept
It defines the maximum number of packets that are stored in RAM before they are written to disk

 

 

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

The IP address associated with each machine
The name of the printer
The name of the print share
The type of printing supported by the OS for this queue

 

 

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?

Edit thesmb.conf file to include the parameter "include=/usr/local/samba/bin"
Edit the /etc/samba/smb.conf file to change Fred's environment to look in /usr/local/samba/bin for commands
Add Fred's paths to the /path directory
Edit the /etc/profile file to change Fred's environment to look in /usr/local/samba/bin for commands

 

 

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?

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

 

 

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

She has "signed" the client (client1) certificate and authorized it to use the server
She has removed the client (client1) certificate from the system
She has created a temporary file (client1.pem) that generates a public certificate for the client (client1)

 

 

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

root# smbpasswd -d smitty!
root# smbpasswd -E smitty
root# smbpasswd -e smitty
root# smbpasswd -d smitty

 

 

What is the function of the smbclient command?

It provides access to shared resources on a Windows computer
It allows a Windows share to be mounted from a computer running Linux
It provides access to a Samba-enabled computer from a Windows machine
It provides access to Linux shares from a Windows computer

 

 

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.

lanman auth = yes client lanman auth = yes client plaintext auth = yes
winbind enum users = no usershare allow guests = yes
wins support = yes obey pam restrictions = no encrypt passwords = false
security = share encrypt passwords = false
wins support = yes dns proxy = yes name resolve order = wins lmhosts host bcast

 

 

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

smbd will bypass the election process and become preferred master.
smbd will hold elections for preferred master but not for domain master.
nmbd will not hold elections for domain master.
nmbd will hold elections with a guarantee of winning.

 

 

All MS Windows networking uses ______ messaging.

zero-based
One off
WINS-based
SMB-based

 

 

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

%p
$p
%I
%i

 

 

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?

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

 

 

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

It allows Samba to mapUnix permissions to MS-DOS modes.
It allows Samba to overrideUnix and MS-DOS permissions.
It allows Samba to map MS-DOS modes toUnix permissions.
It allows authentication for MS-DOS withUnix.
It allows authentication forUnix with MS-DOS.

 

 

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

the client will only be able to read to the share
the client would get an error message (only can specify one option when configuring your disk share)
The client will be able to write to the share
nothing, neither option is valid

 

 

A username map is?

a mechanism used to "blacklist" all users that cannot access, or edit any disk shares
a program to adjust user permission levels eg make admins, superusers etc
a comprised list of all usernames available on your server
a mechanism for translating a login name sent by a client in the session setup request to a local Unix username.

 

 

Parameter names are case sensitive

TRUE
False

 

 

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?

fstype = no
browseable = false
comment = off
available = no
public = no

 

 

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

rootpostexec = mkisofs -log-file %H/log-%d.txt
root execute =rmdir -R /home/temp
rootpreexec = mkdir /home/temp
preexec = rm -r /home/samba/tmp/*
prescript = /home/samba/scripts

 

 

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

"GO$TYPE" BIOS ADDRESS+ ERRS
"NAME#TYPE" TTL ADDRESS+ FLAGS
"TYPE+FLAGS" ADDRESS+ NAME FLAGS
"NAME#BIOS" NODE ADDRESS+ ERRS

 

 

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

This prevents users listed ("bob") from accessing the "docs" share
This line is required for Samba to export the "docs" share
This allows automatic logins and logouts to the "docs" share
This prevents users other than "bob" from accessing the "docs" share
This allows the "docs" share to beautomounted by "bob" on login

 

 

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

He is adding a Windows NT machine called "NTmachine" to Samba's list of secure systems.
He is defining the method by which RPCs connect to and communicate with the Samba server; in this case using a login and password combination.
He is resetting the password and login on "NTmachine" to "NTDOM" and "administrator," respectively.
He is connecting to a Windows NT machine called "NTmachine" as administrator.

 

 

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?

Enter a new DWORD Value named "EnablePlainTextPassword" with a value of one.
Enter a new Binary Value named "EnablePlainTextPassword" with a value of one.
Enter a new String Value named "EnablePlainTextPassword" with a value of zero.
Enter a new Host Value named "EnablePlainTextPassword" with a value of zero.

 

 

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

000
111
222
777
555

 

 

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.

hide files = "*.mbx","samba.*"
hide files = .mbx / samba.
hide files = *.mbx, samba.*
hide files = *.mbx / samba.*
hide files = .mbx, samba.

 

 

Which of the following is FALSE regarding NetBIOS?

NetBIOS names are limited to 16 characters.
NetBIOS characters are always converted to uppercase.
The first character of a NetBIOS name is known as a NetBIOS prefix.
The last character in a NetBIOS name indicates the type.

 

 

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

TRUE
False

 

 

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?

Make sure the wins proxy parameter is set to "wins proxy = yes" and change the wins support parameter to "wins support = yes"
Make sure the wins support parameter is set to "wins support = yes" and change the wins proxy parameter to the appropriate IP address
Make sure the wins server parameter is set to the appropriate IP address and change the wins support parameter to "wins support = yes"
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

 

 

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?

testparm --poll "*"
smbclient -L "*"
nmblookup --all
nmblookup -d 2 "*"

 

 

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?

fakeoplocks = no
lock files = yes
interfaces only = yes
wins support = yes

 

 

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

The max log size is set too high
The wins support parameter is set to "yes" , and the wins server parameter is set
The log file is defined before the wins server
The log file path is not in the same directory as the Samba executables
The wins support parameter and the bind interfaceparameter are both set to "yes"

No comments:

Post a Comment