QUESTION NO: 1
Which configuration option will enable SSL/TLS encryption when compiling OpenLDAP?
A. --WITH-TLS,WITH-TLS
Answer: A
QUESTION NO: 2
An administrator is adding several LDIF files to the directory with slapadd, and the new entries are not displayed when ldapsearch is used. Assuming that there is no database corruption, what is the most appropriate solution to the problem?
A. Stop the slapd process and add the files again with slapadd.
B. Run slaprefresh_all.
C. Run ldaprefresh_all.
D. Stop the slapd process, run slapindex, and then correct the entries using slap_vacuum.
Answer: A
QUESTION NO: 3
Which command should be used to optimize LDAP searches?
A. ldapsearch -b sub
B. make /var/lib/openldap-data/
C. slapindex
D. slapd -r +20
E. slapd -instances=10 -f
Answer: C
Topic 4, Volume D
QUESTION NO: 4
The ________ command, included with OpenLDAP, will generate password hashes suitable for use in slapd.conf. (Enter the command with no options or parameters)
A. SLAPPASSWD
Answer: A
QUESTION NO: 5
What settings may a user enter when configuring Microsoft Outlook to connect to an LDAP white pages service? (Choose THREE correct answers.)
A. Maximum number of entries to return on a successful search
B. SASL configuration
C. Search base
D. Search timeout
E. Alias dereferencing options
Answer: A,C,D
QUESTION NO: 6
What does the slapindex tool do?
A. Displays information about the currently configured indexes.
B. Regenerates indexes defined in slapd.conf
C. Displays only the DN of every entry in the directory, sorted by container.
D. Defragments the LDAP database files.
Answer: B
QUESTION NO: 7
Which command will perform a one-level search from the DN c=INC, for all entries whose organization's name begins with RioDeJaneiro? A+ Exams
A. ldapsearch -LLL -b "c=INC" "(o=description)" RioDeJaneiro*
B. ldapsearch -b "c=INC" -f "(o=description,cn=RioDeJaneiro%)"
C. ldapsearch -LLL -s one -b "c=INC" "(o=RioDeJaneiro*)"
D. ldapsearch -s sub -b "c=INC" -f "(o=RioDeJaneiro)(description)"
Answer: C
QUESTION NO: 1
Which backend must be included in the smb.conf's passdb backend parameter in order for users to authenticate against an LDAP directory? A+ Certificate
A. LDAPSAM
Answer: A
QUESTION NO: 2
Which component of the Samba suite allows Windows domain users to appear and operate as Unix users on a Unix machine?
A. WINBIND
Answer: A
QUESTION NO: 3
If the idmap parameter is not specified in smb.conf, in which database file will winbind store its UID/GID/SID mappings? (Enter only the filename, without a path)
A. WINBIND_IDMAP.TDB
Answer: A
QUESTION NO: 4
What command will delete the user account joeuser from a Samba server. (Include ANY required options.)
A. SMBPASSWD-XJOEUSER
Answer: A
QUESTION NO: 5
With Samba 3, which LDAP object class contains the Samba password attribute in the LDAP backend.
A. sambaSamAccount
B. shadowAccount
C. inetOrgPerson
D. sambaUnixIdPool
E. sambaPasswdMap
Answer: A
QUESTION NO: 6
Which parameter in the smb.conf defines how long the winbind daemon will cache user and group information?
A. winbind cache time
B. idmap cache time
C. cache time
D. nscd cache time
Answer: A
QUESTION NO: 7
Select the TWO correct answers relating to the scripts of smbldap-tools package:
A. The /etc/smbldap-tools/smbldap_bind.conf file contains the access credentials for the LDAP server.
B. The smbldap-migrate-accounts command is used to migrate accounts from a LDAP server to a NT server.
C. The smbldap-usershow command displays just the user accounts on the Samba server.
D. smbldap-passwd is used to create and change users passwords.
E. The smbldap-useradd command creates user accounts in both the Samba and LDAP backends.
Answer: A,D
QUESTION NO: 8
Which line should be added to smb.conf to avoid UID and GID inconsistencies across servers over SMB? CompTIA A+ Certification
A. ldap dn = ldap://ldapserver.com
B. ldap server = ldap://ldapserver.com
C. idmap backend = idmap_rid:BUILTIN=ldapserver.com
D. idmap backend = ldap:ldap://ldapserver.com
E. ldap passwd sync = ldapserver.com
Answer: D
Copyright © 2011 Exam 220-702: CompTIA A+ 2012 Practical Application ·
Posted in CompTIA Exams