PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to ensure that App1 can use Server2 for authentication

Your network contains an Active Directory domain named contoso.com. The domain contains a server named
Server1. Server1 has the Active Directory Federation Services (AD FS) role installed.
You have an application named App1 that is configured to use Server1 for AD FS authentication.
You deploy a new server named Server2. Server2 is configured as an AD FS 2.0 server.
You need to ensure that App1 can use Server2 for authentication.
What should you do on Server2?

What should you create on Server1?

Your network contains an Active Directory domain named contoso.com. The domain contains a server named
Server1. The Active Directory Federation Services (AD FS) role is installed on Server1. Contoso.com isdefined
as an account store.
A partner company has a Web-based application that uses AD FS authentication. The partner company plans
to provide users from contoso.com access to the Webapplication.
You need to configure AD FS on contoso.com to allowcontoso.com users to be authenticated by the partner
company.
What should you create on Server1?

Which format should you use to export the certificate?

Your network contains two servers named Server1 andServer2 that run Windows Server 2008 R2. Server1
has the Active Directory Federation Services (AD FS) Federation Service role service installed.
You plan to deploy AD FS 2.0 on Server2.
You need to export the token-signing certificate from Server1, and then import the certificate to Server2.
Which format should you use to export the certificate?

You need to add Server2 to the existing AD FS farm

Your network contains two servers named Server1 andServer2 that run Windows Server 2008 R2. Server1
has Active Directory Federation Services (AD FS) 2.0 installed. Server1 is a member of an AD FS farm. The
AD FS farm is configured to use a configuration database that is stored on a separate Microsoft SQL Server.
You install AD FS 2.0 on Server2.
You need to add Server2 to the existing AD FS farm.
What should you do?

Which cmdlet should you add to the script?

Your network contains an Active Directory forest.
You set the Windows PowerShell execution policy to allow unsigned scripts on a domain controller in the
network.
You create a Windows PowerShell script named new-users.ps1 that contains the following lines:
new-aduser user1
new-aduser user2
new-aduser user3
new-aduser user4
new-aduser user5
On the domain controller, you double-click the script and the script runs. You discover that the script fails to
create the user accounts.
You need to ensure that the script creates the useraccounts.
Which cmdlet should you add to the script?

Which script should you run?

You have a Windows PowerShell script that contains the following code:
import-csv Accounts.csv | Foreach {New-ADUser -Name$_.Name -Enabled $true – AccountPassword $_.
password}
When you run the script, you receive an error message indicating that the format of the password is incorrect.
The script fails.
You need to run a script that successfully creates the user accounts by using the password contained in
accounts.csv.
Which script should you run?