AWS Certified Security – Specialty — Question 414

A company uses SAML federation with AWS Identity and Access Management (IAM) to provide internal users with SSO for their AWS accounts. The company's identity provider certificate was rotated as part of its normal lifecycle. Shortly after, users started receiving the following error when attempting to log in:

"Error: Response Signature Invalid (Service: AWSSecurityTokenService; Status Code: 400; Error Code: InvalidIdentityToken)"

A security engineer needs to address the immediate issue and ensure that it will not occur again.

Which combination of steps should the security engineer take to accomplish this? (Choose two.)

Answer options

Correct answer: B, C

Explanation

To resolve the immediate signature verification error, uploading the updated SAML metadata file directly to the existing IAM identity provider entity (Option C) restores the trust chain without needing to update trust policies in IAM roles. To prevent future downtime, adding the new certificate as a secondary certificate in the IdP beforehand (Option B) ensures that the metadata updated in IAM contains both certificates, enabling a seamless transition during the actual rotation. Creating new IAM identity provider entities (Options A, D, and E) is unnecessary and would require complex updates to the trust policies of all associated IAM roles.