exam questions

Exam MS-100 All Questions

View all questions & answers for the MS-100 exam

Exam MS-100 topic 1 question 34 discussion

Actual exam question from Microsoft's MS-100
Question #: 34
Topic #: 1
[All MS-100 Questions]

Your company has a Microsoft 365 subscription.
After implementing Active Directory Federation Services (AD FS), you are instructed to configure AD FS user authentication auditing.
You are preparing to run the Register-AzureADConnectHealthSyncAgent cmdlet.
Which of the following is the server that the cmdlet should be run from?
NOTE: Each correct selection is worth one point.

  • A. A member server.
  • B. A domain controller.
  • C. An Azure AD Connect server.
  • D. An AD FS server.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vasyab
Highly Voted 3 years, 9 months ago
Answer is correct. This cmdlet available after you install AzureAD Connect https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#manually-register-azure-ad-connect-health-for-sync
upvoted 16 times
Sysadmin007
2 years ago
The Register-AzureADConnectHealthSyncAgent cmdlet is used to register the Azure AD Connect Health Sync Agent with Azure AD. This cmdlet should be run from an Azure AD Connect server, which is responsible for synchronizing on-premises Active Directory with Azure AD. Option A, a member server, is not specific enough as it could refer to any server that is a member of the domain. Option B, a domain controller, is not the correct answer as it is not directly related to AD FS or Azure AD Connect. Option D, an AD FS server, is also not the correct answer as this cmdlet is used to register the Azure AD Connect Health Sync Agent, not to configure AD FS user authentication auditing
upvoted 1 times
...
...
Iamrandom
Highly Voted 3 years, 3 months ago
I think AD Connect server is the correct one. The command is "Register-AzureADConnectHealthSyncAgent" and not "Register-AzureADConnectHealthADDSAgent or Register-AzureADConnectHealthADFSAgent". Also Register-AzureADConnectHealthSyncAgent is recommended when the registration fails after you install AD Connect ( see here https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#manually-register-azure-ad-connect-health-for-sync) Also, we can see the difference in prerequisites when it's clearly distinguished the agent for Sync, for ADDS and ADFS: https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#install-the-agent I would go for C too.
upvoted 12 times
...
GetEsn
Most Recent 1 year, 7 months ago
Selected Answer: C
Your AD FS server should be separate from your sync server. Don't install the AD FS agent on your sync server.
upvoted 1 times
...
osxzvkwpfcfxobqjby
1 year, 8 months ago
Selected Answer: D
You must audit ADFS logs, so you install the agent on the ADFS server. AD Connect is not installed at all. So you start the command from the ADFS server. https://learn.microsoft.com/en-us/azure/active-directory/hybrid/connect/how-to-connect-health-agent-install
upvoted 1 times
...
ijarosova
2 years, 1 month ago
Vote C - You will need to install the Azure AD Connect Health Sync Agent on the server that is running the Azure AD Connect tool.
upvoted 2 times
...
Paolaj1
2 years, 1 month ago
Guess D is the valid option: https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#install-the-agent-for-ad-fs Later the article refers to manual registration.
upvoted 1 times
Paolaj1
2 years, 1 month ago
My mistake, should read better other answers.. C should be the valid option (due to command name), sorry for confusion.
upvoted 1 times
...
...
DeLoc
2 years, 2 months ago
Selected Answer: C
The Register-AzureADConnectHealthSyncAgent cmdlet is used to register the Azure AD Connect Health Sync Agent with Azure AD. It should be run on the server that is hosting the Azure AD Connect Health Sync Agent. Therefore, the correct answer is C, "an Azure AD Connect server". A. A member server or domain controller is not the correct server to run the cmdlet on as they are not the servers hosting the Azure AD Connect Health Sync Agent. B. While it is possible to install the Azure AD Connect Health Sync Agent on a domain controller, it is not recommended for security reasons. Therefore, it is not recommended to run the cmdlet on a domain controller. D. AD FS is a separate service from Azure AD Connect and is not directly related to the Azure AD Connect Health Sync Agent. Therefore, it is not recommended to run the cmdlet on an AD FS server.
upvoted 3 times
...
Don123
2 years, 3 months ago
C. An Azure AD Connect server. D. An AD FS server. The Register-AzureADConnectHealthSyncAgent cmdlet should be run from an Azure AD Connect server and an AD FS server. Azure AD Connect is the tool that enables you to synchronize your on-premises Active Directory with Azure AD. To monitor the health of AD FS and Azure AD Connect synchronization, you can use Azure AD Connect Health. By running the Register-AzureADConnectHealthSyncAgent cmdlet on the Azure AD Connect server and AD FS server, you can register these servers with Azure AD Connect Health and enable auditing and monitoring of user authentication.
upvoted 2 times
...
minasamy
2 years, 4 months ago
answer is : C. tested
upvoted 2 times
...
One111
2 years, 4 months ago
Selected Answer: C
Cmdlet is only for a AADC.
upvoted 2 times
...
mllerena
2 years, 4 months ago
You are preparing to run the Register-AzureADConnectHealthSyncAgent cmdlet. Register-AzureADConnectHealthADFSAgent -> ADFS Register-AzureADConnectHealthADDSAgent -> ADDS Register-AzureADConnectHealthSyncAgent -> Azure Ad Connect https://learn.microsoft.com/es-es/azure/active-directory/hybrid/how-to-connect-health-agent-install#register-the-agent-by-using-powershell Answer is correct C
upvoted 4 times
...
ZeTonio
2 years, 4 months ago
Selected Answer: D
AD Connect automatically installs health agent, so there's no need to run the register cmdlet like the question states. In the other hand, you can manually install the healthagent in ADFS and thus have the need to run the register cmdlet.
upvoted 1 times
...
Paolo2022
2 years, 5 months ago
Selected Answer: C
I do find the sources slightly confusing, but I believe that C (Azure AD Connect server) is the correct answer. The agent is normally configured during the installation of Azure AD Connect - on the server where that installation takes place. In case things don't work properly after installation, it is possible to manually register the health agent afterwards. Any other context apart from the Azure AD Connect server to run this cmd doesn't make sense then, I think. https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#manually-register-azure-ad-connect-health-for-sync
upvoted 1 times
Paolo2022
2 years, 5 months ago
Ok, this turns out to be wrong - D is correct! "Health agents must be installed and configured on targeted servers so that they can receive data and provide monitoring and analytics capabilities. For example, to get data from your Active Directory Federation Services (AD FS) infrastructure, you must install the agent on the AD FS server and the Web Application Proxy server." https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#requirements
upvoted 4 times
NrdAlrt
1 year, 9 months ago
The question is a sneaky one if this was captured and shared correctly for this dump. You need to read the cmdlet that is being run carefully in this question. This cmdlet is for AAD Connect, not ADFS, so you'd only run it on an AADC server regardless of what you are intending to do. You are preparing to run the Register-AzureADConnectHealthSyncAgent cmdlet. Register-AzureADConnectHealthADFSAgent -> ADFS Register-AzureADConnectHealthADDSAgent -> ADDS Register-AzureADConnectHealthSyncAgent -> Azure Ad Connect
upvoted 1 times
...
...
...
Pietras123
2 years, 5 months ago
Selected Answer: C
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#manually-register-azure-ad-connect-health-for-sync
upvoted 1 times
...
LuisAitor
2 years, 5 months ago
Selected Answer: D
The Azure AD Connect Health agent is installed on each targeted server. Health agents must be installed and configured on targeted servers so that they can receive data and provide monitoring and analytics capabilities. For example, to get data from your Active Directory Federation Services (AD FS) infrastructure, you must install the agent on the AD FS server and the Web Application Proxy server. https://learn.microsoft.com/es-es/azure/active-directory/hybrid/how-to-connect-health-agent-install#install-the-agent-for-ad-fs
upvoted 2 times
Paolo2022
2 years, 5 months ago
Thanks for your comment! The reference doesn't match your quote, but the information given is the key for this answer. The source is: https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#requirements
upvoted 1 times
...
...
Harry83
2 years, 6 months ago
Selected Answer: C
According to the documentation, it's possible to deploy the agent to an ADFS Server. But in this scenario, the cmdlet is slightly different: Register-AzureADConnectHealthADFSAgent. Therefore, the Register-AzureADConnectHealthSyncAgent cmdlet only apply to an Azure AD Connect Server. Answer is C. Source: https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install#install-the-agent-for-ad-fs
upvoted 3 times
...
cscorrupt
2 years, 6 months ago
Selected Answer: C
https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-health-agent-install states: "Your AD FS server should be different from your Sync server. Don't install the AD FS agent on your Sync server."
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago