☁️ AWS

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.

How it works

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.

$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.

How pricing works

AWS Certified Cloud Practitioner (CLF-C02) Study Notes & Guides

163 AI-generated study notes covering the full AWS Certified Cloud Practitioner (CLF-C02) curriculum. Showing 10 complete guides below.

Curriculum Overview820 words

AWS Curriculum Overview: Application Integration Services

Application integration services of Amazon EventBridge, Amazon Simple Notification Service (Amazon SNS), and Amazon Simple Queue Service (Amazon SQS)

Read full article

Curriculum Overview: AWS Application Integration Services

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.

## Module Breakdown

ModuleFocus AreaKey ConceptsComplexity
1. Amazon EventBridgeEvent-Driven ArchitecturesEvent buses, rules, targets, and schedulingMedium
2. Amazon SNSPub/Sub MessagingTopics, subscriptions, push notifications (SMS/Email)Low
3. Amazon SQSMessage QueuingPolling, decoupling, visibility timeout, and buffersMedium
4. Integration PatternsOrchestration & DesignChoosing the right service for the right use caseHigh

## 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.

ScenarioPrimary ServiceWhy?
Password ResetAmazon SNSImmediate delivery to a specific email or phone number is required (Push).
Order ProcessingAmazon SQSOrders arrive at different speeds; the backend needs a buffer to process them at its own pace (Polling/Decoupling).
Daily Report TriggerAmazon EventBridgeEventBridge supports "Scheduled Events" (cron jobs) to run tasks at specific times.
Image Metadata ExtractionSQS + LambdaWhen 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.

Curriculum Overview780 words

AWS Access Management Capabilities: Comprehensive Curriculum Overview

AWS access management capabilities

Read full article

AWS Access Management Capabilities: Comprehensive Curriculum Overview

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

ModuleTopicPrimary FocusDifficulty
1The Root UserProtection, initial setup, and restricted tasks★☆☆☆☆
2IAM FundamentalsUsers, Groups, and the Principle of Least Privilege★★☆☆☆
3Policies & PermissionsJSON structures, Managed vs. Custom policies★★★☆☆
4Roles & FederationCross-account access, service-to-service, and SSO★★★★☆
5Secret ManagementAWS 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:

  1. Diagram the Auth Flow: Explain how an IAM User authenticates (MFA/Password) and then gets authorized (Policy evaluation).
  2. Configuration Task: Successfully create an IAM Group, attach the AmazonS3ReadOnlyAccess policy, and verify a user in that group cannot delete a bucket.
  3. Policy Logic Calculation: Identify the outcome of a policy conflict.
    • Formula for Policy Evaluation: (Explicit Deny)>(Explicit Allow)>(Default Deny)(\text{Explicit Deny}) > (\text{Explicit Allow}) > (\text{Default Deny})
  4. Recall Test: List 3 tasks exclusive to the Root User.
Loading Diagram...
Figure 2 — Mermaid diagram

Hands-On Lab866 words

AWS Access Management: IAM Users, Groups, and Least Privilege Lab

AWS access management capabilities

Read full article

Prerequisites

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:

  1. Create and manage IAM Groups and Users within an AWS account.
  2. Apply the Principle of Least Privilege by attaching specific, restricted managed policies to an IAM Group.
  3. Generate and configure programmatic access credentials (access keys) for an IAM User.
  4. 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.

bash
aws s3 mb s3://brainybee-forbidden-bucket-12345 --profile testuser

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 group aws iam remove-user-from-group --user-name brainybee-test-user --group-name brainybee-s3-readers # 3. Delete the user aws iam delete-user --user-name brainybee-test-user # 4. Detach the policy from the group aws iam detach-group-policy --group-name brainybee-s3-readers --policy-arn arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess # 5. Delete the group aws 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 ErrorCauseFix
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 operationA 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 TeardownTrying 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

Read full article

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

ModuleFocus AreaDifficultyPrimary Services
1Foundations of AI & MLBeginnerSageMaker
2Specialized AI ServicesIntermediateLex, Polly, Rekognition, Comprehend
3Data Analytics CoreIntermediateAthena, Glue, Redshift (Overview)
4Real-Time & VisualizationIntermediateKinesis, 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:

  1. Match Service to Scenario: If a customer needs to turn a voice recording into text, identify Amazon Transcribe immediately.
  2. Explain SageMaker's Value: Articulate how SageMaker allows developers to build ML models without being "coding experts" in low-level algorithms.
  3. Define SQL-on-S3: Explain how Amazon Athena eliminates the need to load data into a database before querying it.
  4. 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

Read full article

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:

  1. Provision an Amazon S3 bucket to store raw unstructured data for machine learning.
  2. Use Amazon Rekognition to identify objects, people, or scenes in an image.
  3. Extract sentiment and key entities from unstructured text using Amazon Comprehend.
  4. 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
  1. Log into the AWS Management Console.
  2. Navigate to S3 and click Create bucket.
  3. Enter brainybee-ai-lab-<YOUR_ACCOUNT_ID> as the Bucket name.
  4. Leave all other settings as default and click Create bucket.

📸 Screenshot: [Placeholder: S3 Bucket Creation screen]

Step 2: Upload a Sample Image

Find a sample image on your computer (e.g., sample-image.jpg). We will upload this image to our newly created S3 bucket.

bash
aws s3 cp sample-image.jpg s3://brainybee-ai-lab-<YOUR_ACCOUNT_ID>/
▶Console alternative
  1. In the S3 Console, click on your new bucket.
  2. Click the Upload button.
  3. Click Add files, select sample-image.jpg from your computer.
  4. 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.

bash
aws rekognition detect-labels \ --image '{"S3Object":{"Bucket":"brainybee-ai-lab-<YOUR_ACCOUNT_ID>","Name":"sample-image.jpg"}}' \ --max-labels 5 \ --region us-east-1

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
  1. Navigate to Amazon Rekognition in the AWS Console.
  2. In the left sidebar, click Label detection.
  3. Under the demo section, upload your sample-image.jpg.
  4. 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)
  1. Navigate to Amazon Comprehend in the AWS Console.
  2. Click Launch Amazon Comprehend.
  3. Scroll down to the Real-time analysis section.
  4. Paste your text into the Input text box.
  5. 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:

  1. 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.
  2. 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.
  3. Comprehend Verification: Review the JSON output from Step 4.
    • Expected Output: "Sentiment": "POSITIVE" should be the top-level key.

