Question 110
In this retired AZ-500 educational case, An application developer includes a client secret in publicly accessible frontend JavaScript to call an Azure API. Which security principle BEST explains the appropriate response?
Explanation
Correct Answer
The relevant security principle is: Browser-delivered code cannot keep shared client secrets confidential from end users. That is why the action is: Move credential-based calls into an approved confidential backend or use a suitable identity-based flow. The directly relevant confirmation is: A code inspection finds no client credential in browser assets and the backend obtains tokens safely.
Incorrect Answers
The offered principle describes: Identity group membership can transmit effective resource permissions even without a direct role assignment. The situation in this question instead depends on: Browser-delivered code cannot keep shared client secrets confidential from end users. These are different technical conditions.
This alternative is valid when an eligible PIM assignment does not confer active privilege until a compliant activation occurs. The facts here establish a different controlling reason: Browser-delivered code cannot keep shared client secrets confidential from end users.
“Different multifactor methods can satisfy different phishing-resistance requirements” reflects the mechanism: Different multifactor methods can satisfy different phishing-resistance requirements. The actual reported symptoms are better explained by: Browser-delivered code cannot keep shared client secrets confidential from end users.