exam questions

Exam AZ-304 All Questions

View all questions & answers for the AZ-304 exam

Exam AZ-304 topic 5 question 8 discussion

Actual exam question from Microsoft's AZ-304
Question #: 8
Topic #: 5
[All AZ-304 Questions]

Your company has the infrastructure shown in the following table.

The on-premises Active Directory domain syncs to Azure Active Directory (Azure AD).
Server1 runs an application named App1 that uses LDAP queries to verify user identities in the on-premises Active Directory domain.
You plan to migrate Server1 to a virtual machine in Subscription1.
A company security policy states that the virtual machines and services deployed to Subscription1 must be prevented from accessing the on-premises network.
You need to recommend a solution to ensure that App1 continues to function after the migration. The solution must meet the security policy.
What should you include in the recommendation?

  • A. Azure AD Application Proxy
  • B. an Azure VPN gateway
  • C. Azure AD Domain Services (Azure AD DS)
  • D. the Active Directory Domain Services role on a virtual machine
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
Elecktrus
Highly Voted 4 years, 7 months ago
Answer is C - AZure Domain Services - ADS is designed for this exactly. It support LDAP querys but don't use local AD, instead use Azure AD. And the question says that ADConnect exists and both AZure AD and local AD are sync. - https://docs.microsoft.com/es-es/azure/active-directory-domain-services/overview
upvoted 83 times
somenick
4 years ago
Agree: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/auth-ldap#use-when
upvoted 3 times
...
...
Kristhyan
Highly Voted 4 years, 7 months ago
Correct answer is C. Azure AD support LDAP query through ADDS. A new domain controller cannot sync with on premises AD because of the security policy.
upvoted 35 times
...
vuphongtran
Most Recent 3 years, 3 months ago
For me both C & D seem to meet the security policy. With D, we can deploy a RODC in Azure VM. Both C & D passively receive the sync data from on-prem but not write back to it . However D seems to be a better solution. With C, App1 may have to be re-coded to query Azure AD LDAP schema
upvoted 1 times
...
vuphongtran
3 years, 3 months ago
For me both C & D seem to meet the security policy. With D, we can deploy a RODC in Azure VM. Both C & D passively receive the sync data from on-prem but not write back to it . However D seems to be a better solution. With C, App1 may have to be re-coded to query Azure AD LDAP schema
upvoted 1 times
...
OlivierPaudex
3 years, 4 months ago
I would go with answer C. We are talking about a Linux server, which needs a managed domain server to authenticate users through LDAP. Managed domain is a service which belongs to the AAD domain services. This is not a service that is installed on a dedicated vm as mentioned into answer D. https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-create-instance Answer C is not enough : AAD will only works with Windows servers If we were talking about a Windows server
upvoted 1 times
...
Dpejic
3 years, 6 months ago
Appere on exam 23-dec-2021
upvoted 1 times
...
[Removed]
3 years, 6 months ago
Selected Answer: C
C is the right answer
upvoted 3 times
...
mriverad1
3 years, 7 months ago
Selected Answer: C
Answer is C
upvoted 2 times
...
syu31svc
3 years, 9 months ago
https://docs.microsoft.com/en-us/azure/active-directory-domain-services/overview Azure Active Directory Domain Services (Azure AD DS) provides managed domain services such as domain join, group policy, lightweight directory access protocol (LDAP), and Kerberos/NTLM authentication Answer is C
upvoted 2 times
...
souvik123
3 years, 9 months ago
Answer is C - Azure Domain Services
upvoted 2 times
...
Gautam1985
3 years, 10 months ago
correct answer C
upvoted 2 times
...
BoxGhost
3 years, 11 months ago
Question doesn't make a lot of sense so it's down to process of elimination A. Azure AD Application Proxy - This is for on-premise apps that you want to be accessible over the internet. This can be ruled out since they want to move the app to Azure B. an Azure VPN gateway - This can be ruled out because the requirement is that Azure does not communicate with the on-premise network, a VPN would not meet the security requirements D. the Active Directory Domain Services role on a virtual machine - This won't help since you won't be able to join it to the existing domain since the security policy does not permit on-premise communication as above. C. Azure AD Domain Services (Azure AD DS) - This one could work since AAD DS will bring in the existing accounts from Azure AD which in turn are synchronised from on-premise AD over AD connect. However, you would probably need to reconfigure the app and update the LDAP connection.
upvoted 12 times
rdemontis
3 years, 7 months ago
thanks for explanation
upvoted 1 times
...
...
tvs2021
3 years, 12 months ago
on exam (7-19-2021) . passed 304
upvoted 5 times
cfsxtuv33
3 years, 11 months ago
So what's the answer?? All you guys says its on the exam and say you passed it but give no information regarding the question. So, congrats on passing and thanks for nothing as far as adding value to the question.
upvoted 9 times
MrRandom
3 years, 11 months ago
It's still valuable to know that the question is pertinent, so if you are in doubt about the answer, research the topic yourself. Also, if you've just taken 1 Microsoft exam in the past, you'll know that after you've completed the exam you don't get to know whether your answers is right/wrong. Perhaps the author doubted his own response, but still wanted to let people know that the question is still valid and in the exam.
upvoted 7 times
cfsxtuv33
3 years, 10 months ago
All fine and dandy, that still does not preclude you from adding value such as...I picked A, B, C, or D but not sure if it was correct. You can provide more than..."was on exam and passed."
upvoted 2 times
...
...
...
...
Jasper666
4 years, 1 month ago
C is the only option due to the policy. A ADDS member on a VM must replicate with the onpremise controller, since that isnt allowed by policy the only option is to move to the managed version of adds.
upvoted 9 times
...
samsanta2012
4 years, 1 month ago
Answer is C - Azure Active Directory (Azure AD) supports LDAP Authentication via Azure AD Domain Services (AD DS). https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/auth-ldap
upvoted 3 times
...
JasonYin
4 years, 1 month ago
C is the correct answer. User accounts are synced from On-prem AD to Azure AD, then from Azure AD to Azure AD DS domain which support LDAP as well. By adding Linux machine to Azure AD DS domain, people from On-prem AD domain will be able to access Linux. https://docs.microsoft.com/en-us/azure/active-directory-domain-services/synchronization
upvoted 3 times
...
demonite
4 years, 1 month ago
None of the answers are correct or the answers are badly written. If you simply lift and shift your LINUX machine to AZ, you can join it to the AAD domain and then you would be able to perform the LDAP queries
upvoted 3 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 ...