Troubleshooting

Error Message / IssueLikely CauseSolution
InvalidToken or AccessDeniedYour 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.
BucketAlreadyExistsAnother AWS user globally has taken the S3 bucket name.Change your bucket name to include more random characters.
InvalidS3ObjectExceptionRekognition cannot find the image.Check that the --image JSON string in Step 3 exactly matches your bucket name and file name.
UnrecognizedClientExceptionThe 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:

  1. Delete the image file from S3:

    bash
    aws s3 rm s3://brainybee-ai-lab-<YOUR_ACCOUNT_ID>/sample-image.jpg
  2. Delete the empty S3 bucket:

    bash
    aws s3 rb s3://brainybee-ai-lab-<YOUR_ACCOUNT_ID>
  3. (Optional) Verify the bucket is gone:

    bash
    aws s3 ls | grep brainybee-ai-lab

    If nothing is returned, the teardown was successful.


Concept Review: AWS AI/ML Ecosystem

To solidify what we just practiced, let's look at how the AWS AI/ML services fit together based on the CLF-C02 syllabus.

Loading Diagram...
Figure 2 — Mermaid diagram

Quick Comparison Table

AWS ServiceCore CapabilityReal-World Example
Amazon ComprehendNatural Language Processing (NLP)Automatically categorizing support tickets as "Angry" or "Happy".
Amazon RekognitionComputer VisionVerifying user identities by comparing an ID photo to a selfie.
Amazon LexConversational InterfacesBuilding a chatbot for a hotel website to handle booking requests.
Amazon SageMakerBuild, Train, Deploy ML ModelsData scientists writing custom Python code to predict stock market trends.
Amazon KendraEnterprise ML SearchCreating an internal search engine that reads company PDFs to answer employee HR questions.
Curriculum Overview745 words

AWS Certified Cloud Practitioner (CLF-C02) Curriculum Overview

AWS Certified Cloud Practitioner (CLF-C02)

Read full article

AWS Certified Cloud Practitioner (CLF-C02) Curriculum Overview

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
DomainFocus AreaKey Elements
Domain 1Cloud ConceptsValue proposition, Cloud economics, and Well-Architected Framework.
Domain 2Security & ComplianceShared Responsibility Model, AWS IAM, and security best practices.
Domain 3Cloud TechnologyCompute (EC2/Lambda), Storage (S3), Database (RDS), and Networking.
Domain 4Billing & PricingPricing 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.

  1. Career Progression: It serves as the prerequisite or "stepping stone" toward Associate-level certifications, such as AWS Certified Solutions Architect or AWS Certified Developer.
  2. Cross-Functional Collaboration: Enables sales, marketing, and legal teams to communicate effectively with engineering departments regarding cloud costs and security requirements.
  3. 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.
Hands-On Lab1,058 words

Hands-On Lab: Implementing Core AWS Security Controls

AWS Certified Cloud Practitioner (CLF-C02) > Security, Identity, and Compliance

Read full article

Hands-On Lab: Implementing Core AWS Security Controls

Prerequisites

Before starting this lab, ensure you have the following:

  • AWS Account: An active AWS account with Administrator (AdministratorAccess) permissions.
  • CLI Tools: AWS CLI installed and configured locally (aws configure) with an IAM user's access keys.
  • Prior Knowledge: Basic understanding of the AWS Shared Responsibility Model and Identity and Access Management (IAM).
  • Region: We will use us-east-1 (N. Virginia) for this lab. Ensure your CLI is configured for this region.

Learning Objectives

By completing this lab, you will be able to:

  1. Enforce strict password requirements using AWS IAM Password Policies.
  2. Enable continuous threat detection using Amazon GuardDuty.
  3. Securely store and retrieve sensitive credentials using AWS Secrets Manager.
  4. Audit account activity using AWS CloudTrail.

Architecture Overview

This lab provisions security guardrails across your AWS account to ensure confidentiality, integrity, and availability.

Loading Diagram...
Figure 1 — Mermaid diagram

Step-by-Step Instructions

Step 1: Configure an IAM Password Policy

A strong password policy is the first line of defense for identity management. We will enforce a 14-character minimum with complexity requirements.

bash
aws iam update-account-password-policy \ --minimum-password-length 14 \ --require-symbols \ --require-numbers \ --require-uppercase-characters \ --require-lowercase-characters \ --allow-users-to-change-password
▶Console alternative
  1. Navigate to IAM in the AWS Management Console.
  2. In the left navigation pane, choose Account settings.
  3. Under Password policy, click Edit.
  4. Select Custom and check the boxes for uppercase, lowercase, numbers, and non-alphanumeric characters.
  5. Set the minimum password length to 14.
  6. Check Allow users to change their own password.
  7. 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
  1. Navigate to GuardDuty in the AWS Management Console.
  2. Click Get Started.
  3. 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.

bash
aws secretsmanager create-secret \ --name brainybee-lab-db-secret \ --description "Database password for BrainyBee application" \ --secret-string '{"username":"admin","password":"SuperSecretPassword123!"}'
▶Console alternative
  1. Navigate to Secrets Manager in the console.
  2. Click Store a new secret.
  3. Choose Other type of secret.
  4. Under Key/value pairs, add row 1: Key = username, Value = admin.
  5. Add row 2: Key = password, Value = SuperSecretPassword123!.
  6. Click Next.
  7. Enter the Secret name as brainybee-lab-db-secret and click Next.
  8. Leave rotation disabled, click Next, then click Store.

📸 Screenshot: The Secrets Manager configuration screen showing key-value pairs.

Step 4: Verify Activity in AWS CloudTrail

CloudTrail automatically logs all API calls made in your account for the last 90 days. We will use it to audit the secret we just created.

bash
aws cloudtrail lookup-events \ --lookup-attributes AttributeKey=EventName,AttributeValue=CreateSecret \ --query 'Events[0].CloudTrailEvent'
▶Console alternative
  1. Navigate to CloudTrail in the console.
  2. In the left pane, click Event history.
  3. In the Lookup attributes filter, select Event name and type CreateSecret.
  4. Click on the event to view the JSON record showing your IAM user identity and the time the API call was made.

📸 Screenshot: The CloudTrail Event history table showing the CreateSecret event.

Checkpoints

