Question 150
Which solution meets these constraints with the least unsupported assumptions? A customer web application must use OAuth/OIDC user identities rather than store credentials in custom EC2 session tables.
Explanation
Correct Answer
A managed identity layer reduces custom password risk and supports standard federation flows. Acceptance evidence: Valid signed tokens reach the API while expired or wrong-audience tokens are rejected.
Incorrect Answers
This recommendation is suited to a different situation: A public REST API must block known OWASP exploit patterns while still serving legitimate user traffic. Layer 7 WAF filters common request attacks at the HTTP entry point.
This recommendation is suited to a different situation: A database connection pool must encrypt in transit while avoiding a long-lived self-signed certificate workflow. TLS with proper CA validation provides transport confidentiality without disabling certificate trust checks.
This recommendation is suited to a different situation: An internal analytics EC2 role must read one Secrets Manager secret and never enumerate unrelated production secrets. Resource-level IAM conditions and key permissions prevent broad secret discovery.