What is the primary function of an Interface VPC Endpoint (powered by PrivateLink)?
Allows you to connect to an AWS service using private IP addresses in your VPC via an ENI, without using an Internet Gateway or NAT Gateway.
What is a Gateway VPC Endpoint?
A target you specify in your route tables to privately access Amazon S3 and DynamoDB from your VPC. It is not an ENI and does not use PrivateLink.
When connecting to a service via PrivateLink, does the traffic flow ever touch the public internet?
It stays entirely within the AWS network backbone, never touching the public internet.
What is the key developer benefit of AWS Global Accelerator over CloudFront?
It improves performance for non-HTTP/HTTPS applications (like gaming, IoT, or VoIP) and provides two static, Anycast IP addresses as a fixed entry point.
At what layer does Global Accelerator primarily operate?
Layer 4 (TCP/UDP), which is why it’s suitable for non-HTTP traffic.
What is the primary role of AWS App Mesh in a microservices architecture?
It is a service mesh that enables consistent traffic control, monitoring, and logging across services running on EC2, ECS, or EKS using the Envoy proxy
What is a service mesh?
A microservice abstraction that handles all of the interactions of your microservices with each other, leaving the microservices to just handle their business logic
Which two deployment strategies does App Mesh facilitate?
What is AWS Cloud Map?
An API-based service discovery tool that lets your applications find and connect to services by using custom names, eliminating the need to hardcode service locations.
How does Cloud Map integrate with Route 53?
Cloud Map can create and update Route 53 records automatically for newly deployed services
In what key ways is service discovery different from DNS?
Both answer “where is my dependency?”
Service discovery is better equipped to handle dependencies that are more ephemeral (e.g. likely to move / scale vs. static webpages)
It does that by actively pushing a services location to the resolver (vs. DNS just uses TTL)
How can a developer temporarily restrict access to specific files in a CloudFront distribution?
Use Signed URLs or Signed Cookies
They include an expiration time and a policy to define what the user can access.
What does OAC stand for?
Origin Access Control
What is the modern, preferred way to restrict access to an S3 bucket so that users can only access files via CloudFront?
Origin Access Control (OAC), which is an improvement over the legacy OAI (Origin Access Identity).
A backend service is under maintenance. How can an ALB be configured to communicate this to the client without hitting any of the downstream targets?
Use the Fixed Response Action in the listener rule to immediately return a custom response code (e.g.503 Service Unavailable) and a custom message.
In an ALB, how can you route requests based on data in the request body?
You can’t.
ALBs only perform routing based on data in the request headers, path, query strings, or source IP address.
What is the use case for an ALB Fixed Response Action?
It is an ALB Listener action that returns a specified HTTP status code and body to the client without forwarding the request downstream to any target group
In the context of Geoproximity Routing
What is a bias?
It changes the effective distance between client and server for geoproximity routing
How does an OAC grant CloudFront permission to access a private S3 bucket?
By assigning an IAM Service Principal to the CloudFront distribution and updating the S3 Bucket Policy to trust that principal.
What is the required AWS region for an AWS Certificate Manager (ACM) certificate used with a CloudFront distribution?
It must be created in the us-east-1 (N. Virginia) region, as CloudFront is a global service.
What happens if you try to use an ACM certificate that is NOT in the us-east-1 region for a CloudFront distribution?
CloudFront will not allow the certificate to be selected for the distribution.
What is the recommended practice for securing the connection between the viewer (client) and CloudFront?
Use HTTPS/TLS (requiring an ACM certificate).
If something in a private subnet needs to communicate with S3 or DynamoDB outside the VPC, what should be used?
Gateway Endpoint
If something in a private subnet needs to communicate with an AWS service OTHER THAN S3 or DynamoDB outside the VPC, what should be used?
Interface Endpoint