exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 27 discussion

Actual exam question from Microsoft's AZ-204
Question #: 27
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 Azure resource.
Does the solution meet the goal?

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

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, 7 months ago
This is scenario questions. If backend is accepts HTTP(S) Then Basic AUTH or Certificate will work. so Certificate + Azure Resource NO https://www.youtube.com/watch?v=HQ0U7lwP93o
upvoted 32 times
MiraA
3 years, 4 months ago
Target: "Azure Logic App" or "HTTP(s) endpoint" Gateway credentials: "None" or "Basic" or "Client cert" https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates#configure-an-api-to-use-client-certificate-for-gateway-authentication
upvoted 7 times
PhilLI
3 years, 1 month ago
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth So I think it's YES
upvoted 3 times
warchoon
2 years ago
No. Your page is not about backend. It's about CLIENT certificate authentication
upvoted 1 times
warchoon
2 years ago
Sorry my joke. But it is true.
upvoted 2 times
...
...
...
...
...
Ciupaz
Highly Voted 1 year, 2 months ago
Hope don't find this question in my exam.
upvoted 10 times
ThierryAhn
11 months, 1 week ago
I hope too. Do you pass your exam ?
upvoted 1 times
...
...
manvith7
Most Recent 1 month, 1 week ago
Selected Answer: A
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 Azure resource. Does the solution meet the goal? Yes, the solution meets the goal. Configuring Client certificate gateway credentials for the Azure resource ensures secure back-end authentication for the API Management service instance. This method provides a robust way to authenticate and secure communication between the API Management gateway and the back-end service.
upvoted 1 times
...
TheFivePips
6 months, 1 week ago
Selected Answer: A
This works because the backend is not an HTTP endpoint, its an Azure resource. It also works because App Service doesn't support basic auth out of the box, and it is considerably less secure even if it did.
upvoted 1 times
...
8ac3742
6 months, 3 weeks ago
The answer should be No, the client certificate is typically used for mutual authentication between the client application and the APIM gateway after APIM uploads the client certificate.
upvoted 1 times
...
Frawsty
7 months ago
Pasted this question into MS copilot and got this response The solution of configuring Client Certificate Gateway credentials for the HTTP(s) endpoint does not meet the goal. While client certificate authentication provides an additional layer of security, it is not the recommended approach for authenticating the API Management service instance with the back-end hosted in Azure App Service.
upvoted 1 times
...
raymond_abcd
1 year ago
Selected Answer: A
This is described on this page: https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates#configure-an-api-to-use-client-certificate-for-gateway-authentication
upvoted 2 times
...
[Removed]
1 year, 1 month ago
No, the solution does not meet the goal. Configuring Client cert gateway credentials for the Azure resource is not a standard practice for back-end authentication in API Management. Typically, back-end authentication is configured at the API Management level, often involving the use of API keys, OAuth, or other authentication mechanisms specific to the API Management service.
upvoted 1 times
...
TheMCT
1 year, 5 months ago
Selected Answer: B
The answer is; NO Configuring "Client cert gateway credentials" for the Azure resource suggests that you are configuring client certificate authentication for the API Management gateway itself when accessing Azure resources, but it may not necessarily secure the communication between API Management and the back-end Azure App Service.
upvoted 4 times
raymond_abcd
1 year ago
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates#configure-an-api-to-use-client-certificate-for-gateway-authentication
upvoted 1 times
...
...
JH81
1 year, 8 months ago
Selected Answer: A
One of the questions is for securing with Basic and the other with a client cert. Clearly MS is saying Basic = bad and client cert = good.
upvoted 3 times
...
BikashKatwal
1 year, 8 months ago
A. Yes The solution meets the goal of configuring back-end authentication for the API Management service instance. By configuring Client cert gateway credentials for the Azure resource, you can authenticate and secure the communication between the API Management gateway and the back-end service hosted in the Azure App Service instance. Client certificate authentication involves using X.509 client certificates to verify the identity of the client requesting access to the API Management gateway. This authentication method ensures that only clients with valid certificates can access the back-end service. By configuring Client cert gateway credentials, you establish a secure and authenticated connection between the API Management gateway and the Azure App Service instance, thereby meeting the requirement for back-end authentication.
upvoted 5 times
basquiat
1 year, 6 months ago
If I got it right the link below shows how to achieve that. https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates
upvoted 2 times
...
...
deathRac3
1 year, 9 months ago
Selected Answer: A
Looks right
upvoted 2 times
...
Selected Answer: A
When client certificate authentication is used for the API Management gateway, a client must provide a client certificate in the header of each request to access the API. The client certificate is then validated by the gateway before forwarding the request to the back-end API. This can provide a high level of authentication and help prevent unauthorized access to the back-end API. Client certificate authentication is a more secure mechanism than Basic authentication, as it uses a secure communication channel and cryptographic keys to authenticate clients. Additionally, it provides better scalability, as it does not require the gateway to maintain a large number of user credentials.
upvoted 4 times
...
mabdo
2 years ago
Are the website answers the official ones? This is getting confusing!!!
upvoted 4 times
joshfry
2 years ago
No. They don't have access to official answers. They try their best, but always read the discussion.
upvoted 3 times
...
...
Michael2023
2 years ago
Selected Answer: A -> yes as long as a certificate is used to can authenticate to the backend via "Custom URL" or "Azure resource" (Function App, Logic App, Web App)... in both cases you provide an URL to which the requests are forwared to. From the App Service side you should use HTTPS only or User/System Managed Identity to authenticate to the App Service. So that means, the only solutions for this scenario would be using a certificate for HTTP(s) endpoint and resources. https://learn.microsoft.com/en-us/azure/app-service/security-recommendations#identity-and-access-management https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates
upvoted 2 times
warchoon
2 years ago
Logic App is ok. But it is not the App Service instance. Others use gateway Https endpoint settings.
upvoted 1 times
...
...
alexein74
2 years, 1 month ago
Selected Answer: B
B. No Configuring client cert gateway credentials for the Azure resource 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 3 times
...
deepbh
2 years, 1 month ago
Selected Answer: B
Azure Logic App and HTTP(S) Endpoint are the two choices on the portal page. Whenever the question is about using app service at the backend, and it talks about configuring auth for the "azure resource" instead of HTTP(S), it's an automatic NO.
upvoted 4 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