SAA-C03 ยท Data protection and compliance
TLS in transit with AWS Certificate Manager
TLS certificates from AWS Certificate Manager on load balancers and CloudFront, automatic renewal of ACM certificates and enforcing HTTPS.
Key points
- ACM issues and stores TLS certificates for load balancers, CloudFront and more.
- Regional: a load balancer needs one in its Region; CloudFront only from us-east-1 (N. Virginia).
- DNS validation: ACM renews in-use certificates, same ARN; email validation needs your action; imported never renewed.
- Enforce HTTPS: ALB port 80 redirect to 443; CloudFront Redirect HTTP to HTTPS or HTTPS only; S3 bucket policy denying aws:SecureTransport false.
Source: https://docs.aws.amazon.com/acm/latest/userguide/acm-regions.html
Practice questions
In which AWS Region must an ACM certificate be requested to use it with an Amazon CloudFront distribution?
- The Region of the origin server
- us-east-1 (N. Virginia)
- Any Region, CloudFront copies it
- The Region closest to most viewers
Show answer
Answer: B. us-east-1 (N. Virginia)
CloudFront only accepts ACM certificates from US East (N. Virginia), us-east-1, no matter where the origin runs. The Region of the origin or the viewers does not matter.
Which configurations enforce encryption in transit for clients?
- ALB listener on port 80 with a redirect action to HTTPS
- CloudFront viewer protocol policy set to Redirect HTTP to HTTPS
- S3 bucket policy denying requests when aws:SecureTransport is false
- S3 default encryption set to SSE-KMS
- Automatic rotation on the KMS key
Show answer
Answer: A. ALB listener on port 80 with a redirect action to HTTPS, B. CloudFront viewer protocol policy set to Redirect HTTP to HTTPS, C. S3 bucket policy denying requests when aws:SecureTransport is false
An ALB redirect from HTTP to HTTPS, a CloudFront viewer protocol policy that redirects to HTTPS, and an S3 bucket policy that denies requests where aws:SecureTransport is false all force TLS. Default bucket encryption and key rotation protect data at rest, not in transit.
A certificate requested in ACM in eu-west-1 can be selected directly on a CloudFront distribution.
Show answer
Answer: False
False. ACM certificates are Regional and CloudFront only uses certificates from us-east-1. You request a separate certificate for the same domain in us-east-1.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
