Question 57 — AZ-104 Practice Exam 11
A single-page application has a public home page, but other pages must be secured. Which App Service security option would not be appropriate because it blocks access to all calls, including the home page? (Select one answer)
Allow Anonymous requests
Allow only authenticated requests
Logging and tracing
Identity injection
Correct answers
Allow only authenticated requests
Explanations
Correct:
Allow only authenticated requests – This option restricts all calls, making it unsuitable for apps needing a public home page.
Wrong:
Allow Anonymous requests – Supports a public page while deferring authorization to app code.
Logging and tracing – Provides visibility into authentication events, not request restrictions.
Identity injection – Injects headers with identity details, not request control.