Verify that your resources have been provisioned correctly before proceeding.

Checkpoint 1: Verify Password Policy

bash
aws iam get-account-password-policy

Expected Result: A JSON output detailing your strict password policy parameters (e.g., "MinimumPasswordLength": 14).

Checkpoint 2: Verify GuardDuty is Active

bash
aws guardduty list-detectors

Expected Result: An array containing at least one Detector ID string.

Checkpoint 3: Retrieve the Secret

bash
aws secretsmanager get-secret-value --secret-id brainybee-lab-db-secret

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):

bash
aws secretsmanager delete-secret \ --secret-id brainybee-lab-db-secret \ --force-delete-without-recovery

3. Delete the GuardDuty Detector: First, retrieve your Detector ID, then pass it to the delete command.

bash
DETECTOR_ID=$(aws guardduty list-detectors --query 'DetectorIds[0]' --output text) aws guardduty delete-detector --detector-id $DETECTOR_ID

Troubleshooting

Common ErrorCauseFix
AccessDeniedExceptionIAM user lacks necessary permissions.Ensure your CLI user has AdministratorAccess or specific policies for IAM, GuardDuty, and Secrets Manager attached.
ResourceExistsExceptionA 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 Hub aws securityhub enable-security-hub --enable-default-standards # Get your GuardDuty Detector ID DETECTOR_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:

ServicePrimary Use CaseKey Mechanism
Amazon GuardDutyContinuous threat detectionMachine learning analysis of CloudTrail, VPC Flow Logs, and DNS logs.
Amazon InspectorVulnerability assessmentScans EC2 instances and container images for software vulnerabilities.
AWS CloudTrailAPI AuditingRecords user activity and API calls for governance and compliance.
AWS Secrets ManagerCredential managementSecurely stores and automatically rotates database passwords and API keys.
Amazon MacieData privacy and protectionUses machine learning to discover and protect sensitive data (PII) in Amazon S3.
AWS ArtifactRegulatory complianceOn-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

Read full article

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

ModuleFocus AreaDifficultyEst. Time
1. The Shared Responsibility ModelDefining the line between AWS and Customer duties.Beginner2 Hours
2. Security Governance & ComplianceAWS Artifact, compliance programs, and auditing.Intermediate3 Hours
3. Threat Detection & MonitoringAmazon GuardDuty, Inspector, and Security Hub.Intermediate4 Hours
4. Data Protection & EncryptionKMS, CloudHSM, Encryption at Rest vs. In Transit.Advanced3 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:

  1. Map Services to Needs: Correctly identify which service to use for a specific security task (e.g., "Which service finds PII?" → Amazon Macie).
  2. Compliance Literacy: Locate and explain the significance of a SOC 2 report within AWS Artifact.
  3. Scenario Analysis: Given a scenario (e.g., an EC2 instance is compromised), identify whether the fix is the customer's or AWS's responsibility.
  4. 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
ServicePrimary FunctionReal-World Example
AWS ShieldDDoS ProtectionProtecting a web app from being overwhelmed by fake traffic.
AWS WAFWeb Traffic FilteringBlocking SQL injection attacks on a login page.
Amazon InspectorVulnerability ScanningFinding out if your EC2 instance has an outdated, insecure software version.
AWS KMSKey ManagementManaging 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

Read full article

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:

  1. Enable and interpret findings in Amazon GuardDuty (Continuous Threat Detection).
  2. Secure an Amazon S3 bucket using Server-Side Encryption (Encryption at Rest) and Public Access Blocks.
  3. Implement IAM least-privilege access management for cloud resources.
  4. 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 ID aws 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
  1. Navigate to the GuardDuty console.
  2. Click Get Started and then click Enable GuardDuty.
  3. In the left navigation pane, choose Settings.
  4. Scroll down to Sample findings and click Generate sample findings.
  5. 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.

bash
# 1. Create the bucket aws s3api create-bucket \ --bucket brainybee-secure-data-<YOUR_ACCOUNT_ID> \ --region us-east-1 # 2. Enable Default Server-Side Encryption (AES256) aws s3api put-bucket-encryption \ --bucket brainybee-secure-data-<YOUR_ACCOUNT_ID> \ --server-side-encryption-configuration '{"Rules": [{"ApplyServerSideEncryptionByDefault": {"SSEAlgorithm": "AES256"}}]}' # 3. Block All Public Access (Governance & Compliance) aws s3api put-public-access-block \ --bucket brainybee-secure-data-<YOUR_ACCOUNT_ID> \ --public-access-block-configuration "BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true"
▶Console alternative
  1. Navigate to the S3 console and click Create bucket.
  2. Enter brainybee-secure-data-<YOUR_ACCOUNT_ID> for the Bucket name.
  3. In the Block Public Access settings for this bucket section, ensure Block all public access is CHECKED.
  4. Scroll to Default encryption, ensure Server-side encryption is Enabled, and Encryption key type is Amazon S3 managed keys (SSE-S3).
  5. 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 locally cat <<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 AWS aws iam create-policy \ --policy-name BrainyBeeS3ReadOnly \ --policy-document file://s3-read-only-policy.json
▶Console alternative
  1. Navigate to the IAM console.
  2. In the left navigation pane, choose Policies, then click Create policy.
  3. Switch to the JSON tab and paste the JSON from the code block above (ensure you replace <YOUR_ACCOUNT_ID>).
  4. 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.

Checkpoint 2: Verify S3 Encryption is Applied

bash
aws s3api get-bucket-encryption --bucket brainybee-secure-data-<YOUR_ACCOUNT_ID> # Expected result: JSON output showing "SSEAlgorithm": "AES256".

Checkpoint 3: Verify Public Access is Blocked

bash
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 / IssueLikely CauseSolution
BucketNameAlreadyExistsAnother 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 PolicyYour CLI user lacks IAM permissions.Verify you are using credentials for a user with AdministratorAccess or IAMFullAccess.
An error occurred (BadRequestException) in GuardDutyGuardDuty 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> --recursive aws 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 file rm 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.

Curriculum Overview685 words

AWS Cloud Value Proposition: Curriculum Overview

AWS Cloud Value Proposition

Read full article

AWS Cloud Value Proposition: Curriculum Overview

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

ModuleTitleFocus AreaDifficulty
1Benefits of the AWS CloudSpeed, Agility, and Global ReachIntroductory
2Design PrinciplesAWS Well-Architected FrameworkIntermediate
3Migration StrategiesAWS CAF & Cloud TransformationIntermediate
4Cloud EconomicsCapEx vs. OpEx, Economies of ScaleFoundational
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.

Loading Diagram...
Figure 2 — Mermaid diagram

Module 3: Migration & Cloud Adoption Framework (CAF)

  • 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:

  1. Articulate the "Big Idea": Explain why a university would "terminate" millions of CPUs after a weekend rather than buying them (CapEx avoidance).
  2. Pillar Identification: Given a scenario (e.g., "reducing carbon footprint"), identify the relevant Well-Architected Pillar (Sustainability).
  3. Economic Justification: Calculate the theoretical benefit of Economies of Scale (lower prices due to AWS's massive volume).
  4. Migration Readiness: Identify which AWS CAF perspective addresses "reduced business risk" or "increased revenue."
ConceptMetric of Mastery
RightsizingAbility to choose the instance type that matches the workload precisely without waste.
AgilityExplaining how CloudFormation templates allow for instant experimentation.
High AvailabilityDesigning 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.

More Study Notes (153)

Hands-On Lab: Experiencing the AWS Cloud Value Proposition

AWS Cloud Value Proposition

878 words

AWS Compliance and Governance: Curriculum Roadmap

AWS compliance and governance concepts

685 words

Curriculum Overview: AWS Database Services

AWS database services

685 words

Hands-On Lab: Provisioning AWS Database Services (RDS & DynamoDB)

AWS database services

1,056 words

AWS IAM Identity Center: Comprehensive Curriculum Overview

AWS IAM Identity Center (AWS Single Sign-On)

820 words

AWS Network Services: Curriculum Overview

AWS network services

685 words

Build Your First AWS Virtual Private Cloud (VPC)

AWS network services

1,216 words

AWS Pricing Models: Hands-On Exploration

AWS Pricing Models

863 words

Curriculum Overview: Mastering AWS Pricing Models

AWS Pricing Models

780 words

Curriculum Overview: AWS Regions, Availability Zones, and Edge Locations

AWS Regions, Availability Zones, and edge locations

685 words

Curriculum Overview: AWS Shared Responsibility Model

AWS Shared Responsibility Model

685 words

Hands-On Lab: Exploring the AWS Shared Responsibility Model

AWS Shared Responsibility Model

1,215 words

Curriculum Overview: AWS Storage Services

AWS storage services

780 words

Hands-On Lab: Implementing AWS Object Storage and Archival (S3 & Glacier)

AWS storage services

875 words

AWS Support Center & Technical Resources: Curriculum Overview

AWS Support Center

780 words

Curriculum Overview: AWS Support Plans

AWS Support plans

745 words

AWS Technical Resources and Support Options: Curriculum Overview

AWS technical resources and AWS Support options

785 words

Hands-On Lab: Navigating AWS Technical Resources and Support Options

AWS technical resources and AWS Support options

1,150 words

AWS Well-Architected Framework: Curriculum Overview

AWS Well-Architected Framework

820 words

AWS Well-Architected Framework: Hands-On Lab

AWS Well-Architected Framework

878 words

Curriculum Overview: Mastering AWS Cloud Security and Encryption

Benefits of cloud security (for example, encryption)

642 words

AWS Global Infrastructure: Benefits of Edge Locations

Benefits of edge locations

845 words

AWS Business Applications: Amazon Connect and Amazon SES Curriculum Overview

Business application services of Amazon Connect and Amazon Simple Email Service (Amazon SES)

850 words

Curriculum Overview: AWS Business Support Assistance & Support Plans

Choosing the appropriate option for business support assistance

845 words

AWS Curriculum: Messaging, Alerts, and Notifications

Choosing the appropriate service to deliver messages and to send alerts and notifications

850 words

Curriculum Overview: Strategic AWS Service Selection for Business Needs

Choosing the appropriate service to meet business application needs

845 words

Curriculum Overview: AWS Cloud Adoption Strategies

Cloud adoption strategies

785 words

Hands-On Lab: AWS Cloud Adoption & Elasticity Strategies

Cloud adoption strategies

1,058 words

AWS Compute Purchasing Options: Curriculum Overview

Compute purchasing options (for example, On-Demand Instances, Reserved Instances, Spot Instances, AWS Savings Plans, Dedicated Hosts, Dedicated Instances, Capacity Reservations)

820 words

Cost Savings & Economic Benefits of Cloud Migration: A Curriculum Overview

Cost savings of moving to the cloud

680 words

Curriculum Overview: AWS Customer Enablement and Support Services

Customer enablement services (for example, AWS Support)

845 words

AWS Management and Deployment: Curriculum Overview

Deciding between options such as programmatic access (for example, APIs, SDKs, CLI), the AWS Management Console, and infrastructure as code (IaC)

685 words

AWS Curriculum: Deciding Between EC2 Hosted vs. Managed Databases

Deciding when to use EC2 hosted databases or AWS managed databases

820 words

Curriculum Overview: AWS Global Infrastructure Mastery

Define the AWS global infrastructure

825 words

Hands-On Lab: Defining and Exploring the AWS Global Infrastructure

Define the AWS global infrastructure

1,056 words

AWS Identity & Access Management: Mastering the Principle of Least Privilege

Defining groups, users, custom policies, and managed policies in compliance with the principle of least privilege

820 words

Curriculum Overview: AWS Shared Responsibility Model

Describing AWS responsibilities

780 words

AWS Security Services & Compliance: Comprehensive Curriculum Overview

Describing AWS security features and services (for example, AWS WAF, AWS Firewall Manager, AWS Shield, Amazon GuardDuty)

815 words

AWS Shared Responsibility Model: Navigating Shifting Responsibilities

Describing how AWS responsibilities and customer responsibilities can shift, depending on the service used (for example, Amazon RDS, AWS Lambda, Amazon EC2)

680 words

Curriculum Overview: Securing AWS Resources

Describing how customers secure resources on AWS (for example, Amazon Inspector, AWS Security Hub, Amazon GuardDuty, AWS Shield)

845 words

Mastering High Availability: Multi-AZ Architecture Curriculum

Describing how to achieve high availability by using multiple Availability Zones

685 words

Curriculum Overview: AWS Global Infrastructure Foundations

Describing relationships among Regions, Availability Zones, and edge locations

750 words

Curriculum Overview: Reserved Instance Behavior in AWS Organizations

Describing Reserved Instance behavior in AWS Organizations

685 words

Curriculum Overview: Mastering AWS Reserved Instance Flexibility

Describing Reserved Instance flexibility

845 words

Curriculum Overview: The AWS Shared Responsibility Model

Describing responsibilities that the customer and AWS share

785 words

AWS Curriculum: Mastering the Shared Responsibility Model

Describing the customer's responsibilities on AWS

782 words

Curriculum Overview: Strategic Multi-Region AWS Deployment

Describing when to use multiple Regions (for example, disaster recovery, business continuity, low latency for end users, data sovereignty)

685 words

Curriculum Overview: AWS Developer Tools and Capabilities

Developer tool services and capabilities (for example, AWS CodeBuild, AWS CodePipeline, and AWS X-Ray)

820 words

Curriculum Overview: AWS End-User Computing (EUC) Services

End-user computing services of Amazon AppStream 2.0, Amazon WorkSpaces, and Amazon WorkSpaces Secure Browser

782 words

Curriculum Overview: One-Time Operations vs. Repeatable Processes in AWS

Evaluating requirements to determine whether to use one-time operations or repeatable processes

785 words

AWS Frontend Web and Mobile: Amplify & AppSync Curriculum Overview

Frontend web and mobile services of AWS Amplify and AWS AppSync

745 words

Curriculum Overview: High Availability in the AWS Cloud

High availability

782 words

Curriculum Overview: AWS Compute Services Mastery

Identify AWS compute services

780 words

Hands-On Lab: Identifying and Provisioning AWS Compute Services

Identify AWS compute services

917 words

AWS Certified Cloud Practitioner: Security Components & Resources Curriculum Overview

Identify components and resources for security

785 words

AWS Security Foundation: Implementing Security Components and Resources

Identify components and resources for security

923 words

Curriculum Overview: Identifying and Locating AWS Technical Resources

Identifying and locating AWS technical resources (for example AWS Prescriptive Guidance, AWS Knowledge Center, AWS re:Post)

820 words

Curriculum Overview: AWS Migration Strategies and Data Transfer

Identifying appropriate migration strategies (for example, database replication, use of AWS Snowball)

820 words

AWS Authentication Methods: Curriculum Overview

Identifying authentication methods in AWS (for example, multi-factor authentication [MFA], IAM Identity Center, cross-account IAM roles)

842 words

Curriculum Overview: AWS Support Plans and Technical Resources

Identifying AWS Support options for AWS customers (for example, customer service and communities, AWS Developer Support, AWS Business Support, AWS Enterprise On-Ramp Support, AWS Enterprise Support)

842 words

Curriculum Overview: Identifying Benefits of Automation in AWS

Identifying benefits of automation

845 words

Curriculum Overview: Identifying AWS Block Storage Solutions

Identifying block storage solutions (for example, Amazon Elastic Block Store [Amazon EBS], instance store

860 words

Curriculum Overview: Identifying Cached File Systems (AWS Storage Gateway)

Identifying cached file systems (for example, AWS Storage Gateway)

684 words

Curriculum Overview: AWS Database Migration Tools (DMS & SCT)

Identifying database migration tools (for example AWS Database Migration Service [AWS DMS], AWS Schema Conversion Tool [AWS SCT])

685 words

Curriculum Overview: AWS Cloud Deployment Models

Identifying deployment models (for example, cloud, hybrid, on-premises)

784 words

Mastering the AWS Well-Architected Framework Pillars

Identifying differences between the pillars of the Well-Architected Framework

825 words

AWS Data Encryption: A Comprehensive Curriculum Overview

Identifying encryption options (for example, encryption in transit, encryption at rest)

782 words

Curriculum Overview: AWS File Storage Services (EFS & FSx)

Identifying file services (for example, Amazon Elastic File System [Amazon EFS], Amazon FSx)

780 words

AWS Memory-Based Databases: Curriculum Overview

Identifying memory-based databases (for example, Amazon ElastiCache)

680 words

AWS Connectivity Options: Curriculum Overview

Identifying network connectivity options to AWS (for example AWS VPN, AWS Direct Connect)

820 words

AWS Certified Cloud Practitioner: Identifying NoSQL Databases (Amazon DynamoDB)

Identifying NoSQL databases (for example, Amazon DynamoDB)

780 words

Curriculum Overview: AWS Relational Database Services (RDS & Aurora)

Identifying relational databases (for example, Amazon RDS, Amazon Aurora)

785 words

Mastering the AWS Root User: Permissions and Best Practices

Identifying tasks that only the account root user can perform

785 words

Curriculum Overview: AWS Technical Assistance and Support Ecosystem

Identifying technical assistance options available at AWS (for example, AWS Professional Services, AWS Solutions Architects)

685 words

Curriculum Overview: AWS Partner Network (APN) Benefits

Identifying the benefits of being an AWS Partner (for example, partner training and certification, partner events, partner volume discounts)

680 words

Mastering AWS Networking: VPC Components & Architecture Overview

Identifying the components of a VPC (for example, subnets, gateways)

785 words

AWS Marketplace: Key Services and Integrated Solutions Overview

Identifying the key services that AWS Marketplace offers (for example, cost management, governance and entitlement)

785 words

Curriculum Overview: Identifying the Purposes of Load Balancers

Identifying the purposes of load balancers

780 words

AWS Cost Optimization and Environment Monitoring Curriculum Overview

Identifying the role of AWS Trusted Advisor, AWS Health Dashboard, and the AWS Health API to help manage and monitor environments for cost optimization

845 words

Curriculum Overview: AWS Trust and Safety and Abuse Reporting

Identifying the role of the AWS Trust and Safety team to report abuse of AWS resources

680 words

AWS Data Analytics Services: Comprehensive Curriculum Overview

Identifying the services for data analytics (for example, Amazon Athena, Amazon Kinesis, AWS Glue, Amazon QuickSight)

845 words

Curriculum Overview: Identifying AWS Frontend and Mobile Services

Identifying the services that can create and deploy frontend and mobile services

685 words

Curriculum Overview: AWS End-User Computing & VM Output Services

Identifying the services that can present the output of virtual machines (VMs) on end-user machines

780 words

Curriculum Overview: Identifying and Managing AWS IoT Services

Identifying the services that manage IoT devices

685 words

Curriculum Overview: AWS Application Development, Deployment, and Troubleshooting Tools

Identifying the tools to develop, deploy, and troubleshoot applications

680 words

Curriculum Overview: Identifying and Implementing AWS Object Storage

Identifying the uses for object storage

820 words

AWS Compute Purchasing Strategy: Curriculum Overview

Identifying when to use various compute purchasing options

780 words

AWS Security Information Resources: Curriculum Overview

Identifying where AWS security information is available (for example, AWS Knowledge Center, AWS Security Center, AWS Security Blog)

820 words

Navigating AWS Compliance & Governance: A Comprehensive Curriculum Overview

Identifying where to find AWS compliance information (for example, AWS Artifact)

645 words

AWS Certified Cloud Practitioner: Extended Service Portfolio Curriculum

Identify services from other in-scope AWS service categories

645 words

Mastering AWS Identity and Access Management (IAM): Curriculum Overview

Identity and access management (for example, AWS Identity and Access Management [IAM])

820 words

AWS Root Account Security: Curriculum Overview

Importance of protecting the AWS root user account

820 words

Curriculum Overview: Mastering AWS IoT Services

IoT services (for example, AWS IoT Core)

820 words

AWS Curriculum Overview: AI/ML and Data Analytics Services

Knowledge of AWS AI/ML services and AWS analytics services

685 words

AWS Database Services and Migration Strategy Overview

Knowledge of AWS database services and Database migration

845 words

Curriculum Overview: Mastery of AWS Network Services

Knowledge of AWS network services

845 words

Comprehensive Curriculum Overview: AWS Storage Services (CLF-C02)

Knowledge of AWS storage services

850 words

AWS Cloud Economics: Billing, Pricing, and Organizations Overview

Knowledge of Billing support and information, Pricing information for AWS services, AWS Organizations, AWS cost allocation tags

685 words

Curriculum Overview: Navigating the AWS Technical Resource Ecosystem

Locating AWS whitepapers, blogs, and documentation on official AWS websites

820 words

Curriculum Overview: Methods of Deploying and Operating in the AWS Cloud

Methods of deploying and operating in the AWS Cloud

625 words

Hands-On Lab: Methods of Deploying and Operating in the AWS Cloud

Methods of deploying and operating in the AWS Cloud

863 words

Curriculum Overview: Mastering the Principle of Least Privilege (PoLP) in AWS

Principle of least privilege

820 words

Curriculum Overview: AWS Compliance and Governance Frameworks

Recognizing compliance requirements that vary among AWS services

785 words

Curriculum Overview: AWS Governance, Compliance, and Monitoring

Recognizing services that aid in governance and compliance (for example, monitoring with Amazon CloudWatch; auditing with AWS CloudTrail, AWS Audit Manager, and AWS Config; reporting with access reports)

820 words

Mastering Cloud Elasticity: AWS Auto Scaling Curriculum Overview

Recognizing that auto scaling provides elasticity

680 words

Curriculum Overview: AWS Global Infrastructure & AZ Fault Independence

Recognizing that Availability Zones do not share single points of failure

725 words

Curriculum Guide: Mastering Amazon EC2 Instance Types

Recognizing the appropriate use of various Amazon EC2 instance types (for example, compute optimized, storage optimized)

685 words

AWS Container Services Curriculum Overview

Recognizing the appropriate use of various container options (for example, Amazon Elastic Container Service [Amazon ECS], Amazon Elastic Kubernetes Service [Amazon EKS])

842 words

Curriculum Overview: AWS Serverless Compute (Lambda & Fargate)

Recognizing the appropriate use of various serverless compute options (for example, AWS Fargate, AWS Lambda)

842 words

Mastering the AWS Shared Responsibility Model: Curriculum Overview

Recognizing the components of the AWS shared responsibility model

785 words

Mastery Guide: Amazon S3 Storage Classes & Lifecycle Management

Recognizing the differences in Amazon S3 storage classes

820 words

Mastering AWS Technical Resources: A Comprehensive Curriculum Overview

Resources and documentation available on official AWS websites

785 words

Curriculum Overview: Navigating the AWS Cloud Migration Journey

Resources to support the cloud migration journey

780 words

AWS Partner Network (APN) & Third-Party Ecosystem

Role of the AWS Partner Network, including independent software vendors and system integrators

685 words

AWS Security Capabilities: Curriculum Overview

Security capabilities that AWS provides

820 words

AWS Security Documentation & Resources: Curriculum Overview

Security-related documentation that AWS provides

680 words

AWS Storage Ecosystem: Options, Tiers, and Lifecycle Management

Storage options and tiers

845 words

Curriculum Overview: Cloud Deployment Models

Types of cloud deployment models

825 words

AWS Cloud Economics: Curriculum Mastery Guide

Understand concepts of cloud economics

758 words

Hands-On Lab: AWS Cloud Economics & Cost Management

Understand concepts of cloud economics

948 words

Curriculum Overview: AWS Access Management and Credential Security

Understanding access keys, password policies, and credential storage (for example, AWS Secrets Manager, AWS Systems Manager)

845 words

AWS AI/ML Services: Curriculum Overview

Understanding AI/ML services and the tasks that they accomplish (for example, Amazon SageMaker AI, Amazon Lex, Amazon Kendra)

865 words

Curriculum Overview: AWS Organizations, Consolidated Billing, and Cost Allocation

Understanding AWS Organizations consolidated billing and allocation of costs

845 words

Curriculum Overview: AWS Global and Industry Compliance

Understanding compliance needs among geographic locations or industries (for example, AWS compliance)

845 words

Curriculum Overview: The Financial Reality of On-Premises Infrastructure

Understanding costs that are associated with on-premises environments

685 words

Curriculum Overview: AWS Data Transfer Costs

Understanding incoming data transfer costs and outgoing data transfer costs (for example, from one AWS Region to another Region, within the same Region)

685 words

AWS Storage Pricing and Tiering Strategy

Understanding pricing options for various storage options and tiers

815 words

VPC Security Fundamentals: Architecture and Implementation

Understanding security in a VPC (for example, network ACLs, security groups, Amazon Inspector)

820 words

AWS Marketplace Security Solutions: Curriculum Overview

Understanding that third-party security products are available from AWS Marketplace

680 words

AWS Cloud Value Proposition: High Availability, Elasticity, and Agility

Understanding the advantages of high availability, elasticity, and agilit

742 words

AWS Cloud Financial Management: Budgets and Cost Explorer Curriculum

Understanding the appropriate uses and capabilities of AWS Budgets, and AWS Cost Explorer

845 words

Curriculum Overview: Mastering the AWS Pricing Calculator

Understanding the appropriate uses and capabilities of AWS Pricing Calculator

820 words

Curriculum Overview: AWS Global Infrastructure & Cloud Benefits

Understanding the benefits of global infrastructure (for example, speed of deployment, global reach)

685 words

Curriculum Overview: Mastering the AWS Cloud Adoption Framework (AWS CAF)

Understanding the components of the AWS Cloud Adoption Framework (AWS CAF) (for example, reduced business risk; improved environmental, social, and governance [ESG] performance; increased revenue; increased operational efficiency)

785 words

Curriculum Overview: Mastering Cloud Rightsizing

Understanding the concept of rightsizing

745 words

Mastery Guide: Cloud Licensing Strategies (BYOL vs. License Included)

Understanding the differences between licensing strategies (for example, Bring Your Own License [BYOL] model compared with included licenses)

820 words

Curriculum Overview: Mastering Economies of Scale and Cloud Economics

Understanding the economies of scale (for example, cost savings)

845 words

Curriculum Overview: The AWS Well-Architected Framework

Understanding the pillars of the Well-Architected Framework (for example, operational excellence, security, reliability, performance efficiency, cost optimization, sustainability)

780 words

Curriculum Overview: Mastering Amazon Route 53

Understanding the purpose of Amazon Route 53

745 words

Curriculum Overview: The AWS Partner Ecosystem and Marketplace

Understanding the role of AWS Partners (for example AWS Marketplace, independent software vendors, system integrators)

782 words

Curriculum Overview: Fixed vs. Variable Costs in Cloud Economics

Understanding the role of fixed costs compared with variable costs

680 words

Curriculum Overview: AWS Identity Management and Federation

Understanding the types of identity management (for example, federated)

745 words

AWS Security Identification and Monitoring Curriculum

Understanding the use of AWS services for identifying security issues (for example, AWS Trusted Advisor)

685 words

Mastering Data Protection: AWS Backup Curriculum Overview

Understanding use cases for AWS Backup

845 words

Mastering AWS S3 Lifecycle Policies: A Curriculum Guide

Understanding use cases for lifecycle policies

685 words

Mastering AWS Cost Allocation & Billing Reports: Curriculum Overview

Understanding various types of cost allocation tags and their relation to billing reports (for example, AWS Cost and Usage Report)

685 words

Curriculum Overview: Root User Protection & AWS IAM Best Practices

Understanding which methods can achieve root user protection

725 words

Curriculum Overview: AWS Billing, Budgets, and Cost Management

Understand resources for billing, budget, and cost management

780 words

Hands-On Lab: AWS Billing, Budgets, and Cost Management

Understand resources for billing, budget, and cost management

918 words

AWS Global Infrastructure: Mastering Multi-Region Architectures

Use of multiple Regions

745 words

Curriculum Overview: Provisioning and Operating in the AWS Cloud

Various ways of provisioning and operating in the AWS Cloud

785 words

Mastering AWS Access: Curriculum Overview

Various ways to access AWS services

785 words

Curriculum Overview: AWS Cloud Security Logging and Monitoring

Where to capture and locate logs that are associated with cloud security

845 words

Ready to practice? Jump straight in — no sign-up needed.

Take practice tests, review flashcards, and read study notes right now.

Take a Practice Test

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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:

  1. 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).
  2. 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 →\rightarrow Lambda →\rightarrow 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:

  1. AWS WAF is required to provide the granular Layer 7 protection (SQLi/XSS) for the ALBs.
  2. 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.
  3. 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:

  1. 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).

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  1. CloudTrail Logging: AWS CloudTrail records API calls made by or on behalf of an AWS account. This includes both successful and failed attempts.
  2. 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.
  3. 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.

  1. 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.
  2. 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.
  3. 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'.
  4. 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.

  1. 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.
  2. Scope: This flexibility is specific to the instance family and the region in which the RI was purchased.
  3. 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.

These are 15 of 857 questions available. Take a practice test →

AWS Certified Cloud Practitioner (CLF-C02) Flashcards

790 flashcards for spaced-repetition study. Showing 30 sample cards below.

Amazon EC2 Instance Types(5 cards shown)

Question

General Purpose Instances

Explain the primary characteristics and typical use cases for the General Purpose instance family.

Answer

General purpose instances provide a balance of compute, memory, and networking resources. They are the "jack-of-all-trades" in the EC2 lineup.

Key Characteristics:

  • Balanced resource allocation.
  • Includes "burstable" performance instances (T-series).

Common Use Cases:

  • Web servers and code repositories.
  • Small to medium-sized databases.
  • Development and test environments.

Instance Families: M7, M6, M5, T4, T3, T2.

[!TIP] If you aren't sure which instance type to start with, General Purpose (specifically the M-family) is usually the best baseline.

Question

Compute Optimized Instances

When should an architect choose Compute Optimized (C-series) instances over other types?

Answer

Compute optimized instances are designed for applications that benefit from high-performance processors and are often bound by CPU limits.

FeatureDetails
Core StrengthHigh ratio of vCPUs to memory
PerformanceIdeal for compute-bound workloads
PrefixC (e.g., C5, C6g, C7i)

Typical Workloads:

  • Batch processing: Large scale data processing tasks.
  • Media transcoding: Video encoding/decoding.
  • Scientific modeling: Complex mathematical simulations.
  • High-performance web servers.
  • Dedicated gaming servers.
Loading Diagram...
Figure 1 — Mermaid diagram

Question

Memory Optimized Instances

What defines a Memory Optimized instance, and which workloads require this hardware profile?

Answer

Memory optimized instances are designed to deliver fast performance for workloads that process large data sets in memory.

Key Characteristics:

  • High RAM-to-vCPU ratio.
  • Designed for high-speed data access.

Common Use Cases:

  • High-performance databases: (e.g., SAP HANA, relational databases with large caches).
  • Distributed web-scale in-memory caches: (e.g., Redis, Memcached).
  • Real-time big data analytics: Processing massive streams of data in real-time.

Instance Families: R7, R6, R5, X2, X1, High Memory, z1d.

[!NOTE] Remember "R" for RAM to help identify memory-optimized instances.

Question

Storage Optimized Instances

Describe the focus of Storage Optimized instances and provide examples of where they excel.

Answer

Storage optimized instances are designed for workloads that require high, sequential read and write access to very large data sets on local storage.

Specialization: They are optimized to deliver tens of thousands of low-latency, random I/O operations per second (IOPS) to applications.

Target Workloads:

  • NoSQL Databases: (e.g., Cassandra, MongoDB).
  • Data Warehousing: High-throughput analysis.
  • Log/Data processing: (e.g., Kafka, Elasticsearch).

