exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 25 discussion

Actual exam question from Microsoft's AZ-204
Question #: 25
Topic #: 1
[All AZ-204 Questions]

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.
You are developing a solution for a public facing API.
The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end.
You must configure back-end authentication for the API Management service instance.
Solution: You configure Client cert gateway credentials for the HTTP(s) endpoint.
Does the solution meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
jay158
Highly Voted 3 years, 9 months ago
This is scenario questions. If backend is accepts HTTP(S) Then Basic AUTH or Certificate will work. so Client Certificate + HTTP(s) YES
upvoted 41 times
r3verse
2 years, 5 months ago
APIM supports both, but that is only part of the question. Does App Service itself support basic auth? NO not really (only a hacky way). Does app Service Support certificate auth? YES, built in the Azure portal directly as a setting for app Service. So my answer would be YES for client certificate.
upvoted 3 times
...
...
aradice
Highly Voted 3 years, 10 months ago
yes? https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates
upvoted 14 times
aradice
3 years, 10 months ago
https://docs.microsoft.com/en-us/azure/api-management/api-management-authentication-policies#ClientCertificate
upvoted 5 times
...
warchoon
2 years, 2 months ago
It's the only link that alive. All others are dead and redirect to another pages or target deprecated sources.
upvoted 1 times
...
MiraA
3 years, 6 months ago
The answer is YES (client cert + the HTTP(s) endpoint) based on this screenshot: https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates#configure-an-api-to-use-client-certificate-for-gateway-authentication Target: "Azure Logic App" or "HTTP(s) endpoint" Gateway credentials: "None" or "Basic" or "Client cert"
upvoted 7 times
...
...
TheFivePips
Most Recent 8 months, 1 week ago
Selected Answer: B
The API back end is hosted in an Azure App Service instance. It is an Azure resource and not an HTTP(s) endpoint.
upvoted 1 times
...
Masombutronics
10 months, 1 week ago
The solution you’ve described does not meet the goal. While configuring client certificate gateway credentials for the HTTP(s) endpoint is a valid approach for securing the API, it doesn’t directly address the requirement to configure back-end authentication for the API Management service instance. To meet the goal, consider using Azure API Management policies to enforce authentication and authorization. Specifically, you can use policies like authentication-certificate or authentication-oauth2 to secure the API endpoints. These policies allow you to validate client certificates or use OAuth2 tokens for authentication. Remember to configure the API Management service to validate incoming requests against the back-end API’s certificate or OAuth2 token. This way, you’ll ensure that only authorized clients can access your API.
upvoted 2 times
...
Shreyas2811
1 year ago
Yes, the solution meets the goal. By configuring Client cert gateway credentials for the HTTP(s) endpoint, you are implementing back-end authentication for the API Management service instance. This means that the API Management service will only allow access to the back-end hosted in the Azure App Service instance if the appropriate client certificate is presented. This provides a secure means of authenticating and authorizing requests from the API Management service to the back-end API.
upvoted 2 times
...
VK1989
1 year ago
Selected Answer: B
OAUTH 2.0 or API Key is needed to secure public facing API as per API Management Service. This was also the answer from COPILOT so answer is B
upvoted 2 times
...
[Removed]
1 year, 3 months ago
Yes. Configuring Client Certificate gateway credentials for the HTTP(s) endpoint is a more secure solution for back-end authentication in a public-facing API scenario. It involves using client certificates to authenticate the requests made to the API Management service instance, enhancing security compared to basic credentials.
upvoted 1 times
...
Weam
1 year, 4 months ago
Selected Answer: A
Authentication policies Authenticate with Basic - Authenticate with a backend service using Basic authentication. Authenticate with client certificate - Authenticate with a backend service using client certificates. Authenticate with managed identity - Authenticate with a backend service using a managed identity.
upvoted 1 times
...
BikashKatwal
1 year, 10 months ago
The solution mentioned, which is configuring Client cert gateway credentials for the HTTP(s) endpoint, does not meet the goal of configuring back-end authentication for the API Management service instance. Client certificate authentication is used for authenticating clients accessing the API Management service, not for authenticating the back-end service itself. To configure back-end authentication for the API Management service instance hosted in an Azure App Service, you have several options, such as: API key authentication: Generate an API key and configure it in the API Management service to authenticate requests sent to the back-end service. OAuth 2.0 authentication: Configure OAuth 2.0 authentication between the API Management service and the back-end service, allowing clients to authenticate using OAuth 2.0 tokens. Certificate-based authentication: If your back-end service supports certificate-based authentication, you can configure the API Management service to authenticate requests using client certificates. Therefore, the correct answer is: B. No
upvoted 7 times
ami2023
1 year, 5 months ago
quoted from your reply "Certificate-based authentication: If your back-end service supports certificate-based authentication, you can configure the API Management service to authenticate requests using client certificates.", and this is listed as a way to configure back-end authentication.
upvoted 1 times
...
...
forgetfulalligator
2 years, 2 months ago
Selected Answer: A
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates
upvoted 1 times
...
uffuchsi
2 years, 2 months ago
A. Yes
upvoted 1 times
...
AAcademy
2 years, 2 months ago
I would say "YES". Secure backend services using client certificate authentication in Azure API Management: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates
upvoted 1 times
...
alexein74
2 years, 3 months ago
Selected Answer: B
B. No Configuring client cert gateway credentials for the HTTP(s) endpoint would not provide a suitable solution for back-end authentication for the public facing API. Client certificate authentication is based on the possession of a certificate and private key, which can be installed on the client device. However, this approach is not suitable for public facing APIs, as it requires the client to have a unique certificate, which is not easy to manage, and it's not a scalable solution for public facing APIs.
upvoted 4 times
...
shacent
2 years, 3 months ago
chatGPT: This solution does not meet the goal of configuring back-end authentication for the API Management service instance. Client certificate gateway credentials are used for client-side authentication, which is not the same as back-end authentication. Back-end authentication is used to authenticate the API Management service instance with the back-end service hosted in the Azure App Service instance. For back-end authentication, you can use Azure Active Directory (AAD) authentication, Azure AD B2C, or OAuth 2.0 authentication to authenticate the API Management service instance with the back-end service.
upvoted 4 times
...
deepbh
2 years, 3 months ago
A (Yes) is correct. https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates "API Management allows you to secure access to the backend service of an API using client certificates." ... "You should have your backend service configured for client certificate authentication. To configure certificate authentication in the Azure App Service, refer to this article." Then see: https://learn.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth?tabs=azurecli#enable-client-certificates
upvoted 1 times
...
[Removed]
2 years, 7 months ago
Selected Answer: A
Client certificate is supported. Even if I select an App service while creating the API it shows the back-end authentication option as Https endpoint and not as Azure resource.
upvoted 1 times
...
SaintBahamut
2 years, 12 months ago
Selected Answer: A
Answer is Yes, its obvious if you check it yourself Design Tab->Backend panel->HTTP(s) endpoint->And you have None, Basic and Certificate
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago