lab 4-1 Flashcards

1
Q

You created a batch script called modify.bat that will assign passwords and enable the disabled Active Directory user accounts using dsmod.exe. When you run the batch script, Windows PowerShell returns an error saying, “The term ‘modify.bat’ is not recognized as the name of a cmdlet, function, script file, or operable program.” Which of the following actions can resolve this error?

A. Prefix a period and backslash on the batch script before running it

B. Run the “Set-ExecutionPolicy Unrestricted” command

C. Verify that you have Execute permissions on the modify.bat file

D. Launch Windows PowerShell with elevated privileges

A

Prefix a period and backslash on the batch script before running it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following command can export the directory content of an organization?

A. csvde.exe -o -f c:\users.csv
B. csvde.exe -x -f c:\users.csv
C. csvde.exe -f c:\users.csv
D. csvde.exe -e -f c:\users.csv

A

csvde.exe -f c:\users.csv

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following utilities can include the user password when modifying user accounts in Active Directory? [Choose all that apply]

a. net
b. ldifde
c. csvde
d. dsmod

A

net

dsmod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following are best practices when creating a user template account in Active Directory? [Choose all that apply]

a. Add the user template account to the appropriate security group

b. Enable User must change password at next logon

c. Clear User must change password at next logon

d. Prefix the user template name with an identifier

A

Add the user template account to the appropriate security group

Enable User must change password at next logon

Prefix the user template name with an identifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When creating a user account from a template, which of the following user attributes does not apply to the new user account?

A. Group Membership
B. E-mail
C. Home directory
D. User must change password at next logon

A

B. E-mail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly