exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 60 discussion

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

You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file.
You plan to upgrade App1 to use an Azure service principal.
What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)?

  • A. the application ID, a client secret, and the object ID
  • B. a client secret, the object ID, and the tenant ID
  • C. the application ID, a client secret, and the tenant ID
  • D. the application ID, a client secret, and the subscription ID
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
3a6495b
1 month, 2 weeks ago
Selected Answer: C
B can also be true but c is more specific i guess
upvoted 1 times
...
ServerBrain
10 months ago
Selected Answer: C
/** * Authenticate with client secret. */ ClientSecretCredential clientSecretCredential = new ClientSecretCredentialBuilder() .clientId("<your client ID>") .clientSecret("<your client secret>") .tenantId("<your tenant ID>") .build();
upvoted 1 times
...
vsvaid
10 months, 1 week ago
Selected Answer: C
Correct answer
upvoted 1 times
...
zellck
1 year, 5 months ago
Selected Answer: C
C is the answer. https://learn.microsoft.com/en-us/azure/developer/java/sdk/identity-service-principal-auth#client-secret-credential
upvoted 4 times
...
Madbo
1 year, 6 months ago
For App1 to programmatically sign in to Azure AD using an Azure service principal, it will require the application ID, a client secret, and the tenant ID. Therefore, the correct option is C.
upvoted 1 times
...
Jawad1462
2 years ago
Selected Answer: C
Correct
upvoted 1 times
...
syu31svc
2 years, 2 months ago
Selected Answer: C
This is a repeat question albeit rephased differently C is correct
upvoted 4 times
syu31svc
2 years, 2 months ago
https://docs.microsoft.com/en-us/azure/active-directory/develop/app-objects-and-service-principals "When you've completed the app registration, you've a globally unique instance of the app (the application object) which lives within your home tenant or directory. You also have a globally unique ID for your app (the app or client ID). In the portal, you can then add secrets or certificates and scopes to make your app work, customize the branding of your app in the sign-in dialog, and more."
upvoted 1 times
Darkeh
2 years, 1 month ago
correct answer
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