Instance Families:

  • I4, I3 (High I/O performance)
  • D2, D3 (Dense storage for massive throughput)
  • H1 (High throughput storage)

[!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:

  1. Domain Registration: Acts as a registrar where you can purchase and manage domain names (e.g., .com, .net, .org).
  2. DNS Hosting: Provides the infrastructure to host DNS records and manage the "Hosted Zone" for a domain.
FunctionDescription
RegistrarBuying the name and owning the lease (1-10 years).
DNS HostingDefining 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:

  1. Monitoring: Route 53 sends requests to your application (HTTP, HTTPS, or TCP) to see if it's reachable.
  2. Decision: If an endpoint is found to be unhealthy, Route 53 stops routing traffic to it.
  3. 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

FeatureS3 StandardS3 Standard-IA
Use CaseFrequently accessed data (active)Infrequently accessed but needs immediate access
Availability99.99%99.9%
AZ Coverage≥ 3 Availability Zones≥ 3 Availability Zones
PricingHigher storage cost; no retrieval feeLower 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 ClassRetrieval TimeBest For
Glacier Instant RetrievalMillisecondsMedical records, news assets
Glacier Flexible Retrieval1-5 mins (Expedited)
3-5 hrs (Standard)
Backup/disaster recovery
Glacier Deep Archive12 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.

  1. 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).
  2. 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

