AWS Certified Developer – Associate — Question 206
A development team uses AWS CodeDeploy to deploy software changes to Amazon EC2 instances. The deployments begin to fail. The team traces the problem to a specific EC2 instance. The CodeDeploy agent's log file contains the following error message:
InvalidSignatureException Signature expired: |time| is now earlier than |time|
What is the underlying cause of this issue?
Answer options
- A. The development team signed the CodeDeploy revision after the team created the deployment.
- B. The development team signed the CodeDeploy revision with a key that was not valid.
- C. The deployment did not finish within the specified time frame.
- D. The date setting or the time setting on the EC2 instance is not correct.
Correct answer: D
Explanation
The correct answer is D because if the date and time settings on the EC2 instance are incorrect, it can lead to signature validation failures, such as the one described. Options A and B are incorrect because they relate to signing issues rather than time settings, and option C does not directly address the signature expiration error message.