Question 100
A consumer-facing mobile application requires sign-up, social federation and user token validation but currently shares one IAM principal for all customers. A reviewer believes the existing approach is sufficient. Which technical assumption explains why the current setup fails?
Explanation
Correct Answer
The failure mechanism is: An IAM service account is not a substitute for independent end-user identity and properly scoped application authentication. It is evidenced by: A consumer-facing mobile application requires sign-up, social federation and user token validation but currently shares one IAM principal for all customers. The correction is therefore: Use Amazon Cognito user pools or an appropriate supported consumer identity design with signed token validation and user-specific claims. The decisive follow-up evidence is: Two synthetic users authenticate separately, and an API rejects a token with a mismatched audience or expired signature.
Incorrect Answers
Federated authentication can fail when required attributes or token validation settings no longer match the configured provider. The stated symptoms instead indicate that an IAM service account is not a substitute for independent end-user identity and properly scoped application authentication.
Wildcard actions and resources grant far more authority than the known application use case needs. The stated symptoms instead indicate that an IAM service account is not a substitute for independent end-user identity and properly scoped application authentication.
Identity federation can fail if the service provider validates an outdated signature key or wrong audience identifier. The stated symptoms instead indicate that an IAM service account is not a substitute for independent end-user identity and properly scoped application authentication.