Question 140
A consumer-facing mobile application requires sign-up, social federation and user token validation but currently shares one IAM principal for all customers. The security team proposes: Use Amazon Cognito user pools or an appropriate supported consumer identity design with signed token validation and user-specific claims. Which additional safeguard should accompany the proposed change?
Explanation
Correct Answer
This deployment safeguard is specifically required: Avoid putting long-term AWS access keys in mobile code and use managed token expiration and revocation controls. It accompanies the technical response, Use Amazon Cognito user pools or an appropriate supported consumer identity design with signed token validation and user-specific claims., because An IAM service account is not a substitute for independent end-user identity and properly scoped application authentication. The scenario triggering this requirement is: A consumer-facing mobile application requires sign-up, social federation and user token validation but currently shares one IAM principal for all customers.
Incorrect Answers
Coordinate partner rollout and retire existing temporary sessions if a credential compromise is confirmed. That precaution does not address the current risk: an IAM service account is not a substitute for independent end-user identity and properly scoped application authentication. The relevant follow-up is: Avoid putting long-term AWS access keys in mobile code and use managed token expiration and revocation controls.
Preserve account linking and user identifiers during repair to avoid creating duplicate consumer identities. That precaution does not address the current risk: an IAM service account is not a substitute for independent end-user identity and properly scoped application authentication. The relevant follow-up is: Avoid putting long-term AWS access keys in mobile code and use managed token expiration and revocation controls.
Restrict principals and external IDs or other trust conditions appropriate to the integration before onboarding real tenants. That precaution does not address the current risk: an IAM service account is not a substitute for independent end-user identity and properly scoped application authentication. The relevant follow-up is: Avoid putting long-term AWS access keys in mobile code and use managed token expiration and revocation controls.