Question 370
An internal Azure App Service web app is exposed publicly and responds to unauthenticated clients. Which endpoint security design closes both authentication and unwanted ingress?
Explanation
Correct Answer
Require supported end-user/service authentication with app authorization and restrict public network paths as appropriate; test denied access without a valid identity.
Incorrect Answers
Rotating an application secret helps credential hygiene but cannot force visitors to authenticate to an open HTTP endpoint.
Enforcing modern TLS protects confidentiality in transit, not authentication or access rights to the application.
Separate staging/production slots improve environment segregation but do not require login for the publicly reachable application.



Implementing End-to-End Security Controls for Cloud and AI Workloads (SC-500) Practice Tests