ServiceIts half of the job
Amazon Athenaanalyze data directly in Amazon Simple Storage Service (Amazon S3) using standard SQL
Amazon Quick SightInteractive 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:

  1. Start with Deny: By default, all requests are denied (Implicit Deny).
  2. Explicit Allow: Attach policies that only allow necessary actions (e.g., s3:GetObject instead of s3:*).
  3. 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.

Critical Protection Steps:

  • MFA: Always enable Multi-Factor Authentication immediately.
  • No Daily Use: Do not use the root user for everyday administrative tasks.
  • Access Keys: Delete root access keys (use IAM user keys instead).
  • Strong Password: Use a unique, complex password.
Loading Diagram...
Figure 1 — Mermaid diagram

Question

IAM Users vs. IAM Roles

Answer

While both define what an identity can do, they are used in different scenarios:

FeatureIAM UserIAM Role
CredentialsLong-term (Password/Access Keys)Short-term (Temporary tokens via STS)
Primary PurposeHuman operators or permanent appsAWS Services, cross-account access, federated users
Association1:1 with a person/systemAssumed by any trusted entity

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.

AWS Access Management & Credential Storage(5 cards shown)

Question

IAM Password Policy

Answer

An IAM Password Policy is a set of rules defined by an administrator to manage the complexity and lifecycle of IAM user passwords.

Key Features:

  • Complexity: Enforces minimum length and required characters (uppercase, lowercase, numbers, non-alphanumeric).
  • Expiration: Forces users to change passwords after a specific number of days.
  • Prevention: Prevents users from reusing previous passwords.
  • Lockout: Can prevent users from changing their own expired passwords without admin intervention.

[!NOTE] Password policies do not apply to the AWS Root user; that account should be protected by a unique, complex password and MFA.

Question

AWS Access Keys

Answer

AWS Access Keys provide programmatic access to AWS resources via the AWS CLI, SDKs, or APIs.

Components:

  1. Access Key ID: A public identifier (e.g., AKIAIOSFODNN7EXAMPLE).
  2. Secret Access Key: A private key used to sign requests (e.g., wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY).

[!WARNING] Never share secret access keys or embed them in source code. If a key is compromised, deactivate it immediately in the IAM console.

Loading Diagram...
Figure 1 — Mermaid diagram

Question

AWS Secrets Manager

Answer

AWS Secrets Manager is a dedicated service for managing, rotating, and retrieving database credentials, API keys, and other secrets.

Core Capabilities:

  • Automated Rotation: Automatically changes secrets (like RDS passwords) on a schedule without manual intervention.
  • Centralized Management: Provides a single location to audit and control access to sensitive credentials.
  • Integration: Apps retrieve secrets via API calls rather than hardcoding them.

[!TIP] Use Secrets Manager when you need automatic rotation for RDS, Redshift, or DocumentDB credentials.

Question

Comparison: AWS Secrets Manager vs. Systems Manager Parameter Store

Answer

Both services store configuration and secrets, but they serve different primary use cases:

FeatureAWS Secrets ManagerSSM Parameter Store
Primary GoalSecure secret lifecycle managementCentralized config & metadata
RotationNative automatic rotation (Lambda)No native automatic rotation
CostPaid per secret per monthFree (Standard) / Paid (Advanced)
ComplexityHigher (Built for secrets)Lower (General purpose storage)

[!NOTE] Parameter Store can store secrets using "SecureString" (KMS encryption), but it lacks the built-in rotation logic found in Secrets Manager.

Question

Credential Best Practices

Answer

To maintain a secure environment, AWS recommends several hygiene practices for credentials:

  • Rotate Regularly: Change passwords and access keys periodically to minimize the impact of a potential leak.
  • Remove Unused Credentials: Use IAM Credential Reports to identify and delete keys/passwords that haven't been used in 90+ days.
  • Prefer Roles: For applications running on EC2, use IAM Roles instead of long-term access keys.
  • MFA: Enforce Multi-Factor Authentication for all human users, especially those with administrative privileges.
Loading Diagram...
Figure 1 — Mermaid diagram

Showing 30 of 790 flashcards. Study all flashcards →

Ready to ace AWS Certified Cloud Practitioner (CLF-C02)?

Access all 857 practice questions, study notes, and flashcards — no sign-up required.

Start free diagnostic