AWS Certified Solutions Architect – Professional — Question 554

You're trying to delete an SSL certificate from the IAM certificate store, and you're getting the message "Certificate: <certificate-id> is being used by CloudFront."
Which of the following statements is probably the reason why you are getting this error?

Answer options

Correct answer: C

Explanation

An SSL certificate cannot be deleted from IAM if it is currently associated with an active CloudFront distribution. To resolve this error, you must first disassociate the certificate by either updating the distribution to use a new certificate or reverting to the default CloudFront certificate. Once the certificate is no longer in use by any CloudFront distribution, it can be safely deleted.