MCQs on Advanced Configurations | AWS Amazon CloudFront MCQs

Explore the advanced features of AWS Amazon CloudFront with this comprehensive set of MCQ questions and answers. Covering critical topics like multi-origin strategies, real-time monitoring, custom error responses, and Lambda@Edge, these questions will help you excel in mastering CloudFront’s advanced configurations.


5. Advanced Configurations

1-10: Multi-Origin and Load Balancing Strategies
  1. What is a primary purpose of using multiple origins in CloudFront?
    a) Enhanced security
    b) Load distribution
    c) Data encryption
    d) Traffic throttling
  2. How does CloudFront select an origin for requests?
    a) Based on latency and routing policies
    b) Using static configuration
    c) Alphabetically by origin name
    d) Randomly
  3. Which feature supports automatic failover between origins?
    a) Origin Groups
    b) Edge Locations
    c) CNAMEs
    d) Route 53 Resolver
  4. Multi-origin configurations in CloudFront often use:
    a) Weighted routing policies
    b) Security groups
    c) API Gateways
    d) NAT Gateways
  5. What is the role of cache behaviors in multi-origin setups?
    a) Direct requests to specific origins
    b) Encrypt data at rest
    c) Prevent cross-origin requests
    d) Monitor network latency
  6. When configuring multiple origins, you must:
    a) Assign cache behaviors
    b) Enable Web Application Firewall
    c) Use CloudWatch alarms
    d) Compress all files
  7. CloudFront’s integration with Route 53 allows:
    a) Geolocation-based origin selection
    b) Data encryption in transit
    c) Automatic cache invalidation
    d) Secure content delivery
  8. Which origin type is commonly used in multi-origin strategies?
    a) S3 buckets and EC2 instances
    b) RDS databases
    c) CloudTrail logs
    d) CloudFormation templates
  9. Multi-origin setups can be monitored using:
    a) CloudWatch metrics
    b) AWS Config rules
    c) Trusted Advisor
    d) IAM policies
  10. In load balancing, CloudFront supports:
    a) Weighted origin selection
    b) Horizontal auto-scaling
    c) Vertical scaling only
    d) Static IP assignment

11-20: Real-Time Logs and Monitoring
  1. Which service helps analyze CloudFront real-time logs?
    a) Amazon Athena
    b) AWS Trusted Advisor
    c) Amazon Rekognition
    d) AWS Secrets Manager
  2. CloudFront real-time logging requires:
    a) Enabling a log bucket and Kinesis Data Streams
    b) Configuring EC2 instances
    c) Using NAT gateways
    d) Deploying AWS Outposts
  3. Real-time logs capture:
    a) Viewer requests and responses
    b) Database transactions
    c) EC2 instance uptime
    d) Lambda function errors
  4. Logs can be streamed to which service for near-instant insights?
    a) Amazon Kinesis Data Firehose
    b) AWS Elastic Beanstalk
    c) Amazon EMR
    d) AWS Glue Studio
  5. CloudFront monitoring dashboards are available in:
    a) AWS CloudWatch
    b) Amazon Redshift
    c) AWS S3
    d) IAM Management Console
  6. CloudFront’s real-time metrics can include:
    a) Cache hit ratio and origin latency
    b) Database query times
    c) IAM policy changes
    d) RDS instance usage
  7. What is the primary purpose of CloudFront real-time monitoring?
    a) Improve performance and troubleshoot issues
    b) Encrypt content at rest
    c) Enable private IP routing
    d) Create IAM users
  8. CloudFront logs are delivered to:
    a) S3 buckets or Kinesis Data Streams
    b) DynamoDB tables
    c) EFS file systems
    d) AWS CloudFormation
  9. CloudFront log retention policies are managed in:
    a) S3 Lifecycle Rules
    b) Route 53 settings
    c) Lambda functions
    d) AWS Secrets Manager
  10. Real-time monitoring is suitable for:
    a) High-traffic websites
    b) Database backups
    c) EC2 instance configuration
    d) Virtual private networks

21-25: Custom Error Responses
  1. Custom error responses in CloudFront are used to:
    a) Provide user-friendly messages
    b) Redirect to Route 53
    c) Encrypt viewer requests
    d) Enable serverless architecture
  2. What HTTP status codes can trigger custom error responses?
    a) 4xx and 5xx codes
    b) 1xx codes only
    c) 3xx codes only
    d) 2xx codes only
  3. Custom error responses require configuring:
    a) Error caching durations
    b) Viewer request policies
    c) Lambda functions
    d) NAT Gateways
  4. Where do you define custom error pages?
    a) In the CloudFront distribution settings
    b) Through IAM policies
    c) Within S3 bucket permissions
    d) Using EC2 instances
  5. Custom error responses can redirect users to:
    a) Specific URLs or S3 objects
    b) CloudTrail logs
    c) VPC Peering connections
    d) Database snapshots

26-30: Lambda@Edge: Dynamic Content Customization
  1. Lambda@Edge is used with CloudFront to:
    a) Customize content delivery at the edge
    b) Monitor EC2 instances
    c) Encrypt CloudWatch logs
    d) Manage S3 bucket permissions
  2. Which CloudFront event triggers Lambda@Edge functions?
    a) Viewer request
    b) EC2 instance start
    c) VPC connection
    d) IAM policy change
  3. Lambda@Edge functions can modify:
    a) HTTP headers and responses
    b) S3 bucket encryption
    c) RDS database schemas
    d) DynamoDB tables
  4. Lambda@Edge helps achieve:
    a) Low latency personalization
    b) High availability regions
    c) Cross-region replication
    d) Serverless data pipelines
  5. What languages are supported by Lambda@Edge?
    a) Python, Node.js, and Java
    b) C++, Kotlin, and Swift
    c) PHP, Ruby, and Perl
    d) Rust, Go, and Scala

Answer Key

QnoAnswer (Option with Text)
1b) Load distribution
2a) Based on latency and routing policies
3a) Origin Groups
4a) Weighted routing policies
5a) Direct requests to specific origins
6a) Assign cache behaviors
7a) Geolocation-based origin selection
8a) S3 buckets and EC2 instances
9a) CloudWatch metrics
10a) Weighted origin selection
11a) Amazon Athena
12a) Enabling a log bucket and Kinesis Data Streams
13a) Viewer requests and responses
14a) Amazon Kinesis Data Firehose
15a) AWS CloudWatch
16a) Cache hit ratio and origin latency
17a) Improve performance and troubleshoot issues
18a) S3 buckets or Kinesis Data Streams
19a) S3 Lifecycle Rules
20a) High-traffic websites
21a) Provide user-friendly messages
22a) 4xx and 5xx codes
23a) Error caching durations
24a) In the CloudFront distribution settings
25a) Specific URLs or S3 objects
26a) Customize content delivery at the edge
27a) Viewer request
28a) HTTP headers and responses
29a) Low latency personalization
30a) Python, Node.js, and Java

Use a Blank Sheet, Note your Answers and Finally tally with our answer at last. Give Yourself Score.

X
error: Content is protected !!
Scroll to Top