WorksheetsAmazon CloudFront Worksheet
Total questions: 30
Worksheet time: 15mins
What is the primary purpose of Amazon CloudFront?
Store large datasets
Deliver content with low latency through edge locations
Manage virtual machines
Host relational databases
CloudFront delivers content using which types of edge locations?
Origin servers only
Edge locations and Regional Edge Caches
Availability Zones
CloudFormation stacks
Which of the following can serve as an origin for CloudFront?
Amazon S3 bucket
Application Load Balancer
Custom HTTP server (on-premises or EC2)
All of the above
What does CloudFront use to improve content delivery performance?
Machine learning models
Caching content at global edge locations
Replicating databases
Load balancing traffic only
CloudFront integrates tightly with which AWS security service to protect web applications from DDoS attacks?
AWS Shield and AWS WAF
AWS IAM
AWS Firewall Manager
Amazon Inspector
What is an Origin Access Identity (OAI) used for in CloudFront?
Grant CloudFront permission to access private S3 content
Restrict API Gateway requests
Enable logging in CloudWatch
Encrypt S3 buckets
What type of content can CloudFront deliver?
Static only
Dynamic only
Static, dynamic, streaming, and interactive content
Database records
Which protocol does CloudFront use to ensure secure content delivery?
HTTP only
FTP
HTTPS (TLS/SSL)
SMTP
What is the main advantage of enabling caching in CloudFront?
Reduces backend load and improves latency
Increases bandwidth usage
Slows down content delivery
Prevents user access
You want to restrict access to CloudFront content only to specific users. Which feature should you use?
Signed URLs or Signed Cookies
CloudFormation Policies
IAM Roles
S3 Lifecycle Policies
Which AWS service provides logs for CloudFront distributions?
AWS CloudWatch Logs
S3 Access Logs
AWS CloudTrail
Both A and B
What is the default caching behavior of CloudFront when an object is requested for the first time?
Always retrieves from S3
Caches the object at the nearest edge location
Stores it only in origin
Which metric is used to measure cache performance in CloudFront?
Cache Hit Ratio
Request Count
Data Transfer Rate
Latency
What happens when CloudFront’s TTL expires for a cached object?
Object is deleted permanently
CloudFront revalidates or fetches it from origin
Request is denied
Object becomes immutable
A company wants to serve video content globally with minimal delay. Which AWS service is best suited?
S3
CloudFront
Lambda
EBS
What is the main function of Amazon CloudWatch?
Manage user permissions
Monitor AWS resources and applications
Host web applications
Store big data
CloudWatch collects which types of metrics by default?
Custom metrics only
AWS resource-level metrics (e.g., EC2 CPU utilization)
Networking logs
Lambda error traces only
Which CloudWatch component helps visualize metrics in a dashboard?
CloudWatch Logs
CloudWatch Events
CloudWatch Dashboards
CloudFormation Templates
You can set up automatic actions such as stopping an EC2 instance when a metric exceeds a threshold using:
CloudTrail
CloudWatch Alarms
AWS Config
Trusted Advisor
What is the minimum granularity available for EC2 CloudWatch metrics by default?
1 second
5 minutes
10 minutes
1 minute
What are CloudWatch Logs primarily used for?
Storing S3 object logs
Capturing, monitoring, and analyzing log files from AWS and applications
Managing IAM policies
Tracking billing alerts
Which AWS service integrates with CloudWatch for real-time resource monitoring?
AWS Lambda
AWS EC2
Amazon RDS
All of the above
Which CloudWatch feature can detect anomalies automatically using ML-based insights?
CloudWatch Anomaly Detection
CloudWatch Metrics Explorer
CloudWatch Logs Insights
You want to trigger a Lambda function when a specific event occurs in your AWS account. Which service combination should you use?
CloudWatch + CloudTrail
CloudWatch Events (EventBridge) + Lambda
S3 + SNS
EC2 + IAM
Which AWS service provides alarms for specific metrics such as EC2 CPU utilization or RDS storage space?
CloudWatch
CloudFormation
SNS
Config
Which AWS service provides cost-free basic monitoring for AWS resources?
CloudTrail
CloudWatch Basic
AWS Config
Systems Manager
CloudWatch Logs Insights allows users to:
Build dashboards
Query and analyze log data
Archive logs to S3
Send emails to admins
What is the retention policy for CloudWatch metrics by default?
1 day
15 days
15 months
5 years
You want to create an alert when API Gateway latency exceeds 500ms. What should you configure?
CloudWatch Alarm on API Gateway metrics
CloudTrail log filter
S3 event trigger
Lambda timeout
Your DevOps team wants to automatically restart EC2 instances when CPU utilization drops below 10% for 15 minutes. Which CloudWatch features will you use?
CloudWatch Logs + Lambda
CloudWatch Alarm + EC2 Action
CloudTrail + SNS
Config Rule + CloudWatch Logs
