Question 206 of 213
Single answerHOTSPOT -You are developing a web application that makes calls to the Microsoft Graph API. You register the application in the Azure portal and upload a valid X509 certificate.You create an appsettings.json file containing the certificate name, client identifier for the application, and the tenant identifier of the Azure Active Directory (AzureAD). You create a method named ReadCertificate to return the X509 certificate by name.You need to implement code that acquires a token by using the certificate.How should you complete the code segment? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
✓A Box 1: ConfidentialClientApplicationBuilderHere's the code to instantiate the confidential client application with a client secret: app = ConfidentialClientApplicationBuilder.Create(config.ClientId).WithClientSecret(config.ClientSecret).Wi
BRefer to simulation panel
✓
Correct Answer: A
Box 1: ConfidentialClientApplicationBuilderHere's the code to instantiate the confidential client application with a client secret: app = ConfidentialClientApplicationBuilder.Create(config.ClientId).WithClientSecret(config.ClientSecret).Wi
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Microsoft certification topics.