Free AWS Certified Cloud Practitioner (CLF-C02) Study Resources
Free to use right now: 857 practice questions with explanations, 163 study notes and 790 flashcards. Questions follow the four domains of the official exam guide, so a weak area on screen is a weak area on the day. Nothing here is a brain dump, and BrainyBee is not the exam vendor — the CLF-C02 exam itself is booked and paid for separately.
857
Practice Questions
163
Study Notes
790
Flashcards
CLF-C02 exam prep
Booked CLF-C02? Start practising now.
Free to use right now: 857 practice questions with explanations, 163 study notes and 790 flashcards. Questions follow the four domains of the official exam guide, so a weak area on screen is a weak area on the day. Nothing here is a brain dump, and BrainyBee is not the exam vendor — the CLF-C02 exam itself is booked and paid for separately.
The timed mock is assembled to the blueprint's 65 questions from this bank each time you start one.
Practise, read why an answer was wrong, study that domain, practise again.
The diagnostic draws questions from every domain in the exam guide, so each domain has enough evidence behind it. You answer at your own pace; nothing is charged and no card is asked for.
Each question carries a written explanation, and your results break down by exam domain so you can see which areas are costing you marks rather than guessing at them.
Study notes and flashcards for this certification are on this page and in the workspace, and the free AI tutor will answer follow-up questions about anything you just got wrong. The free tutor has fair-use limits.
Come back and practise again — a fresh set each time, and a full-length timed paper when you want to rehearse the real sitting. Your readiness estimate moves with the evidence; it is an estimate, not a probability of passing.
The diagnostic draws questions from every domain in the exam guide, so each domain has enough evidence behind it. You answer at your own pace; nothing is charged and no card is asked for.
$0 to study
Public study material, practice tests and the free AI tutor cost nothing. The free tutor has fair-use limits.
Optional AI credit top-ups start at $5, and premium usage is charged from your wallet.
No subscription and no card are needed to start free practice. The certification exam fee is separate and goes to the exam vendor.
This curriculum covers the core AWS services designed to enable communication between independent components of cloud-native applications: Amazon EventBridge, Amazon Simple Notification Service (SNS), and Amazon Simple Queue Service (SQS). These services are fundamental to building decoupled, highly scalable, and event-driven architectures.
## Prerequisites
Before starting this module, students should possess the following foundational knowledge:
Cloud Fundamentals: Basic understanding of AWS Regions, Availability Zones, and the Shared Responsibility Model.
Computing Basics: Familiarity with Amazon EC2 (instances) and AWS Lambda (serverless functions).
Data Formats: A basic understanding of JSON (JavaScript Object Notation), as it is the primary format for events and messages.
Architectural Concepts: Awareness of the difference between monolithic and microservices architectures.
Polling, decoupling, visibility timeout, and buffers
Medium
4. Integration Patterns
Orchestration & Design
Choosing the right service for the right use case
High
## Module Objectives per Module
Module 1: Amazon EventBridge
Define EventBridge as a "smart hub" for application events.
Configure Rules to trigger actions based on system state changes (e.g., an EC2 instance stopping).
Differentiate between event-based triggers and metric-based triggers (CloudWatch Alarms).
Module 2: Amazon SNS
Explain the Publish/Subscribe (Pub/Sub) model.
Identify supported protocols: SMS, Email, HTTP/S, and Lambda.
Understand the "fan-out" pattern where one message is sent to multiple subscribers.
Module 3: Amazon SQS
Define Decoupling and its importance in preventing system failure cascades.
Distinguish between Standard Queues (at-least-once delivery) and FIFO Queues (first-in-first-out).
Describe how SQS acts as a buffer to handle spikes in traffic.
## Visual Anchors
Service Selection Logic
Loading Diagram...
Figure 1 — Mermaid diagram
Integration Architecture Example
Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram
## Success Metrics
To demonstrate mastery of this curriculum, the student must be able to:
Identify which service to use when a requirement specifies "pushing notifications to mobile devices" (SNS).
Explain how SQS prevents a web server from crashing during a sudden burst of 1,000,000 requests.
Design a simple workflow where EventBridge triggers a Lambda function based on an IAM user login event.
Calculate basic free tier limits: Recognize that SNS and SQS both offer ~1 million free requests/publishes.
## Real-World Application
In a career as a Cloud Architect or Developer, these services are the "glue" of the cloud:
Resilience: By using SQS, you ensure that if your database goes down, your messages aren't lost—they stay in the queue until the database returns.
Agility: With EventBridge, you can add new features (like an email alert) to an existing system without modifying the original code; you simply add a new event rule.
Scalability: These services are serverless and scale automatically, meaning you don't have to manage servers for your messaging infrastructure.
## Examples Section
[!TIP]
Use these scenarios to decide which service to implement in your architecture.
Scenario
Primary Service
Why?
Password Reset
Amazon SNS
Immediate delivery to a specific email or phone number is required (Push).
Order Processing
Amazon SQS
Orders arrive at different speeds; the backend needs a buffer to process them at its own pace (Polling/Decoupling).
Daily Report Trigger
Amazon EventBridge
EventBridge supports "Scheduled Events" (cron jobs) to run tasks at specific times.
Image Metadata Extraction
SQS + Lambda
When a user uploads a photo, the photo ID is put in a queue so a worker can process it without making the user wait.
▶Deep Dive: SNS vs. SQS
While both handle messages, remember: SNS is Push (it sends data to you immediately) and SQS is Pull (your application must go and ask for the data). They are often used together in a "Fan-out" pattern where SNS sends a message to multiple SQS queues simultaneously.
This document provides a structured roadmap for mastering AWS Identity and Access Management (IAM) and related security services, aligned with the AWS Certified Cloud Practitioner (CLF-C02) exam objectives.
Prerequisites
Before beginning this curriculum, learners should have a foundational understanding of the following:
Cloud Computing Basics: Familiarity with the on-demand nature of cloud resources.
The Shared Responsibility Model: Understanding that while AWS secures the "cloud," the customer is responsible for security "in the cloud" (specifically identity and data access).
Basic Networking: Understanding that resources exist within a Virtual Private Cloud (VPC) and require controlled entry points.
[!IMPORTANT]
Mastery of Access Management is the single most critical factor in preventing data breaches within an AWS environment.
Module Breakdown
Module
Topic
Primary Focus
Difficulty
1
The Root User
Protection, initial setup, and restricted tasks
★☆☆☆☆
2
IAM Fundamentals
Users, Groups, and the Principle of Least Privilege
★★☆☆☆
3
Policies & Permissions
JSON structures, Managed vs. Custom policies
★★★☆☆
4
Roles & Federation
Cross-account access, service-to-service, and SSO
★★★★☆
5
Secret Management
AWS Secrets Manager and Systems Manager
★★☆☆☆
Learning Objectives per Module
Module 1: The Root User & Initial Security
Identify tasks that only the account root user can perform (e.g., changing account settings, closing the account).
Explain the critical importance of protecting the root user with Multi-Factor Authentication (MFA).
Understand why daily administrative tasks should never be performed by the root user.
Module 2: IAM Entities (Users, Groups, Roles)
Differentiate between an IAM User (individual), an IAM Group (collection of users), and an IAM Role (temporary credentials).
Apply the Principle of Least Privilege: Granting only the minimum permissions required to perform a task.
Loading Diagram...
Figure 1 — Mermaid diagram
Module 3: Permissions & Policies
Understand that policies are JSON documents that define what actions are allowed on which resources.
Identify the difference between AWS Managed Policies (pre-built) and Customer Managed Policies.
Module 4: Enterprise Identity
Define AWS IAM Identity Center (formerly Single Sign-On) and its role in managing multiple accounts.
Understand Federation (e.g., SAML 2.0) to allow users to sign in using corporate credentials (like Active Directory).
Module 5: Credential Storage & Automation
Explain the role of AWS Secrets Manager in rotating and managing database credentials and API keys.
Identify how AWS Systems Manager provides a unified interface for operational tasks and parameter storage.
Real-World Application
Understanding access management is not just for passing the exam; it is vital for professional cloud operations:
Case Study: The S3 Data Breach: A company fails to use the Principle of Least Privilege, giving an EC2 instance full administrative access. If the instance is compromised, the attacker can delete the entire S3 infrastructure. Applying an IAM Role with only s3:GetObject permission would have prevented the disaster.
Compliance & Auditing: Using AWS CloudTrail in conjunction with IAM allows organizations to see exactly who made what API call, which is essential for HIPAA or PCI-DSS compliance.
Credential Rotation: In a production environment, hardcoding passwords in application code is a major risk. Using AWS Secrets Manager allows the system to change passwords automatically every 30 days without human intervention.
Success Metrics
To determine if you have mastered this curriculum, you should be able to:
Diagram the Auth Flow: Explain how an IAM User authenticates (MFA/Password) and then gets authorized (Policy evaluation).
Configuration Task: Successfully create an IAM Group, attach the AmazonS3ReadOnlyAccess policy, and verify a user in that group cannot delete a bucket.
Policy Logic Calculation: Identify the outcome of a policy conflict.
Formula for Policy Evaluation:(Explicit Deny)>(Explicit Allow)>(Default Deny)
Recall Test: List 3 tasks exclusive to the Root User.
Before starting this lab, ensure you have the following ready:
An active AWS Account.
Administrative access to the account (It is highly recommended to use an IAM Admin user, not the AWS root user, to follow best practices).
AWS CLI installed and configured on your local machine (aws configure) with your administrative credentials.
Basic familiarity with using a command-line interface (CLI) or terminal.
Learning Objectives
By completing this 30-minute lab, you will be able to:
Create and manage IAM Groups and Users within an AWS account.
Apply the Principle of Least Privilege by attaching specific, restricted managed policies to an IAM Group.
Generate and configure programmatic access credentials (access keys) for an IAM User.
Verify access controls by attempting authorized and unauthorized actions via the AWS CLI.
Architecture Overview
The following diagram illustrates the relationship between the IAM entities and the AWS resources you will configure in this lab.
Loading Diagram...
Figure 1 — Mermaid diagram
Step-by-Step Instructions
Step 1: Create a Test S3 Bucket
We need a resource for our new IAM user to interact with. We will create an Amazon S3 bucket.
bash
aws s3 mb s3://brainybee-lab-bucket-12345
(Note: S3 bucket names must be globally unique. Replace 12345 with random numbers if the bucket name is taken).
▶Console alternative
Navigate to
S3 > Create bucket
. Enter a unique bucket name like brainybee-lab-bucket-12345, leave all defaults, and click
Create bucket
.
[!TIP]
Always use lowercase letters and hyphens for S3 bucket names to avoid DNS-compliance errors.
Step 2: Create an IAM Group
Following best practices, we assign permissions to groups rather than individual users. We will create a group for users who only need read access to S3.
bash
aws iam create-group --group-name brainybee-s3-readers
▶Console alternative
Navigate to
IAM > User Groups > Create group
. Name the group brainybee-s3-readers and click
Create group
.
[!IMPORTANT]
IAM Group names are case-sensitive in some contexts, so stick to a consistent naming convention.
Step 3: Attach a Least-Privilege Policy to the Group
We will attach an AWS Managed Policy that explicitly grants Read-Only access to S3, embodying the principle of least privilege.
bash
aws iam attach-group-policy --group-name brainybee-s3-readers --policy-arn arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
▶Console alternative
Navigate to
IAM > User Groups
, click on brainybee-s3-readers, go to the
Permissions
tab, click
Add permissions > Attach policies
. Search for AmazonS3ReadOnlyAccess, check the box, and click
Add permissions
.
[!NOTE]
The ARN (Amazon Resource Name) arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess points to an AWS-managed policy maintained by AWS. You do not need to write the JSON for this policy yourself.
Step 4: Create an IAM User and Access Keys
Now, create a user who will act as our test subject, and generate programmatic credentials so they can use the CLI.
bash
aws iam create-user --user-name brainybee-test-user
aws iam create-access-key --user-name brainybee-test-user
▶Console alternative
Navigate to
IAM > Users > Add users
. Name the user brainybee-test-user. Do not give them console access. Once created, click on the user, go to
Security credentials
, and click
Create access key
for CLI use. Save the resulting keys.
[!WARNING]
The CLI will output an AccessKeyId and a SecretAccessKey. Copy these immediately! The secret key is only displayed once. If you lose it, you must delete the key and generate a new one.
Step 5: Add the User to the Group
Currently, the user has no permissions. By adding them to the group, they will inherit the S3 Read-Only policy.
bash
aws iam add-user-to-group --user-name brainybee-test-user --group-name brainybee-s3-readers
▶Console alternative
Navigate to
IAM > Users
, click brainybee-test-user, go to the
Groups
tab, click
Add user to groups
, select brainybee-s3-readers, and save.
[!TIP]
In a real-world scenario, if a user changes roles within a company, you simply remove them from their old group and add them to a new one, rather than auditing dozens of individual user-level policies.
Step 6: Configure the Test User Profile locally
Set up a secondary AWS CLI profile on your machine to test the new user's access.
bash
aws configure --profile testuser
Paste the AccessKeyId and SecretAccessKey you generated in Step 4. You can leave the default region and output format blank.
Checkpoints
Verify that the configuration works and that the principle of least privilege is actively protecting your environment.
Checkpoint 1: Test Authorized Access (Read)
Attempt to list S3 buckets using the test user's profile. Because they are in the brainybee-s3-readers group, this should succeed.
bash
aws s3 ls--profile testuser
Expected Result: You should see a list of your S3 buckets, including the brainybee-lab-bucket-12345 you created in Step 1.
Checkpoint 2: Test Unauthorized Access (Write)
Attempt to create a new S3 bucket using the test user's profile. This should fail because the policy explicitly grants only read access.
Expected Result: An AccessDenied error. This proves your least privilege boundaries are functioning correctly.
Clean-Up / Teardown
[!WARNING] Remember to run the teardown commands to avoid ongoing clutter and potential security vulnerabilities from stray access keys.
Run the following CLI commands using your default (Admin) profile to remove all created resources.
bash
# 1. Delete the user's access key (Replace <ACCESS_KEY_ID> with the ID from Step 4)aws iam delete-access-key --user-name brainybee-test-user --access-key-id <ACCESS_KEY_ID># 2. Remove the user from the groupaws iam remove-user-from-group --user-name brainybee-test-user --group-name brainybee-s3-readers
# 3. Delete the useraws iam delete-user --user-name brainybee-test-user
# 4. Detach the policy from the groupaws iam detach-group-policy --group-name brainybee-s3-readers --policy-arn arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
# 5. Delete the groupaws iam delete-group --group-name brainybee-s3-readers
# 6. Delete the S3 bucket (Replace the number with your unique bucket suffix)aws s3 rb s3://brainybee-lab-bucket-12345 --force
Troubleshooting
Common Error
Cause
Fix
An error occurred (AccessDenied) when calling the CreateBucket operation (During Step 1)
Your default CLI profile doesn't have Admin permissions.
Reconfigure aws configure using an IAM Admin user access key.
An error occurred (NoSuchEntity) when calling the AttachGroupPolicy operation
A typo in the policy ARN or the group name.
Verify the ARN is exactly arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess and the group name matches Step 2.
An error occurred (BucketAlreadyExists)
S3 bucket names must be globally unique across all of AWS.
Append random numbers to your bucket name in Step 1.
DeleteConflict during Teardown
Trying to delete a group before removing users, or deleting a user before deleting their access keys.
Follow the Teardown list in the exact numbered order. Dependencies must be removed first.
Cost Estimate
This lab strictly utilizes AWS IAM (which is always free) and standard Amazon S3 bucket creation without uploading heavy objects.
Total Estimated Cost: $0.00 (Covered entirely by the AWS Free Tier and IAM zero-cost structure).
Curriculum Overview750 words
AWS AI/ML and Data Analytics Services: Curriculum Overview
AWS artificial intelligence and machine learning (AI/ML) services and analytics services
AWS AI/ML and Data Analytics Services: Curriculum Overview
This curriculum provides a comprehensive overview of the Artificial Intelligence (AI), Machine Learning (ML), and Data Analytics services within the AWS ecosystem, specifically aligned with the AWS Certified Cloud Practitioner (CLF-C02) exam objectives (Domain 3.7).
Prerequisites
Before diving into AI/ML and Analytics, students should possess the following foundational knowledge:
Cloud Fundamentals: Understanding of the AWS Shared Responsibility Model and Global Infrastructure.
Storage Basics: Familiarity with Amazon S3 (Simple Storage Service), as it often serves as the "Data Lake" for analytics and ML training.
Basic IT Literacy: Understanding the difference between structured data (databases) and unstructured data (text, images).
Cloud Economics: Awareness of the pay-as-you-go model, which is critical for high-resource tasks like ML training.
Module Breakdown
Module
Focus Area
Difficulty
Primary Services
1
Foundations of AI & ML
Beginner
SageMaker
2
Specialized AI Services
Intermediate
Lex, Polly, Rekognition, Comprehend
3
Data Analytics Core
Intermediate
Athena, Glue, Redshift (Overview)
4
Real-Time & Visualization
Intermediate
Kinesis, QuickSight
Learning Objectives per Module
Module 1: Foundations of AI & ML
Define AI vs. ML: Distinguish between general Artificial Intelligence and the subset of Machine Learning.
Amazon SageMaker: Understand its role as a "smart assistant" for the entire ML lifecycle: building, training, and deploying models.
Module 2: Specialized AI Services
Natural Language Processing (NLP): Identify Amazon Comprehend for sentiment analysis and Amazon Translate for language conversion.
Speech & Text: Differentiate between Polly (text-to-speech), Transcribe (speech-to-text), and Textract (extracting text from documents).
Vision & Conversation: Explain the use of Rekognition for image analysis and Lex for building conversational chatbots.
Module 3: Data Analytics Core
Serverless Querying: Use Amazon Athena to query data residing in S3 using standard SQL.
Data Integration: Understand AWS Glue for ETL (Extract, Transform, Load) processes and data cataloging.
Module 4: Real-Time & Visualization
Streaming Data: Identify Amazon Kinesis for processing real-time, streaming data at scale.
Business Intelligence (BI): Recognize Amazon QuickSight as the primary tool for creating dashboards and visualizing data.
Visual Anchors
The Data Analytics Pipeline
Loading Diagram...
Figure 1 — Mermaid diagram
AI/ML Service Categorization
Loading Diagram...
Figure 2 — Mermaid diagram
Success Metrics
To demonstrate mastery of this curriculum, students should be able to:
Match Service to Scenario: If a customer needs to turn a voice recording into text, identify Amazon Transcribe immediately.
Explain SageMaker's Value: Articulate how SageMaker allows developers to build ML models without being "coding experts" in low-level algorithms.
Define SQL-on-S3: Explain how Amazon Athena eliminates the need to load data into a database before querying it.
Identify Real-Time Constraints: Recognize that Amazon Kinesis is the correct choice for sub-second data ingestion, unlike batch processing.
[!IMPORTANT]
For the CLF-C02 exam, you do not need to know how to code these services, but you must know what problem each service solves.
Real-World Application
Understanding these services is critical for modern career paths in Cloud Architecture and Data Engineering:
Customer Support: Using Amazon Lex and Amazon Polly to create automated, human-like phone support systems (IVR).
Financial Auditing: Using Amazon Textract to automatically pull data from thousands of scanned invoices, saving hundreds of manual labor hours.
E-commerce: Using Amazon Personalize (AI) or SageMaker to suggest products to users based on their browsing history.
Executive Reporting: Connecting Amazon QuickSight to an S3 data lake to give CEOs real-time visibility into global sales trends.
▶Deep Dive: Why use SageMaker vs. Specialized Services?
If you have a very specific, common task (like translating text), use a specialized service like
Amazon Translate
. If you are trying to predict something unique to your business (like custom stock market fluctuations), use
Amazon SageMaker
to build a custom model from your own data.
Hands-On Lab918 words
Hands-On Lab: AWS AI/ML and Storage Services Integration
AWS artificial intelligence and machine learning (AI/ML) services and analytics services
Hands-On Lab: AWS AI/ML and Storage Services Integration
Welcome to this guided hands-on lab! Artificial intelligence (AI) and machine learning (ML) are among the most exciting areas in cloud computing today. AWS provides a suite of managed AI services that allow you to add powerful capabilities—like natural language processing (NLP) and computer vision—to your applications without requiring deep ML expertise.
In this 30-minute lab, we will combine Amazon S3 (for storage) with Amazon Comprehend (for text analytics) and Amazon Rekognition (for image analysis) to demonstrate how these services interact.
Prerequisites
Before starting this lab, ensure you have the following ready:
AWS Account: Active AWS account with Administrator or PowerUser access.
CLI Tools: AWS CLI installed and configured (aws configure) with valid access keys.
Prior Knowledge: Basic familiarity with the terminal/command prompt and understanding of cloud storage concepts.
Local Files: You will need a sample image (e.g., a .jpg of a landscape, animal, or city) saved on your local machine.
[!WARNING]
Never hardcode or share your AWS credentials. Always use environment variables or secure AWS CLI profiles.
Learning Objectives
By completing this lab, you will be able to:
Provision an Amazon S3 bucket to store raw unstructured data for machine learning.
Use Amazon Rekognition to identify objects, people, or scenes in an image.
Extract sentiment and key entities from unstructured text using Amazon Comprehend.
Clean up and tear down AWS resources to avoid unexpected charges.
Architecture Overview
The following diagram illustrates the workflow of the services we are building:
Loading Diagram...
Figure 1 — Mermaid diagram
Step-by-Step Instructions
Step 1: Create an S3 Bucket for ML Data
Amazon S3 (Simple Storage Service) is the foundational object storage layer for most data analytics and ML workflows on AWS. We need a place to store our image before analyzing it.
bash
aws s3 mb s3://brainybee-ai-lab-<YOUR_ACCOUNT_ID>
[!TIP]
S3 bucket names must be globally unique. Replace <YOUR_ACCOUNT_ID> with your actual 12-digit AWS account number or a unique random string.
▶Console alternative
Log into the AWS Management Console.
Navigate to S3 and click Create bucket.
Enter brainybee-ai-lab-<YOUR_ACCOUNT_ID> as the Bucket name.
Leave all other settings as default and click Create bucket.
Click Add files, select sample-image.jpg from your computer.
Click Upload at the bottom of the screen.
Step 3: Analyze Image with Amazon Rekognition
Amazon Rekognition makes it easy to add image and video analysis to your applications. We will ask Rekognition to detect labels (objects, scenes, concepts) in the image we just uploaded.
Explanation: This command tells Rekognition to look at sample-image.jpg inside your S3 bucket and return the top 5 labels describing what it sees along with a confidence score.
▶Console alternative
Navigate to Amazon Rekognition in the AWS Console.
In the left sidebar, click Label detection.
Under the demo section, upload your sample-image.jpg.
View the resulting tags and confidence scores on the right-hand panel.
Step 4: Analyze Text Sentiment with Amazon Comprehend
Amazon Comprehend uses natural-language processing (NLP) to find insights and relationships in text. Let's analyze a sample review to determine its sentiment (Positive, Negative, Neutral, or Mixed).
bash
aws comprehend detect-sentiment \--text"AWS machine learning services like SageMaker and Comprehend are incredibly powerful and easy to use!"\ --language-code en \--region us-east-1
Explanation: Unlike Rekognition which read from S3, here we are passing the text string directly into the synchronous Comprehend API. You should receive a JSON response indicating a high POSITIVE sentiment score.
Step 5: Extract Entities with Amazon Comprehend
Comprehend can also pull out key entities like Organizations, Locations, Persons, and Dates.
bash
aws comprehend detect-entities \--text"Jeff Bezos founded Amazon in Bellevue, Washington in 1994."\ --language-code en \--region us-east-1
▶Console alternative (Steps 4 & 5)
Navigate to Amazon Comprehend in the AWS Console.
Click Launch Amazon Comprehend.
Scroll down to the Real-time analysis section.
Paste your text into the Input text box.
Click Analyze and explore the Entities and Sentiment tabs below to see the visual output.
Checkpoints
Verify your progress after the steps above to ensure everything is functioning correctly:
Storage Verification: Run aws s3 ls s3://brainybee-ai-lab-<YOUR_ACCOUNT_ID>/.
Expected Output: You should see sample-image.jpg listed with its timestamp and file size.
Rekognition Verification: Review the JSON output from Step 3.
Expected Output: A list of Labels containing a Name (e.g., "Nature", "Dog") and a Confidence score close to 99.0.
Comprehend Verification: Review the JSON output from Step 4.
Expected Output:"Sentiment": "POSITIVE" should be the top-level key.
Troubleshooting
Error Message / Issue
Likely Cause
Solution
InvalidToken or AccessDenied
Your AWS CLI credentials are not configured or have expired.
Run aws configure and provide valid access keys. Ensure your IAM user has S3 and AI service permissions.
BucketAlreadyExists
Another AWS user globally has taken the S3 bucket name.
Change your bucket name to include more random characters.
InvalidS3ObjectException
Rekognition cannot find the image.
Check that the --image JSON string in Step 3 exactly matches your bucket name and file name.
UnrecognizedClientException
The region specified doesn't support the requested AI service.
Append --region us-east-1 to your commands, as US-East-1 supports all AI services.
Cost Estimate
This lab is designed to be highly cost-effective and falls comfortably within the AWS Free Tier if you are eligible:
Amazon S3: Standard storage for one image is a fraction of a cent.
Amazon Rekognition: Free tier includes 1,000 image analyses per month.
Amazon Comprehend: Free tier includes 50,000 units of text (100 characters = 1 unit) per month.
Total Estimated Cost: $0.00
Clean-Up / Teardown
[!WARNING]
Remember to run the teardown commands to avoid ongoing charges. Even though storage costs are negligible, it is best practice to clean up lab environments.
To destroy the resources created in this lab, execute the following commands in your CLI:
This document provides a comprehensive overview of the AWS Certified Cloud Practitioner (CLF-C02) curriculum. This foundational certification validates an individual's overall understanding of the AWS Cloud platform, independent of specific technical roles.
## Prerequisites
While there are no mandatory certifications required before taking the CLF-C02, AWS recommends the following baseline experience to ensure success:
Experience: Approximately six months of exposure to the AWS Cloud in any capacity (technical, managerial, sales, purchasing, or financial).
General IT Knowledge: A basic understanding of information technology (IT) services and how they are integrated into the AWS Cloud platform.
Technical Familiarity: General knowledge of application servers and basic networking concepts.
[!IMPORTANT]
This exam is designed for individuals who want to demonstrate cloud fluency and a high-level understanding of the AWS ecosystem, making it ideal for both technical and non-technical professionals.
## Module Breakdown
The curriculum is divided into four primary domains. Each domain focuses on a critical aspect of cloud operations and strategy.
Curriculum Structure
Loading Diagram...
Figure 1 — Mermaid diagram
Domain
Focus Area
Key Elements
Domain 1
Cloud Concepts
Value proposition, Cloud economics, and Well-Architected Framework.
Domain 2
Security & Compliance
Shared Responsibility Model, AWS IAM, and security best practices.
Domain 3
Cloud Technology
Compute (EC2/Lambda), Storage (S3), Database (RDS), and Networking.
Domain 4
Billing & Pricing
Pricing models (On-Demand vs. Reserved), AWS Budgets, and Support plans.
## Learning Objectives per Module
Domain 1: Cloud Concepts
Objective: Define the AWS Cloud and its value proposition.
Example: Understanding how "Agility" allows a startup to launch global applications in minutes rather than weeks.
Domain 2: Security and Compliance
Objective: Describe the AWS Shared Responsibility Model.
Example: AWS is responsible for the security of the cloud (physical data centers), while the customer is responsible for security in the cloud (patching their own guest OS).
Domain 3: Cloud Technology and Services
Objective: Identify core AWS services for common use cases.
Example: Using Amazon S3 for durable object storage (like hosting static website images) versus Amazon EC2 for scalable virtual servers.
Domain 4: Billing, Pricing, and Support
Objective: Compare various pricing models and support tools.
Example: Utilizing AWS Cost Explorer to visualize and forecast spending patterns over a 12-month period.
## Success Metrics
To pass the CLF-C02 examination, candidates must meet specific scoring criteria and demonstrate proficiency across all domains.
Scoring Breakdown
Score Range: 100 to 1000 points.
Passing Threshold: A minimum scaled score of 700 is required.
Question Format: Multiple choice (one correct) and Multiple response (two or more correct).
Loading Diagram...
Figure 2 — Mermaid diagram
[!TIP]
The exam includes 15 unscored questions used by AWS for evaluation. These do not affect your final grade, but they are not identified, so treat every question as if it counts.
## Real-World Application
Achieving the AWS Cloud Practitioner certification is not just about passing an exam; it provides the foundational language for modern business technology.
Career Progression: It serves as the prerequisite or "stepping stone" toward Associate-level certifications, such as AWS Certified Solutions Architect or AWS Certified Developer.
Cross-Functional Collaboration: Enables sales, marketing, and legal teams to communicate effectively with engineering departments regarding cloud costs and security requirements.
Strategic Migration: Helps decision-makers understand the Well-Architected Framework, ensuring that cloud migrations are cost-effective, secure, and reliable.
▶Click to expand: Key Core Service Real-World Examples
Amazon EC2: Virtual machines for running custom software.
AWS Lambda: Serverless functions that run code only when triggered by events (e.g., a file upload).
Amazon RDS: Managed relational databases (SQL) that handle their own backups and patching.
Amazon VPC: A private, isolated section of the AWS Cloud where you can launch resources in a virtual network you define.
In the left navigation pane, choose Account settings.
Under Password policy, click Edit.
Select Custom and check the boxes for uppercase, lowercase, numbers, and non-alphanumeric characters.
Set the minimum password length to 14.
Check Allow users to change their own password.
Click Save changes.
📸 Screenshot: The IAM Account Settings page showing custom password policy checkboxes.
[!TIP]
The Principle of Least Privilege states that users should only be granted the permissions necessary to perform their specific job functions. Combining strict password policies with Multi-Factor Authentication (MFA) is a critical best practice.
Step 2: Enable Amazon GuardDuty for Threat Detection
Amazon GuardDuty is a machine-learning-powered threat detection service that continuously monitors malicious activity and unauthorized behavior.
bash
aws guardduty create-detector --enable
Note: This command will output a DetectorId. You do not need to save it for this lab.
▶Console alternative
Navigate to GuardDuty in the AWS Management Console.
Click Get Started.
Click the Enable GuardDuty button.
📸 Screenshot: The GuardDuty welcome screen with the blue "Enable GuardDuty" button.
Step 3: Securely Store Credentials in AWS Secrets Manager
Hardcoding passwords in application code is a major security vulnerability. AWS Secrets Manager allows you to securely store, rotate, and manage API keys and database passwords.
Expected Result: A JSON response containing your secret string with the username and password.
Clean-Up / Teardown
[!WARNING]
Remember to run the teardown commands to avoid ongoing charges. GuardDuty offers a 30-day free trial, but Secrets Manager charges per secret stored.
Execute the following commands to delete the resources created in this lab:
1. Delete the IAM Password Policy (Reverts to AWS defaults):
bash
aws iam delete-account-password-policy
2. Delete the Secret (forces immediate deletion without a recovery window):
Ensure your CLI user has AdministratorAccess or specific policies for IAM, GuardDuty, and Secrets Manager attached.
ResourceExistsException
A secret with the name brainybee-lab-db-secret already exists.
Delete the existing secret or choose a different name for your lab secret.
InvalidInputException (IAM)
Invalid password policy parameters.
Ensure you copy the exact CLI arguments or check the correct boxes in the console.
Stretch Challenge
Now that you have enabled GuardDuty, try enabling AWS Security Hub. Security Hub aggregates findings from GuardDuty, Inspector, and Macie into a single pane of glass.
Your Challenge: Use the AWS CLI to enable AWS Security Hub and manually trigger a sample GuardDuty finding to see it appear in the Security Hub console.
▶Show solution
bash
# Enable Security Hubaws securityhub enable-security-hub --enable-default-standards
# Get your GuardDuty Detector IDDETECTOR_ID=$(aws guardduty list-detectors --query'DetectorIds[0]'--output text)# Generate sample findings in GuardDuty (which will sync to Security Hub)aws guardduty create-sample-findings --detector-id $DETECTOR_ID
Navigate to Security Hub in the console to view the aggregated sample findings.
Cost Estimate
This lab falls largely under the AWS Free Tier, assuming your account is eligible and you clean up promptly:
IAM / CloudTrail Event History: Always free.
Amazon GuardDuty: 30-day free trial for new accounts. Afterward, priced based on log volume analyzed.
AWS Secrets Manager: $0.40 per secret per month. If deleted immediately using --force-delete-without-recovery, the prorated cost will be $0.00.
Concept Review
Security and Compliance in the AWS Cloud are governed by the Shared Responsibility Model. AWS is responsible for the security OF the cloud (infrastructure, physical data centers), while you (the customer) are responsible for security IN the cloud (your data, password policies, firewall rules).
The CIA Triad
AWS security measures are built around the CIA Triad:
Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram
Confidentiality: Ensuring data is encrypted (e.g., KMS) and access is strictly controlled (e.g., IAM, Secrets Manager).
Integrity: Ensuring data is not altered.
Availability: Ensuring systems and data remain accessible.
AWS Security Service Comparison
Understanding the differences between AWS threat detection and compliance tools is essential for the Cloud Practitioner exam:
Service
Primary Use Case
Key Mechanism
Amazon GuardDuty
Continuous threat detection
Machine learning analysis of CloudTrail, VPC Flow Logs, and DNS logs.
Amazon Inspector
Vulnerability assessment
Scans EC2 instances and container images for software vulnerabilities.
AWS CloudTrail
API Auditing
Records user activity and API calls for governance and compliance.
AWS Secrets Manager
Credential management
Securely stores and automatically rotates database passwords and API keys.
Amazon Macie
Data privacy and protection
Uses machine learning to discover and protect sensitive data (PII) in Amazon S3.
AWS Artifact
Regulatory compliance
On-demand access to AWS security and compliance reports (e.g., SOC, PCI).
These tools combined allow organizations to build highly secure architectures that adhere strictly to industry compliance standards while leveraging the elastic nature of the AWS cloud.
Curriculum Overview685 words
AWS Cloud Security, Governance, and Compliance: Curriculum Overview
AWS Cloud security, governance, and compliance concepts
AWS Cloud Security, Governance, and Compliance: Curriculum Overview
This curriculum provides a structured path to mastering the foundational security, governance, and compliance concepts required for the AWS Certified Cloud Practitioner (CLF-C02) exam. It focuses on the Shared Responsibility Model, AWS security services, and regulatory compliance tools.
Prerequisites
Before starting this curriculum, students should have a baseline understanding of the following:
Cloud Computing Basics: Familiarity with on-demand delivery, pay-as-you-go pricing, and scalability.
Foundational AWS Concepts: Basic knowledge of the AWS Management Console and core services (Compute, Storage, Networking).
General Security Concepts: A high-level understanding of what firewalls, encryption, and user passwords are used for in traditional IT.
Module Breakdown
Module
Focus Area
Difficulty
Est. Time
1. The Shared Responsibility Model
Defining the line between AWS and Customer duties.
Beginner
2 Hours
2. Security Governance & Compliance
AWS Artifact, compliance programs, and auditing.
Intermediate
3 Hours
3. Threat Detection & Monitoring
Amazon GuardDuty, Inspector, and Security Hub.
Intermediate
4 Hours
4. Data Protection & Encryption
KMS, CloudHSM, Encryption at Rest vs. In Transit.
Advanced
3 Hours
Module Objectives
Module 1: The Shared Responsibility Model
Objective: Distinguish between "Security OF the Cloud" and "Security IN the Cloud."
Key Skill: Describe how responsibilities shift when moving from IaaS (EC2) to PaaS (RDS) or SaaS (Lambda).
Module 2: Compliance & Governance
Objective: Identify where to find AWS compliance reports and how to manage multiple accounts.
Key Skill: Use AWS Artifact to download SOC or HIPAA reports for auditing purposes.
Module 3: Security Monitoring
Objective: Understand the purpose of automated security assessment services.
Key Skill: Differentiate between Amazon GuardDuty (threat detection) and Amazon Inspector (vulnerability scanning).
Visual Anchors
The Shared Responsibility Model
Loading Diagram...
Figure 1 — Mermaid diagram
The Security (CIA) Triad
Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram
Success Metrics
To demonstrate mastery of this curriculum, the learner must be able to:
Map Services to Needs: Correctly identify which service to use for a specific security task (e.g., "Which service finds PII?" → Amazon Macie).
Compliance Literacy: Locate and explain the significance of a SOC 2 report within AWS Artifact.
Scenario Analysis: Given a scenario (e.g., an EC2 instance is compromised), identify whether the fix is the customer's or AWS's responsibility.
Security Hub Integration: Explain how AWS Security Hub aggregates findings from GuardDuty and Inspector into a single dashboard.
[!IMPORTANT]
Domain 2 (Security and Compliance) represents 30% of the scored content on the CLF-C02 exam. Mastering these concepts is critical for passing.
Real-World Application
Compliance Officer: Use AWS Artifact to provide evidence of security controls to external auditors during annual certifications.
Security Operations (SecOps): Set up Amazon GuardDuty to automatically alert the team if an unauthorized user attempts to access an S3 bucket from a malicious IP address.
Cloud Architect: Implement encryption at rest using AWS KMS to ensure that even if physical storage media were stolen, the data would remain unreadable.
▶Click to expand: Service Comparison Table
Service
Primary Function
Real-World Example
AWS Shield
DDoS Protection
Protecting a web app from being overwhelmed by fake traffic.
AWS WAF
Web Traffic Filtering
Blocking SQL injection attacks on a login page.
Amazon Inspector
Vulnerability Scanning
Finding out if your EC2 instance has an outdated, insecure software version.
AWS KMS
Key Management
Managing the digital keys used to encrypt your database.
Hands-On Lab948 words
AWS Security, Governance, and Compliance: Foundational Controls Lab
AWS Cloud security, governance, and compliance concepts
AWS Security, Governance, and Compliance: Foundational Controls Lab
Welcome to this hands-on lab covering Domain 2 of the AWS Certified Cloud Practitioner (CLF-C02) exam. In this lab, you will apply the AWS Shared Responsibility Model by implementing critical security and compliance controls "IN" the cloud. You will enable threat detection, enforce encryption at rest, configure public access blocks, and practice least-privilege IAM policies.
Prerequisites
Before starting this lab, ensure you have the following:
AWS Account: Access to an AWS account with Administrator privileges.
AWS CLI Installed: The AWS Command Line Interface installed and configured on your local machine.
IAM Credentials: Your CLI must be authenticated using aws configure with an Access Key and Secret Access Key.
Prior Knowledge: Basic understanding of Amazon S3, IAM, and the concepts of encryption.
Learning Objectives
By completing this lab, you will be able to:
Enable and interpret findings in Amazon GuardDuty (Continuous Threat Detection).
Secure an Amazon S3 bucket using Server-Side Encryption (Encryption at Rest) and Public Access Blocks.
Implement IAM least-privilege access management for cloud resources.
Understand the practical application of the AWS Shared Responsibility Model.
Architecture Overview
The following diagrams illustrate the infrastructure you will build and how it maps to the AWS Shared Responsibility Model.
Lab Infrastructure
Loading Diagram...
Figure 1 — Mermaid diagram
AWS Shared Responsibility Context
Loading Diagram...
Figure 2 — Mermaid diagram
Step-by-Step Instructions
Step 1: Enable Amazon GuardDuty for Threat Detection
Amazon GuardDuty is an intelligent threat detection service that continuously monitors for malicious activity and unauthorized behavior. As a customer, enabling it fulfills your responsibility to monitor your AWS environment.
bash
# Enable GuardDuty in your current region and capture the detector IDaws guardduty create-detector --enable# Note the detectorId from the output. Replace <DETECTOR_ID> below with your ID.aws guardduty create-sample-findings --detector-id <DETECTOR_ID>
[!TIP]
Generating sample findings populates the GuardDuty console with mock data (like simulated Bitcoin mining or unauthorized API calls) so you can see what actual threats look like without needing a real security incident.
▶Console alternative
Navigate to the GuardDuty console.
Click Get Started and then click Enable GuardDuty.
In the left navigation pane, choose Settings.
Scroll down to Sample findings and click Generate sample findings.
Go back to the Findings page in the left pane to view the generated threats.
📸 Screenshot: A list of findings with severity tags (High, Medium, Low).
Step 2: Create a Secure, Encrypted S3 Bucket
Data security requires "Encryption at Rest." We will create an S3 bucket, enable default AES-256 encryption, and apply a strict "Block Public Access" configuration.
Note: Replace <YOUR_ACCOUNT_ID> with your actual 12-digit AWS account number to ensure the bucket name is globally unique.
Navigate to the S3 console and click Create bucket.
Enter brainybee-secure-data-<YOUR_ACCOUNT_ID> for the Bucket name.
In the Block Public Access settings for this bucket section, ensure Block all public access is CHECKED.
Scroll to Default encryption, ensure Server-side encryption is Enabled, and Encryption key type is Amazon S3 managed keys (SSE-S3).
Click Create bucket.
📸 Screenshot: The S3 bucket creation screen highlighting the "Block all public access" checkbox.
Step 3: Implement Least Privilege with IAM
Identity and Access Management (IAM) is a core piece of the customer's shared responsibility. We will create a policy that grants only read access to the specific S3 bucket you just created.
bash
# 1. Create the policy JSON file locallycat<<EOF> s3-read-only-policy.json{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::brainybee-secure-data-<YOUR_ACCOUNT_ID>",
"arn:aws:s3:::brainybee-secure-data-<YOUR_ACCOUNT_ID>/*"
]
}
]
}
EOF# 2. Create the IAM Policy in AWSaws iam create-policy \ --policy-name BrainyBeeS3ReadOnly \ --policy-document file://s3-read-only-policy.json
▶Console alternative
Navigate to the IAM console.
In the left navigation pane, choose Policies, then click Create policy.
Switch to the JSON tab and paste the JSON from the code block above (ensure you replace <YOUR_ACCOUNT_ID>).
Click Next, name the policy BrainyBeeS3ReadOnly, and click Create policy.
📸 Screenshot: The IAM visual editor showing "Limited: Read" access to a specific S3 resource.
Checkpoints
Verify that your configurations were applied correctly by running the following commands:
Checkpoint 1: Verify GuardDuty is Active
bash
aws guardduty list-detectors
# Expected result: A JSON array containing your active DetectorId.
aws s3api get-public-access-block --bucket brainybee-secure-data-<YOUR_ACCOUNT_ID># Expected result: JSON output showing all four Block/Ignore rules set to "true".
Troubleshooting
Error Message / Issue
Likely Cause
Solution
BucketNameAlreadyExists
Another AWS user already took this S3 bucket name.
Ensure you appended your unique 12-digit AWS Account ID to the bucket name.
AccessDenied when creating the IAM Policy
Your CLI user lacks IAM permissions.
Verify you are using credentials for a user with AdministratorAccess or IAMFullAccess.
An error occurred (BadRequestException) in GuardDuty
GuardDuty might already be enabled in this region.
Run aws guardduty list-detectors to get the existing Detector ID instead of creating a new one.
Clean-Up / Teardown
[!WARNING]
Cost Warning: Amazon GuardDuty offers a 30-day free trial. If left running after the trial, you will incur ongoing charges based on the volume of CloudTrail and VPC Flow Logs analyzed. Run these teardown commands to avoid unexpected costs.
Execute the following commands to delete all resources provisioned in this lab:
bash
# 1. Delete the IAM Policy (Replace <YOUR_ACCOUNT_ID>)aws iam delete-policy --policy-arn arn:aws:iam::<YOUR_ACCOUNT_ID>:policy/BrainyBeeS3ReadOnly
# 2. Delete the S3 Bucket (Bucket must be empty first!)aws s3 rm s3://brainybee-secure-data-<YOUR_ACCOUNT_ID>--recursiveaws s3api delete-bucket --bucket brainybee-secure-data-<YOUR_ACCOUNT_ID># 3. Disable and Delete GuardDuty (Replace <DETECTOR_ID> with your detector ID)aws guardduty delete-detector --detector-id <DETECTOR_ID># 4. Remove local filerm s3-read-only-policy.json
[!NOTE]
If you enabled GuardDuty via the console, you can disable it by navigating to GuardDuty > Settings > Suspend or Disable GuardDuty and clicking Disable GuardDuty.
This document provides a comprehensive roadmap for mastering the AWS Cloud Value Proposition, focusing on the economic, operational, and strategic benefits of migrating to the Amazon Web Services ecosystem. This curriculum aligns with the AWS Certified Cloud Practitioner (CLF-C02) exam objectives.
## Prerequisites
Before beginning this curriculum, candidates should possess the following foundational knowledge:
General IT Knowledge: Basic understanding of information technology services and their use in business.
Infrastructural Basics: Familiarity with the concepts of servers, networking, and storage.
Recommended Experience: AWS suggests at least six months of experience with the AWS Cloud in any role (technical, managerial, sales, or financial).
Business Context: A basic understanding of the difference between capital investments and operational expenses.
## Module Breakdown
Module
Title
Focus Area
Difficulty
1
Benefits of the AWS Cloud
Speed, Agility, and Global Reach
Introductory
2
Design Principles
AWS Well-Architected Framework
Intermediate
3
Migration Strategies
AWS CAF & Cloud Transformation
Intermediate
4
Cloud Economics
CapEx vs. OpEx, Economies of Scale
Foundational
Loading Diagram...
Figure 1 — Mermaid diagram
## Learning Objectives per Module
Module 1: Benefits of the AWS Cloud
Define Agility: Understand how AWS increases speed of deployment and fosters experimentation.
Global Infrastructure: Explain the benefits of global reach for reducing latency and providing high availability.
Elasticity vs. Scalability: Distinguish between the ability to handle growth and the ability to shrink resources based on demand.
Module 2: Design Principles
Well-Architected Framework: Identify and define the six pillars of the framework.
[!IMPORTANT]
The Well-Architected Framework is essential for building secure, high-performing, resilient, and efficient infrastructure.
The CAF Perspectives: Understand the six perspectives: Business, People, Governance, Platform, Security, and Operations.
Value Chain: Describe the transformation of technology, processes, and organizations.
Module 4: Cloud Economics
Cost Models: Compare Capital Expenses (CapEx) with Operating Expenses (OpEx).
Metered Payment: Explain the "pay-as-you-go" model and how it relates to rightsizing and automation.
## Success Metrics
To determine mastery of the AWS Cloud Value Proposition, you should be able to:
Articulate the "Big Idea": Explain why a university would "terminate" millions of CPUs after a weekend rather than buying them (CapEx avoidance).
Pillar Identification: Given a scenario (e.g., "reducing carbon footprint"), identify the relevant Well-Architected Pillar (Sustainability).
Economic Justification: Calculate the theoretical benefit of Economies of Scale (lower prices due to AWS's massive volume).
Migration Readiness: Identify which AWS CAF perspective addresses "reduced business risk" or "increased revenue."
Concept
Metric of Mastery
Rightsizing
Ability to choose the instance type that matches the workload precisely without waste.
Agility
Explaining how CloudFormation templates allow for instant experimentation.
High Availability
Designing for automated "failover" across geographically remote locations.
## Real-World Application
Case Study: High-Speed Experimentation
In traditional IT, testing a new AI model required purchasing physical servers (weeks of procurement). In the AWS environment, a large university can spin up hundreds of thousands of EC2 virtual machines for a single weekend of testing.
The Result: The university pays only for the hours used (metered billing) and avoids the massive overhead of unneeded idle hardware.
Career Impact
Understanding the value proposition allows professionals in Sales, Finance, and Management to:
Build business cases for cloud migration.
Optimize existing cloud spend to increase ROI.
Leverage AWS global reach to enter new markets in minutes rather than months.
[!TIP]
Always remember: In the cloud, infrastructure is temporary and disposable, not a permanent asset to be maintained at all costs.
AWS Certified Cloud Practitioner (CLF-C02) Practice Questions
Try 15 sample questions from a bank of 857. Answers and detailed explanations included.
Q1medium
Which of the following best explains how Amazon Connect facilitates a unified, omni-channel customer engagement experience?
A.
By utilizing a publish/subscribe messaging model to deliver automated notifications to distributed systems and mobile devices.
B.
By acting as a high-volume outbound transactional email service that tracks delivery rates and open statistics to optimize customer reach.
C.
By requiring the procurement of physical SIP trunks and on-premises PBX hardware to ensure secure and low-latency voice communication.
D.
By providing a cloud-native contact center where a single interface and the same 'Contact Flow' logic are used to manage voice calls, web/mobile chats, and customer tasks.
Show answer & explanation
Correct Answer: D
Amazon Connect is a cloud-native contact center solution that enables a unified omni-channel experience through several key mechanisms: 1. Single UI: It provides a unified agent workspace where voice, chat, and tasks are managed in one place. 2. Contact Flows: Administrators can define customer experiences using 'Contact Flows' that apply consistently across multiple channels, meaning an Amazon Lex bot can handle both voice and chat interactions using the same logic. 3. AI/ML Integration: Services like Amazon Contact Lens provide sentiment analysis and automated categorization for a comprehensive view of customer engagement. Option B describes Amazon SES, Option A describes Amazon SNS, and Option C refers to legacy on-premises systems which Amazon Connect is designed to replace. Therefore, D is the correct answer.
Q2hard
A migration is technically complete, but the operations team has not been trained and incidents are being missed. Which CAF perspective does this failure belong to?
A.
Platform, because the monitoring tooling must be inadequate.
B.
Governance, because incident handling is a policy matter.
C.
People, because the perspectives group capabilities that stakeholders own, and this one is about the stakeholders themselves.
D.
Operations, because incidents are operational.
Show answer & explanation
Correct Answer: C
Platform, because the monitoring tooling must be inadequate.: Incorrect. The scenario says the migration is technically complete and names training as the gap, which is a stakeholder-readiness concern.
Governance, because incident handling is a policy matter.: Incorrect. Governance is one of the six, but the described gap is that the team has not been trained rather than that policy is absent.
People, because the perspectives group capabilities that stakeholders own, and this one is about the stakeholders themselves.: Correct. AWS states that each perspective comprises capabilities that functionally related stakeholders own or manage, and People is one of the six perspectives precisely because readiness of the organisation is part of the transformation.
Operations, because incidents are operational.: Incorrect. Operations is a plausible near miss, but the stated cause is that people were not prepared, which is what the People perspective covers.
Answer: C
Q3easy
An application was built in the cloud, and every one of its parts runs there. Which deployment model does this describe?
A.
Hybrid, because it uses the internet to reach users.
B.
Private cloud, because the account is dedicated to one organisation.
C.
Cloud.
D.
On-premises, because the provider owns physical hardware somewhere.
Show answer & explanation
Correct Answer: C
Hybrid, because it uses the internet to reach users.: Incorrect. Hybrid requires a connection to existing resources not located in the cloud; serving users over the internet is not that.
Private cloud, because the account is dedicated to one organisation.: Incorrect. Private cloud describes resources deployed on-premises using virtualization and resource management tools.
Cloud.: Correct. AWS states that a cloud-based application is fully deployed in the cloud and all parts of the application run in the cloud.
On-premises, because the provider owns physical hardware somewhere.: Incorrect. On-premises refers to resources deployed at the customer's own premises, not to the provider owning hardware.
Answer: C
Q4medium
Objects are read constantly for a month and rarely afterwards. What manages the storage cost of that pattern over time?
A.
Choosing the cheapest class at upload and leaving it there.
B.
A Reserved Instance covering the storage.
C.
Nothing — an object's storage class is fixed once set.
D.
A lifecycle transition action, which defines when objects move to another storage class.
Show answer & explanation
Correct Answer: D
Choosing the cheapest class at upload and leaving it there.: Incorrect. That misprices the first month, when the object is read constantly.
A Reserved Instance covering the storage.: Incorrect. Reserved Instances are a compute billing discount; they do not apply to object storage classes.
Nothing — an object's storage class is fixed once set.: Incorrect. Lifecycle transitions exist precisely so the class can change over time.
A lifecycle transition action, which defines when objects move to another storage class.: Correct. AWS states that transition actions define when objects transition to another storage class, and that a class is chosen depending on use case scenario and performance access requirements — which change over an object's life.
Answer: D
Q5hard
A global organization is migrating its mission-critical ERP system to AWS and requires a support tier that aligns with its high-availability needs. The organization specifically demands a dedicated Technical Account Manager (TAM) to provide proactive architectural guidance and serve as a primary advocate. Furthermore, they require a specialized billing support team to manage complex account inquiries and a guaranteed response time of less than 20 minutes for business-critical system outages. Which AWS Support plan is the most appropriate for this organization?
A.
Enterprise On-Ramp
B.
Business
C.
Developer
D.
Enterprise
Show answer & explanation
Correct Answer: D
To determine the correct plan, we must analyze the specific requirements against the AWS Support tier features:
Dedicated Technical Account Manager (TAM): Only the Enterprise Support plan provides a dedicated TAM who serves as a primary point of contact and provides proactive architectural guidance. While Enterprise On-Ramp provides access to a pool of TAMs, it does not provide a dedicated resource.
Response Time: The requirement is for an incident response time of under 20 minutes for business-critical outages. Enterprise Support provides a guaranteed response time of 15 minutes for 'Business-critical system down' cases. Enterprise On-Ramp has a 30-minute SLA, and the Business plan has a 1-hour SLA for production system downs.
Specialized Billing Support: The AWS Concierge Support team, which assists with complex billing and account inquiries, is a feature exclusive to the Enterprise Support plan.
Proactive Guidance: Enterprise Support includes Infrastructure Event Management (IEM) and white-glove onboarding, which are essential for global organizations with mission-critical migrations.
Therefore, the Enterprise plan is the only option that satisfies all three criteria: a dedicated TAM, a 15-minute critical response SLA, and access to the Concierge team.
Q6easy
Which of the following terms refers to the legal requirement that data must be stored and processed within the geographic boundaries of a specific country or jurisdiction?
A.
Edge caching
B.
Data elasticity
C.
Data residency
D.
Data durability
Show answer & explanation
Correct Answer: C
The correct answer is Data residency. This term (also known as data sovereignty) describes the regulatory or legal requirement that data must remain within the geographic boundaries of a specific country or region. For example, AWS customers meet these needs by selecting an AWS Region located within the required jurisdiction, such as for GDPR compliance in Europe. In contrast: Data elasticity refers to the cloud's ability to scale resources; Edge caching is a performance feature to reduce latency by storing content near users; and Data durability refers to the long-term protection of data against loss. Under the AWS Shared Responsibility Model, the customer is responsible for selecting the appropriate Region to fulfill their data residency obligations.
Q7medium
A developer is troubleshooting a microservices-based application where some requests are experiencing high latency and occasional 500 Internal Server Errors. Which approach correctly utilizes AWS services to identify the root cause of these issues?
A.
None of the above.
B.
Use AWS CloudTrail to provide real-time tracing of user requests between services and use AWS Config to monitor application-level log files for debugging.
C.
Use Amazon CloudWatch Metrics to automatically analyze application source code for logical errors and use CloudWatch Alarms to deploy automated patches.
D.
Use Amazon CloudWatch Logs to generate a visual service map of component interactions and use AWS X-Ray to aggregate and store system-level log files.
E.
Use Amazon CloudWatch Logs to search for specific error messages and stack traces, and use AWS X-Ray to visualize the end-to-end request path and identify latency bottlenecks.
Show answer & explanation
Correct Answer: E
To effectively troubleshoot microservices, you need both logging and tracing:
Amazon CloudWatch Logs is the primary service for aggregating and searching log data. It allows developers to find specific error messages, exceptions, or custom log events emitted by the application code (e.g., a specific line of code failing in a Lambda function).
AWS X-Ray provides distributed tracing. It allows you to see the entire lifecycle of a request as it moves through various components (API Gateway → Lambda → DynamoDB). This is essential for identifying which specific service in the chain is causing high latency.
Distractor Analysis:
Option B is incorrect because AWS CloudTrail is used for auditing API calls (who did what in the AWS account), not for tracing application-level request flow. AWS Config tracks resource configuration changes, not application logs.
Option C is incorrect because CloudWatch Metrics provides numerical data (e.g., CPU utilization) but cannot analyze source code for logic errors. CloudWatch Alarms can trigger actions, but they do not 'deploy patches' to source code.
Option D is incorrect because it swaps the roles of the two services; X-Ray generates the service map, while CloudWatch Logs aggregates the logs.
Therefore, Option E is the correct strategy.
Q8hard
An enterprise with 50 AWS accounts managed through AWS Organizations needs to implement a centralized security strategy. The requirements include: protecting all Application Load Balancers (ALBs) against Layer 7 attacks like SQL injection; ensuring specialized 24/7 support is available for DDoS mitigation; and automatically enforcing these security configurations across all current and future accounts in the organization to ensure compliance. Which combination of services and actions best meets these requirements with the least administrative overhead?
A.
Enable AWS Shield Standard in the management account and use AWS Security Hub to monitor WAF compliance and push remediation scripts to member accounts.
B.
Subscribe to AWS Shield Advanced in each member account individually and use AWS Systems Manager to automate the creation of WAF rules using a shared CloudFormation template.
C.
Deploy a centralized 'Security' VPC and use VPC Peering to route all traffic through a single Application Load Balancer protected by a single AWS WAF Web ACL in the management account.
D.
Subscribe to AWS Shield Advanced in the management account and use AWS Firewall Manager to centrally deploy and enforce WAF Web ACLs and Shield protection policies across the organization.
Show answer & explanation
Correct Answer: D
To meet all the requirements efficiently:
AWS WAF is required to provide the granular Layer 7 protection (SQLi/XSS) for the ALBs.
AWS Shield Advanced is necessary for the specialized 24/7 access to the AWS Shield Response Team (SRT) and enhanced DDoS mitigation beyond the basic protections of Shield Standard. By subscribing at the organization level, the $3,000 monthly fee covers all accounts in the AWS Organization.
AWS Firewall Manager is the essential component for centralized management. It allows security administrators to define policies that automatically deploy WAF rules and Shield Advanced protections to existing and future resources across all accounts, ensuring continuous compliance with minimal manual intervention.
Option A is incorrect because Shield Standard does not provide SRT access or centralized policy enforcement. Option C introduces a significant bottleneck and complex networking (routing all traffic through one ALB) which is not a recommended architecture for multi-account scalability. Option B is inefficient because Shield Advanced should be managed at the organization level for cost-effectiveness, and Systems Manager is not the primary tool for orchestrating WAF/Shield policies across an organization.
Q9hard
An organization needs to grant a third-party security firm temporary access to audit sensitive log data stored in an Amazon S3 bucket within its AWS account (Account B). The security firm has its own AWS account (Account A). To minimize risk and follow AWS best practices for third-party cross-account access, which architecture should be evaluated as the most secure?
A.
Create an IAM Role in Account B with a trust policy that defines Account A as the trusted principal and requires a unique External ID; grant the role read-only permissions for the S3 bucket.
B.
Create an IAM Role in Account B with a trust policy that defines Account A as the trusted principal; grant the role read-only permissions for the S3 bucket, relying on Account A's own internal IAM controls to restrict access.
C.
Create an IAM User in Account B with read-only permissions for the S3 bucket; generate and share the IAM User's long-term access key ID and secret access key with the security firm.
D.
Configure a VPC Peering connection between Account A and Account B; update the S3 bucket policy in Account B to allow access only from the IP address range of Account A's VPC.
Show answer & explanation
Correct Answer: A
To securely architect cross-account access for third parties, the following steps and principles are applied:
IAM Roles vs. Users: AWS best practices mandate using IAM Roles for cross-account access. Unlike IAM Users, roles provide temporary security credentials through the AWS Security Token Service (STS), eliminating the risk associated with long-term, hard-coded credentials (as seen in Option C).
Trust Policy: The resource account (Account B) must create a role with a trust policy that specifies the third party (Account A) as the principal allowed to perform the sts:AssumeRole action.
The Confused Deputy Problem: When a third party provides services to multiple clients, there is a risk that one client could trick the third party into using its credentials to access another client's resources. This is known as the confused deputy problem.
External ID: The most secure way to mitigate this is by requiring an External ID in the trust policy's condition block. The third party must provide this unique identifier when calling AssumeRole. Option B is incorrect because it lacks this critical security condition.
Network-based vs. Identity-based: Option D focuses on network isolation, but VPC peering does not provide the robust identity authentication and authorization required for auditing sensitive data.
Therefore, Option A represents the most secure architecture by combining cross-account roles with the protection of an External ID.
Q10medium
Short-term contractors need access to a handful of internal web tools from their own laptops, with nothing installed and no desktop provisioned. Which service fits?
A.
Amazon WorkSpaces, giving each contractor a virtual desktop.
B.
Amazon AppStream 2.0, streaming each web tool as an application.
C.
AWS Amplify, hosting the internal tools for external access.
D.
Amazon WorkSpaces Secure Browser, providing access to internal and SaaS websites from users' existing browsers.
Show answer & explanation
Correct Answer: D
Amazon WorkSpaces, giving each contractor a virtual desktop.: Incorrect. That provisions a whole desktop, which is more than the stated need.
Amazon AppStream 2.0, streaming each web tool as an application.: Incorrect. That streams desktop applications; the requirement is websites in a browser the contractor already has.
AWS Amplify, hosting the internal tools for external access.: Incorrect. Amplify hosts applications you build; it does not provide managed access to existing internal sites.
Amazon WorkSpaces Secure Browser, providing access to internal and SaaS websites from users' existing browsers.: Correct. AWS describes creating a WorkSpaces Secure Browser web portal to provide users with access to internal and SaaS websites from their existing browsers.
Answer: D
Q11medium
When comparing on-premises infrastructure to cloud-based solutions, which of the following best explains why on-premises environments often result in higher wasted expenditure due to capacity planning?
A.
Maintaining underutilized servers in a data center is considered a cost-saving measure because it allows the capital expenditure to be amortized faster when the hardware is not stressed.
B.
The on-premises 'pay-as-you-go' model requires organizations to pay for the peak capacity of their electricity grid rather than the actual server consumption.
C.
Hardware vendors for on-premises data centers typically include 24/7 physical security and cooling services in the base hardware price to offset the cost of idle servers.
D.
On-premises environments require organizations to purchase hardware based on predicted peak demand, often leading to expensive idle resources during periods of lower utilization.
Show answer & explanation
Correct Answer: D
In an on-premises environment, organizations must engage in 'capacity guessing.' Because it can take weeks or months to procure and install new hardware, businesses must purchase enough capacity to handle their peak demand upfront (Capital Expenditure or CapEx). When the actual demand is lower than that peak (the 'off-peak' periods), the extra hardware sits idle but continues to incur costs related to space, cooling, and maintenance. This differs from the cloud's elasticity, where resources can be scaled up or down to match actual demand, minimizing wasted spend. Option D correctly identifies this relationship between fixed capacity and idle resource waste.
Q12medium
A security analyst is reviewing AWS CloudTrail logs to investigate a potential security incident where an IAM user account may have been compromised. Which of the following methods correctly explains how to identify unauthorized access attempts using specific fields within the CloudTrail event log?
A.
Use AWS Trusted Advisor to retrieve a real-time list of clear-text passwords used during failed login attempts to the AWS Management Console.
B.
Analyze VPC Flow Logs to correlate the IAM user's name with specific rejected network packets at the instance level.
C.
Examine the errorCode field for AccessDenied or UnauthorizedOperation entries to identify failed API calls that indicate insufficient permissions.
D.
Monitor Amazon CloudWatch metrics to view the full command-line arguments and internal script logic executed by the suspected unauthorized user.
Show answer & explanation
Correct Answer: C
To identify unauthorized access attempts in AWS, CloudTrail is the primary tool for auditing API activity.
CloudTrail Logging: AWS CloudTrail records API calls made by or on behalf of an AWS account. This includes both successful and failed attempts.
Error Codes: When a user or role attempts to perform an action for which they do not have permission, CloudTrail logs an errorCode such as AccessDenied or Client.UnauthorizedOperation. A high frequency of these errors from a single userIdentity is a strong indicator of unauthorized discovery or lateral movement attempts.
Key Fields: The userIdentity field identifies who made the request, sourceIPAddress identifies where the request originated, and eventTime helps establish a timeline of the suspicious activity.
Distractor Analysis:
Option B is incorrect because VPC Flow Logs capture IP traffic information (source/destination IP, port, protocol), but they do not contain IAM user names or API-level details.
Option A is incorrect because AWS does not log or display user passwords in plain text, and Trusted Advisor provides best practice recommendations, not real-time credential auditing.
Option D is incorrect because while CloudWatch can monitor log files, CloudTrail (not standard CloudWatch metrics) is the service that specifically audits API parameters. Standard logs do not typically capture the internal script logic of the caller unless explicitly logged by the application itself.
Q13hard
An architect is troubleshooting a connection timeout between a client instance in Subnet A (10.0.1.0/24) and a web server in Subnet B (10.0.2.0/24). The current security configurations are as follows:
Security Group (Client): Outbound rule allows all traffic; no inbound rules.
Security Group (Server): Inbound rule allows TCP port 80 from 10.0.1.0/24; no outbound rules.
Network ACL (Subnet A): Inbound Rule 100 allows TCP ports 1024-65535 from 10.0.2.0/24; Outbound Rule 100 allows TCP port 80 to 10.0.2.0/24.
Network ACL (Subnet B): Inbound Rule 100 allows TCP port 80 from 10.0.1.0/24; Outbound rules are restricted to the default 'Deny All'.
Based on these configurations, why is the client unable to successfully receive a response from the web server?
A.
The Security Group for the Client requires an explicit inbound rule to allow traffic from the web server on port 80.
B.
The Network ACL for Subnet B is stateless and requires an outbound rule to allow return traffic on ephemeral ports (1024-65535).
C.
The Security Group for the web server requires an outbound rule to allow responses to the client on the specific source port used for the request.
D.
The Network ACL for Subnet A is stateful and should have automatically permitted the return traffic once the outbound request was authorized.
Show answer & explanation
Correct Answer: B
To solve this, we must analyze the layered security model of VPCs (Security Groups and Network ACLs) and their stateful/stateless properties.
Security Groups (SGs) are stateful. This means if an inbound request is allowed, the outbound response is automatically allowed regardless of outbound rules. Conversely, if an outbound request is allowed (as in the Client's SG), the inbound response is automatically allowed. Therefore, the SGs in this scenario are correctly configured and not the source of the failure.
Network ACLs (NACLs) are stateless. Rules must be explicitly defined for both inbound and outbound traffic. For a successful round trip, Subnet A must allow outbound port 80 and inbound ephemeral ports. Subnet B must allow inbound port 80 and outbound ephemeral ports.
Traffic Flow Analysis:
Outbound from Client: NACL A Outbound (Port 80) allows it. NACL B Inbound (Port 80) allows it. The request reaches the server.
Return from Server: The server responds using an ephemeral port (typically 1024-65535). While the Server's SG allows this (stateful), NACL B Outbound is set to 'Deny All'.
Conclusion: The response is blocked at the Subnet B NACL boundary because there is no rule allowing outbound traffic to the client on the ephemeral port range. Option B is the correct fix.
Q14medium
A solutions architect is designing an architecture to ensure high availability for a web application. Which statement best explains the combined role of an Elastic Load Balancer (ELB) and a Multi-AZ deployment in maintaining system uptime during a component failure?
A.
Vertical scaling ensures that a single instance is powerful enough to handle all traffic, while the load balancer performs daily backups to a secondary region.
B.
The load balancer distributes traffic across multiple instances in a single Availability Zone, ensuring that if one physical rack fails, the application remains online.
C.
The load balancer performs health checks and automatically reroutes incoming traffic to healthy instances in an alternate Availability Zone if the primary zone experiences a failure.
D.
Auto Scaling provides high availability by automatically rebooting a single failed instance within seconds to restore the application to its original state.
Show answer & explanation
Correct Answer: C
High Availability (HA) in cloud architecture is achieved through redundancy and intelligent traffic management. 1. Redundancy (Multi-AZ): By deploying resources across multiple Availability Zones, you eliminate single points of failure at the data center level. If one data center (AZ) fails due to power or networking issues, instances in the other AZ remain operational. 2. Traffic Management (ELB): The Elastic Load Balancer acts as the single entry point. It continuously performs health checks on all registered instances. 3. Failover: If an instance or an entire AZ becomes unhealthy, the ELB stops sending traffic to those resources and automatically reroutes it to the healthy instances in the remaining operational AZ. Options A and D focus on scaling or recovery rather than HA architecture, and Option B fails to account for zone-wide infrastructure failures.
Q15easy
In the context of Amazon EC2 cost management, what is the primary benefit of Reserved Instance (RI) flexibility for Regional Reserved Instances?
A.
The ability to move a reservation between different AWS Regions automatically to follow traffic demand.
B.
The ability to apply a single RI discount to multiple instance sizes within the same instance family and region.
C.
The ability to stop an instance at any time and automatically pause the hourly billing of the reservation term.
D.
The ability to automatically scale the CPU and RAM of an instance based on real-time application usage.
Show answer & explanation
Correct Answer: B
Regional Reserved Instance (RI) flexibility allows a single reservation to apply its discount across different instance sizes within the same family (e.g., the m5 family) for Linux/Unix platforms.
Normalization Factors: AWS uses normalization factors to determine how a discount applies. For example, a t3.large has a factor of 4, while a t3.medium has a factor of 2. Therefore, one t3.large RI could cover two t3.medium instances.
Scope: This flexibility is specific to the instance family and the region in which the RI was purchased.
Distractors: Moving between regions (Option A) is generally not supported for standard RIs; stopping an instance (Option C) does not stop the billing of the reservation itself; and scaling resources (Option D) is a function of Auto Scaling, not RI pricing.
[!WARNING]
Storage-optimized instances often use local "Instance Store" volumes. Remember that data on instance stores is ephemeral and will be lost if the instance is stopped.
Question
Accelerated Computing Instances
What differentiates Accelerated Computing instances from standard CPU-based instances?
Answer
Accelerated computing instances use hardware accelerators, or co-processors, to perform functions (such as floating-point number calculations or graphics processing) more efficiently than is possible in software running on CPUs.
Hardware Components Used:
GPUs (Graphics Processing Units)
FPGAs (Field Programmable Gate Arrays)
ASICs (Application-Specific Integrated Circuits)
Primary Use Cases:
Machine Learning (ML): Training and inference (Families: P, Trn, Inf).
Graphics/Video: 3D rendering, video streaming (Families: G).
Data Compression: High-speed hardware-based compression.
Loading Diagram...
Figure 1 — Mermaid diagram
Amazon Route 53 Essentials(5 cards shown)
Question
What is the primary purpose of Amazon Route 53?
Answer
Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service.
Its primary function is Name Resolution: translating human-readable domain names (like example.com) into numeric IP addresses (like 192.0.2.1) that computers use to connect to each other.
[!NOTE]
It effectively directs user requests to infrastructure running in AWS (EC2, ELB, S3) and can also route users to infrastructure outside of AWS.
Question
Explain the dual role of Route 53 as a Domain Registrar and a DNS Service.
Answer
Route 53 provides two distinct but related functions:
Domain Registration: Acts as a registrar where you can purchase and manage domain names (e.g., .com, .net, .org).
DNS Hosting: Provides the infrastructure to host DNS records and manage the "Hosted Zone" for a domain.
Function
Description
Registrar
Buying the name and owning the lease (1-10 years).
DNS Hosting
Defining where traffic goes (A records, MX records, etc.).
[!TIP]
You can register a domain with Route 53 and host it elsewhere, or vice-versa, but using both in Route 53 provides seamless integration.
Question
Compare Public Hosted Zones vs. Private Hosted Zones.
Answer
A hosted zone is a container for records that define how you want to route traffic for a domain.
Public Hosted Zone: Determines how traffic is routed on the Internet. Anyone can resolve these DNS records.
Private Hosted Zone: Determines how traffic is routed within one or more Amazon VPCs. These records are invisible to the public internet.
Loading Diagram...
Figure 1 — Mermaid diagram
[!NOTE]
Private zones are ideal for internal service discovery, such as mapping db.internal to a private database IP.
Question
Describe the common Route 53 Routing Policies.
Answer
Routing policies determine how Route 53 responds to DNS queries when multiple resources are available:
Simple: Routes traffic to a single resource (e.g., one IP address).
Weighted: Distributes traffic across multiple resources based on assigned proportions (e.g., 90% to 'Blue' environment, 10% to 'Green').
Latency: Routes users to the AWS Region that provides the lowest network latency.
Geolocation: Routes traffic based on the physical location of the users (e.g., send all UK users to a specific London endpoint).
Failover: Used for active-passive configurations; routes to a secondary resource if the primary is unhealthy.
[!WARNING]
Simple routing does not support health checks.
Question
How do DNS Health Checks improve application reliability in Route 53?
Answer
Route 53 can monitor the health and performance of your application endpoints.
Mechanism:
Monitoring: Route 53 sends requests to your application (HTTP, HTTPS, or TCP) to see if it's reachable.
Decision: If an endpoint is found to be unhealthy, Route 53 stops routing traffic to it.
Failover: Traffic is automatically redirected to a healthy resource (using policies like Failover, Weighted, or Latency).
Loading Diagram...
Figure 1 — Mermaid diagram
Amazon S3 Storage Classes(5 cards shown)
Question
Concept: S3 Standard vs. S3 Standard-IA
Explain the primary differences in use cases and availability between these two classes.
Answer
Comparison Table
Feature
S3 Standard
S3 Standard-IA
Use Case
Frequently accessed data (active)
Infrequently accessed but needs immediate access
Availability
99.99%
99.9%
AZ Coverage
≥ 3 Availability Zones
≥ 3 Availability Zones
Pricing
Higher storage cost; no retrieval fee
Lower storage cost; per-GB retrieval fee
[!TIP]
Think of Standard-IA for data like long-term backups or older sync data that is rarely touched but must be available in milliseconds when needed.
Question
Concept: S3 Intelligent-Tiering
How does S3 Intelligent-Tiering manage data with unknown or changing access patterns?
Answer
S3 Intelligent-Tiering is the only cloud storage class that delivers automatic cost savings by moving data between access tiers based on usage.
Key Features:
Automation: It monitors access patterns and moves objects that haven't been accessed for 30 consecutive days to the Infrequent Access tier.
Tiers: Includes Frequent Access, Infrequent Access, and Archive Instant Access.
No Retrieval Fees: Unlike Standard-IA, there are no fees for retrieving data when it moves back to frequent access.
Loading Diagram...
Figure 1 — Mermaid diagram
Question
Concept: S3 One Zone-IA
Explain the tradeoff between cost and resilience when choosing S3 One Zone-IA.
Answer
S3 One Zone-IA is designed for data that is infrequently accessed but does not require the multi-AZ resilience of other S3 classes.
Resilience: Data is stored in only one Availability Zone. If that AZ is destroyed, the data is lost.
Cost: Storage price is typically 20% lower than S3 Standard-IA.
Durability: Still designed for 99.999999999% (11 9s) durability within that single zone.
[!WARNING]
Only use this class for reproducible data, such as secondary backup copies or thumbnails generated from original images stored elsewhere.
Question
Concept: S3 Glacier Retrieval Options
Compare the retrieval times for Glacier Instant, Flexible, and Deep Archive.
Answer
S3 Glacier Retrieval Matrix
Storage Class
Retrieval Time
Best For
Glacier Instant Retrieval
Milliseconds
Medical records, news assets
Glacier Flexible Retrieval
1-5 mins (Expedited) 3-5 hrs (Standard)
Backup/disaster recovery
Glacier Deep Archive
12 hrs (Standard) 48 hrs (Bulk)
Compliance, 7-10 year logs
[!NOTE]
Glacier Flexible Retrieval (formerly just S3 Glacier) has a minimum storage duration of 90 days, while Deep Archive requires 180 days.
Question
Concept: S3 Lifecycle Management
Explain the two types of actions defined in an S3 Lifecycle rule.
Answer
S3 Lifecycle policies automate the management of objects so they are stored cost-effectively.
Transition Actions: Define when objects transition to another storage class (e.g., move to S3 Standard-IA after 30 days and then to S3 Glacier after 90 days).
Expiration Actions: Define when objects expire and should be permanently deleted by S3 on your behalf.
Example Workflow:
Loading Diagram...
Figure 1 — Mermaid diagram
[!TIP]
Use lifecycle policies to handle the "ageing" of logs or temporary data without manual intervention.
Analytics Services: Athena, Kinesis, Glue and Quick Sight(5 cards shown)
Question
What does Amazon Athena query, and in what language?
Answer
Data in Amazon Simple Storage Service (Amazon S3), using standard SQL.
Amazon Athena is an interactive query service that makes it easy to analyze data directly in Amazon Simple Storage Service (Amazon S3) using standard SQL.
The load-bearing word is directly: nothing has to be loaded into a database first.
Question
Which AWS service is built to collect and process record streams as they arrive, rather than in batches?
Answer
Amazon Kinesis Data Streams.
You can use Amazon Kinesis Data Streams to collect and process large streams of data records in real time.
If a scenario says real time and streams in the same breath, this is the service being described.
Question
What is AWS Glue, in one line?
Answer
A serverless data integration service.
AWS Glue is a serverless data integration service that makes it easy for analytics users to discover, prepare, move, and integrate data from multiple sources.
Four verbs worth memorising — discover, prepare, move, integrate. Glue is the plumbing between sources, not the place anyone looks at an answer.
Question
The CLF-C02 exam guide prints Amazon QuickSight. What is that service called today?
Answer
Amazon Quick Sight — two words — and it is now a feature inside Amazon Quick.
Amazon Quick evolved from Amazon QuickSight. QuickSight continues as Amazon Quick Sight, a feature within Quick. All existing QuickSight APIs, SDKs, and integrations continue to work without changes.
The published guide still carries the old spelling, so expect to meet either. Nothing built against the old name breaks.
Question
Raw logs sit in Amazon S3 and a manager wants a dashboard. Which two services split that job, and where is the seam?
Answer
Service
Its half of the job
Amazon Athena
analyze data directly in Amazon Simple Storage Service (Amazon S3) using standard SQL
Amazon Quick Sight
Interactive data visualization and business intelligence
The seam is SQL against storage versus the picture a person reads. Athena works out the answer; Quick Sight is where the answer is shown.
AWS Access Management Capabilities(5 cards shown)
Question
AWS Identity and Access Management (IAM)
Answer
IAM is a web service that enables you to manage access to AWS services and resources securely. It handles both Authentication (Who are you?) and Authorization (What can you do?).
Core Components:
Users: Permanent identities for specific people or applications.
Groups: Collections of users that share the same permissions.
Roles: Temporary identities used by AWS services (like EC2) or federated users.
Policies: JSON documents that define permissions and are attached to identities.
[!NOTE]
IAM is a global service; you do not select a region when working with it.
Question
Principle of Least Privilege (PoLP)
Answer
The security best practice of granting users, groups, and roles only the minimum permissions required to perform their specific tasks.
Implementation in AWS:
Start with Deny: By default, all requests are denied (Implicit Deny).
Explicit Allow: Attach policies that only allow necessary actions (e.g., s3:GetObject instead of s3:*).
Regular Audits: Use tools like IAM Access Analyzer to find and remove unused permissions.
[!TIP]
Adhering to PoLP limits the "blast radius" if a set of credentials is ever compromised.
Question
The AWS Account Root User
Answer
The single identity created when the AWS account is first established. It has unrestricted access to all resources and billing information in the account.
Example Case for Roles:
An EC2 Instance needs to upload logs to an S3 Bucket. You assign an IAM Role to the EC2 instance so it can fetch temporary credentials automatically without storing hardcoded keys.
Question
AWS IAM Identity Center
Answer
Formerly known as AWS Single Sign-On (SSO), this service centralizes the management of access to multiple AWS accounts and business applications.
Key Capabilities:
Federation: Connect your existing identity source (e.g., Microsoft Active Directory, Okta, Google Workspace).
Single Sign-On: Users log in once to a web portal to access all their assigned AWS accounts.
Multi-Account Management: Works with AWS Organizations to assign permissions across the entire fleet of accounts from one place.
[!NOTE]
This is the recommended service for managing workforce identities in AWS, rather than creating individual IAM users in every account.
Flowchart, top to bottom. Need to integrate services? connects to Messaging Pattern?. B connects to Amazon SNS (One-to-Many / Push). B connects to Amazon SQS (Asynchronous / Polling). B connects to Amazon EventBridge (State Changes / Scheduling). C connects to Fan-out to multiple subscribers. D connects to Buffer & Decouple components. E connects to Event-driven smart hub.
Loading Diagram...
Flowchart, top to bottom. Root User connects to Initial IAM Admin (Discards Access Keys). B connects to IAM Entities (Creates). C connects to Users - For People. C connects to Groups - For Collections. C connects to Roles - For Applications/Services. D connects to E (Belongs to). E connects to Managed Policies (Assigned). F connects to EC2 Instances/Lambda (Assumed by).
Loading Diagram...
Mermaid diagram. root AWS Access Management. Core Entities. Users. Groups. Roles. Security Best Practices. MFA. Least Privilege. 8 more statements.
Loading Diagram...
Flowchart, top to bottom. Admin (You) connects to S3 Bucket: lab-bucket (1. Creates). Admin (You)"] -->|1. Creates| B["S3 Bucket: lab-bucket connects to IAM Group: s3-readers (2. Creates). Admin (You)"] -->|1. Creates| B["S3 Bucket: lab-bucket connects to IAM User: test-user (3. Creates). C connects to Policy: AmazonS3ReadOnlyAccess (4. Attaches). D connects to C (5. Added to). D connects to E (Inherits permissions). D connects to B (6. Can Read / Cannot Write).
Loading Diagram...
Flowchart, left to right. Data Sources connects to Amazon S3 - Data Lake. B connects to Processing. C connects to AWS Glue - ETL. C connects to Amazon Athena - SQL. D connects to Amazon Redshift - Warehouse. E connects to Amazon QuickSight - BI. F connects to G.
Flowchart, top to bottom. Learner Workstation connects to Amazon S3 Bucket (1. Uploads Image). Learner Workstation"] -->|1. Uploads Image| B["Amazon S3 Bucket connects to Amazon Rekognition (2. API: detect-labels). C connects to B (3. Reads Image). C connects to Learner Workstation"] -->|1. Uploads Image| B["Amazon S3 Bucket (4. Returns JSON Tags). Learner Workstation"] -->|1. Uploads Image| B["Amazon S3 Bucket connects to Amazon Comprehend (5. API: detect-sentiment). D connects to Learner Workstation"] -->|1. Uploads Image| B["Amazon S3 Bucket (6. Returns Sentiment).
Loading Diagram...
Flowchart, left to right. Raw Unstructured Data connects to Data Type?. B connects to Amazon Comprehend (Text / Documents). B connects to Amazon Rekognition (Images / Video). B connects to Amazon Transcribe (Audio / Voice). C connects to Data Analytics <br> e.g., Amazon Athena, QuickSight. D connects to F. E connects to F.
Loading Diagram...
Mermaid diagram. root CLF-C02 Curriculum. Domain 1: Cloud Concepts. Value Proposition. Cloud Economics. Design Principles. Domain 2: Security and Compliance. Shared Responsibility Model. Identity & Access IAM. 9 more statements.
Loading Diagram...
Sequence diagram. C sends E: Completes 65 Questions. E sends R: Calculates Raw Score. R sends R: Applies Scaled Scoring Model. R sends C: Pass/Fail Result (Threshold 700).
Loading Diagram...
Flowchart, top to bottom. AWS Admin User connects to IAM Password Policy (1. Enforces). AWS Admin User"] -->|1. Enforces| B["IAM Password Policy connects to Amazon GuardDuty (2. Enables). AWS Admin User"] -->|1. Enforces| B["IAM Password Policy connects to AWS Secrets Manager (3. Stores). C connects to CloudTrail Event Logs (Monitors). C connects to VPC Flow Logs (Monitors). E connects to B (Audits). E connects to D (Audits).
Loading Diagram...
Flowchart, top to bottom. Customer Data connects to Platform, Applications, IAM. B connects to Operating System, Network & Firewall Configuration. Software: Compute, Storage, Database, Networking connects to Hardware / AWS Global Infrastructure. E connects to Regions, Availability Zones, Edge Locations. C connects to Software: Compute, Storage, Database, Networking] --> E[Hardware / AWS Global Infrastructure.
Loading Diagram...
Flowchart, top to bottom. Admin User (You) connects to Amazon GuardDuty (1. Enables). Admin User (You)"] -->|1. Enables| GD["Amazon GuardDuty connects to Amazon S3 Bucket (2. Creates & Secures). Admin User (You)"] -->|1. Enables| GD["Amazon GuardDuty connects to IAM Policy (3. Configures). GD connects to AWS Environment (monitors). S3 connects to AES-256 Encryption (secured by). S3 connects to Public Internet Access (blocks). IAM connects to S3 (restricts access to).
Loading Diagram...
Flowchart, top to bottom. AWS Responsibility (Security OF the Cloud connects to Hardware & Global Infrastructure (manages). AWS Responsibility (Security OF the Cloud connects to Compute, Storage & Network Infrastructure (secures). Customer Responsibility (Security IN the Cloud connects to Customer Data (S3 Content) (configures). Customer Responsibility (Security IN the Cloud connects to IAM Policies (Access Management) (manages). Customer Responsibility (Security IN the Cloud connects to Encryption & GuardDuty Settings (enforces).
Loading Diagram...
Mermaid diagram. root AWS Value Proposition. Cloud Concepts. Agility. Elasticity. High Availability. Economics. Variable Expense. Economies of Scale. 7 more statements.
Loading Diagram...
Flowchart, top to bottom. Well-Architected Framework connects to Operational Excellence. Well-Architected Framework] --> B(Operational Excellence connects to Security. Well-Architected Framework] --> B(Operational Excellence connects to Reliability. Well-Architected Framework] --> B(Operational Excellence connects to Performance Efficiency. Well-Architected Framework] --> B(Operational Excellence connects to Cost Optimization. Well-Architected Framework] --> B(Operational Excellence connects to Sustainability.
Loading Diagram...
Flowchart, top to bottom. Workload connects to CPU Intensive?. B -- Yes connects to Compute Optimized - C Series. B -- No connects to Evaluate Memory/Storage Needs.
Flowchart, left to right. Internet User connects to Public Hosted Zone (Resolves). EC2 in VPC connects to Private Hosted Zone (Resolves). EC2 in VPC] -->|Resolves| D(Private Hosted Zone connects to B (Also Resolves).
Loading Diagram...
Flowchart, top to bottom. User Query connects to Route 53. R53 connects to Server A: Healthy (Check). R53 connects to Server B: UNHEALTHY (Check). R53 connects to S1 (Routes Traffic).
Loading Diagram...
Flowchart, top to bottom. Upload Object connects to Access Monitoring. B -- "Accessed connects to Frequent Access Tier. B -- "No access (30 days) connects to Infrequent Access Tier. D -- "Accessed connects to C. D -- "No access (90 days) connects to Archive Instant Access. E -- "Accessed connects to C.
Loading Diagram...
Flowchart, left to right. Start([Creation]) -- "30 Days connects to Standard-IA. IA -- "60 Days connects to Glacier. GL -- "365 Days connects to Delete Object.
Loading Diagram...
Flowchart, top to bottom. Root User connects to IAM Admin User (Create). B connects to IAM Users/Groups (Create). Root User] -->|Create| B[IAM Admin User connects to Secure Vault (Lock Away).
Loading Diagram...
Flowchart, left to right. User[Developer/App] -- Signs Request with connects to Access Key Pair. Key -- Authenticates connects to AWS Service API.