# AZ-204 — Question 708

**Type:** code_completion
**Topics:** ms_graph, web_app, auth_code, azure

## Question

HOTSPOT
-

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 Microsoft Entra ID. 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.

//IMG//

## Correct Answer

_See scenario._

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/microsoft/AZ-204/708  
Practice (tracked): https://hiexam.net/study/AZ-204/practice