exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 2 question 37 discussion

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

You are developing a web app that is protected by Azure Web Application Firewall (WAF). All traffic to the web app is routed through an Azure Application
Gateway instance that is used by multiple web apps. The web app address is contoso.azurewebsites.net.
All traffic must be secured with SSL. The Azure Application Gateway instance is used by multiple web apps.
You need to configure the Azure Application Gateway for the web app.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting.
  • B. Convert the web app to run in an Azure App service environment (ASE).
  • C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway.
  • D. In the Azure Application Gateway's HTTP setting, set the value of the Override backend path option to contoso22.azurewebsites.net.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
dirtygooback
Highly Voted 4 years, 5 months ago
A&D are correct. The question was not copied correctly from AZ-203 https://www.examtopics.com/discussions/microsoft/view/21243-exam-az-203-topic-24-question-22-discussion/
upvoted 52 times
iiiihhhh
4 years, 4 months ago
There is a difference between AZ-203 and this question. The AZ-203 question talks about contoso22. ... (and has consto22.... also in the pertinent answer), but this question has constoso. ... in the question and consto22 in the answer. This discrepancy makes the greatest cofusion
upvoted 21 times
...
Bartimaeus
3 years, 1 month ago
Nope, there isn't anything about App Service - you can't use it with normal web app. C & D - you need both
upvoted 1 times
...
clarionprogrammer
4 years ago
Agreed A & D are correct. Note: [T]here is no requirement to add authentication certificates when App service is selected as backend. https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-web-app-overview#tls-termination-and-end-to-end-tls-with-multi-tenant-services
upvoted 7 times
...
samraw83
2 years, 9 months ago
Quite ood this should be AZ-104 question, It should be C & D, you have to update the secure certificate and have to update the backend pools as updated here: https://docs.microsoft.com/en-us/azure/app-service/configure-custom-container?pivots=container-linux
upvoted 1 times
...
...
mrqc
Highly Voted 4 years, 3 months ago
Is this a valid question for AZ204? I don't see this topic in the skills measured?
upvoted 19 times
...
Krishnait06
Most Recent 3 months, 2 weeks ago
Selected Answer: AD
There is a option to (D) Override backend path and (A)Use for App Service while add HTTP Setting
upvoted 1 times
...
Faolba
7 months ago
Selected Answer: AC
A and C are correct.
upvoted 1 times
...
all_cloud
1 year ago
question seems to be wrong
upvoted 2 times
...
Chriscrea8
1 year, 1 month ago
From ChatGPT: The correct actions to configure the Azure Application Gateway for the web app are: A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting - This ensures that the Application Gateway can work seamlessly with the Azure Web App. C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway - This is necessary to secure the traffic with SSL. So, the correct answers are A and C.
upvoted 1 times
...
FeriAZ
1 year, 2 months ago
Selected Answer: AC
C. For SSL traffic, the Azure Application Gateway needs to authenticate itself to the backend web app using an SSL certificate. Adding an authentication (or backend) certificate for contoso.azurewebsites.net to the Application Gateway is necessary to establish a secure SSL connection between the Application Gateway and the web app. This certificate ensures that the traffic remains encrypted and secure as it passes through the Application Gateway to the web app.
upvoted 2 times
...
manopeydakon
1 year, 3 months ago
A and C, The correct actions to configure Azure Application Gateway for the web app are: A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting. C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway. Explanation: A. Enabling the "Use for App service" setting in the HTTP setting of Azure Application Gateway ensures that the gateway can be used with Azure App Service, which includes the web app. C. Adding an authentication certificate for contoso.azurewebsites.net is necessary to secure the traffic with SSL. This involves associating an SSL certificate with the custom domain (contoso.azurewebsites.net) used by the web app. Therefore, options A and C are the correct actions.
upvoted 2 times
...
11_NickName_11
1 year, 5 months ago
Not sure, but looks like there is no need for cert. Application Gateway operates as an application delivery controller (ADC). It offers Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), termination, cookie-based session affinity, round-robin load distribution, content-based routing, ability to host multiple websites, and security enhancements. Application Gateway security enhancements include TLS policy management and end-to-end TLS support. Application security is strengthened by WAF integration into Application Gateway. The combination protects your web applications against common vulnerabilities. And it provides an easy-to-configure central location to manage. https://learn.microsoft.com/en-us/azure/web-application-firewall/ag/ag-overview#benefits
upvoted 2 times
...
NicolasMous
1 year, 7 months ago
Selected Answer: AC
A, C, Bings exaplanation: The correct answers are: A. In the Azure Application Gateway’s HTTP setting, enable the Use for App service setting. C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway. Explanation: Option A: The Azure Application Gateway needs to be configured to use the App service setting. This is because the traffic is being routed through an Azure Application Gateway instance that is used by multiple web apps1. Option C: Since all traffic must be secured with SSL, an authentication certificate for contoso.azurewebsites.net needs to be added to the Azure Application Gateway1. Option B is not correct because converting the web app to run in an Azure App service environment (ASE) is not necessary for configuring the Azure Application Gateway for the web app1. Option D is not correct because changing the backend path to a different web app (contoso22.azurewebsites.net) does not align with the requirement of routing traffic to contoso.azurewebsites.net1.
upvoted 5 times
...
Vladimir_Gajinov
1 year, 7 months ago
Selected Answer: AC
The right answers are A and C. To configure the Azure Application Gateway for the web app hosted at contoso.azurewebsites.net and ensure that all traffic is secured with SSL, you should perform the following actions: A. In the Azure Application Gateway's HTTP setting, enable the Use for App service setting. This setting ensures that the Azure Application Gateway can communicate with the Azure App Service (web app) using the appropriate settings and protocols. C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application Gateway. This step is essential to enable SSL termination at the Azure Application Gateway. You need to upload and configure the SSL certificate for contoso.azurewebsites.net so that the gateway can securely handle HTTPS traffic for your web app. The other options, B and D, are not necessary for securing traffic with SSL.
upvoted 2 times
MikeAWS
1 year, 6 months ago
is this explanation from ChatGPT?
upvoted 1 times
...
...
tarek0811
1 year, 8 months ago
it should be A and C, its in the doc: The SSL certificate is needed to secure the traffic to the web app by encrypting the data between the client and the server. If you do not add an SSL certificate to the Azure Application Gateway, then all traffic to the web app will be unencrypted. This means that anyone who can intercept the traffic can see the data that is being transmitted, including passwords, credit card numbers, and other sensitive information. https://learn.microsoft.com/en-us/azure/application-gateway/end-to-end-ssl-portal
upvoted 1 times
...
[Removed]
1 year, 9 months ago
D is definitely incorrect
upvoted 1 times
...
Mark16
1 year, 10 months ago
Selected Answer: AC
Should be AC: The correct actions to configure the Azure Application Gateway for the web app are: A. In the Azure Application Gateway's HTTP setting, enable the "Use for App service" setting. This ensures that the Application Gateway is configured to work properly with the web app running in Azure App Service. C. Add an authentication certificate for "contoso.azurewebsites.net" to the Azure Application Gateway. This certificate is necessary to enable SSL/TLS encryption for securing the traffic between the clients and the Application Gateway. Therefore, the correct options are A and C.
upvoted 3 times
Mark16
1 year, 10 months ago
Also for the people that answered D: Option D, which suggests setting the value of the "Override backend path" option to "contoso22.azurewebsites.net," is not necessary or relevant in this scenario. The goal is to configure the Azure Application Gateway to secure the traffic for the web app hosted at "contoso.azurewebsites.net," not "contoso22.azurewebsites.net." Therefore, option D is not a correct action for this particular requirement.
upvoted 3 times
...
...
uffuchsi
2 years, 2 months ago
Received this in my exam today (22/02/2023). Selected A and D. Score 927.
upvoted 3 times
...
jrnjerin
2 years, 4 months ago
Nowhere it is mentiones contoso22
upvoted 3 times
...
hubekpeter
2 years, 5 months ago
Selected Answer: AD
A. yes, app is using default appservice domain azurewebsites.net, so my assumption is, it's hosted as appservice, B - it's not needed as it's already running as App Service, therefore C - is not needed as well, D - yes you need either pool or redirection, in this case we need to redirect the traffic, there's 100% typo in hostname
upvoted 1 times
hubekpeter
2 years, 5 months ago
Here's an article where the answer D is explained in detail. https://learn.microsoft.com/en-us/azure/application-gateway/configure-web-app?tabs=customdomain%2Cazure-portal
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