exam questions

Exam AZ-204 All Questions

View all questions & answers for the AZ-204 exam

Exam AZ-204 topic 1 question 33 discussion

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

HOTSPOT
-

You are developing an Azure Static Web app that contains training materials for a tool company. Each tool’s training material is contained in a static web page that is linked from the tool’s publicly available description page.

A user must be authenticated using Azure AD prior to viewing training.

You need to ensure that the user can view training material pages after authentication.

How should you complete the configuration file? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

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
[Removed]
Highly Voted 1 year, 8 months ago
Got it in the exam 7/03/23. Went with the given answer
upvoted 9 times
...
chettir01
Highly Voted 1 year, 10 months ago
That's correct : https://learn.microsoft.com/en-us/azure/static-web-apps/configuration
upvoted 9 times
JustHereToLearn
1 year, 9 months ago
How that answer is correct? The first two are okay but add does not make sense it should be "aad" see reference https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#restrict-access-to-entire-application Also not sure what the last answer is but it is surely not referrer as there no such thing I could find in the docs.
upvoted 5 times
warchoon
1 year, 9 months ago
looks like after scan typo
upvoted 5 times
...
alejary
1 year, 9 months ago
I think this should look like this (.referrer will be replaced with the URL of original request): "responseOverrides": { "401": { "statusCode": "302", "redirect": "/.auth/login/aad?post_login_redirect_uri=.referrer" } }
upvoted 38 times
...
...
...
onlyforheros
Most Recent 8 months ago
Got it in the exam 13.03.2024. Score: 910. Went with the give answer
upvoted 6 times
...
egaws
9 months, 1 week ago
Overrides Aad redirect https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#restrict-access-to-entire-application
upvoted 1 times
...
Ciupaz
10 months, 2 weeks ago
HTTP 401 -> Unauthorized
upvoted 4 times
...
bgbgvfvf
10 months, 4 weeks ago
answer is correct https://learn.microsoft.com/en-us/azure/static-web-apps/configuration
upvoted 1 times
...
trueinam
10 months, 4 weeks ago
This question was on exam 2023-12-21.
upvoted 3 times
...
arunkuml
11 months, 1 week ago
Got it in the exam 14/12/23. Went with given answer. All questions are from ExamTopics. Case study - VanArsdel, Ltd (11 questions)
upvoted 2 times
...
dddddd111
1 year ago
FYI Azure Active Directory (aad) is replaced with MS Entra ID as of Nov14,2023.
upvoted 2 times
dddddd111
1 year ago
Acronym usage is not encouraged, but if you must replace AAD with an acronym due to space limitations, use ME-ID. https://learn.microsoft.com/en-us/entra/fundamentals/new-name
upvoted 1 times
...
...
p2006
1 year, 1 month ago
Got on 9/25/2023 responseoverrides 401 aad .referrer
upvoted 5 times
...
RuffBoii
1 year, 1 month ago
Had this on my exam today. Went with the given answer.
upvoted 1 times
...
mihailos
1 year, 2 months ago
Got it in exam 28/08/23. Went with proposed answer. Scored 912
upvoted 2 times
Masood07
11 months, 4 weeks ago
How do you all copy during the exam. please mention.
upvoted 2 times
...
...
ReyPirata
1 year, 2 months ago
This was on the exam (08/20/2023). Went with proposed. Scored 925
upvoted 2 times
...
juanckar
1 year, 4 months ago
This was on the exam (July 2023). Went with proposed. Scored 917
upvoted 4 times
...
deathRac3
1 year, 5 months ago
Question was there for me on 29th May 2023
upvoted 4 times
...
narenazure
1 year, 7 months ago
https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#restrict-access-to-entire-application "responseOverrides": { "401": { "statusCode": 302, "redirect": "/.auth/login/aad" }
upvoted 4 times
...
ucskips
1 year, 8 months ago
add is meant to be aad. For Azure Active Directory Response overrides make a custom response instead of error codes 400, 401, 403, 404
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