☁️ AWS

Free AWS Certified Cloud Practitioner (CLF-C02) Study Resources

Free to use right now: 1,047 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.

1,047
Practice Questions
163
Study Notes
790
Flashcards

CLF-C02 exam prep

Booked CLF-C02? Start practising now.

Free to use right now: 1,047 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 1,047. Answers and detailed explanations included.

Q1medium

A company holds unexpired licences for software it intends to keep running on AWS. Which licensing approach fits?

A.

An included licence, because it is always the cheaper option.

B.

Neither, because existing licences cannot be used in the cloud.

C.

An included licence, because bringing your own removes the need to track compliance.

D.

Bring Your Own License, re-purposing its existing licence inventory for its cloud resources.

Show answer & explanation

Correct Answer: D

  • An included licence, because it is always the cheaper option.: Incorrect. Neither model is documented as always cheaper; an included licence adds cost the company has already paid for elsewhere.
  • Neither, because existing licences cannot be used in the cloud.: Incorrect. Re-purposing existing licence inventory for cloud resources is exactly what the documented model permits.
  • An included licence, because bringing your own removes the need to track compliance.: Incorrect. Bringing your own leaves you holding the compliance obligation; an included licence is what removes the separate tracking.
  • Bring Your Own License, re-purposing its existing licence inventory for its cloud resources.: Correct. AWS states that you can save costs by using Bring Your Own License model opportunities — that is, you can re-purpose your existing licence inventory for use with your cloud resources.

Answer: D

Q2easy

Which AWS resource provides a curated collection of articles and videos created by AWS experts to help customers troubleshoot common technical challenges and find answers to frequent questions?

A.

AWS Support Center

B.

AWS Knowledge Center

C.

AWS re:Post

D.

AWS Health Dashboard

Show answer & explanation

Correct Answer: B

The AWS Knowledge Center is the correct resource because it contains a curated set of articles and videos developed by AWS experts to address the most common technical questions and troubleshooting scenarios encountered by customers. While the AWS Support Center is used for managing private support cases, AWS re:Post is a community-driven discussion forum, and the AWS Health Dashboard provides real-time information on the operational status of AWS services, the Knowledge Center is specifically designed for authoritative 'how-to' guidance and frequent FAQ resolution.

Q3medium

A startup in the healthcare sector is preparing to launch a new application on AWS that will store and process Protected Health Information (PHI). To ensure compliance with HIPAA regulations, the company must enter into a legal agreement with AWS. Which AWS service provides a central repository for on-demand access to this required agreement and other security and compliance reports?

A.

AWS Secrets Manager

B.

AWS Trusted Advisor

C.

AWS Artifact

D.

AWS Shield

Show answer & explanation

Correct Answer: C

The correct answer is AWS Artifact. AWS Artifact is the central, self-service repository for on-demand access to AWS's security and compliance reports and select online agreements. For organizations in the healthcare industry, AWS Artifact is used to review and accept the Business Associate Addendum (BAA), a legal requirement for HIPAA compliance. It also provides reports like the PCI DSS Attestation of Compliance (AOC) for the finance industry and FedRAMP documents for the public sector. AWS Trusted Advisor provides guidance on security and cost optimization but not legal agreements. AWS Secrets Manager is for credential rotation and management. AWS Shield is a managed DDoS protection service.

Q4medium

An organization is planning to migrate a complex legacy application suite to the AWS Cloud and is looking for proven methodologies and vetted architectural patterns to accelerate the process. Which of the following best explains the role of AWS Prescriptive Guidance (APG) in this scenario?

A.

It is a premium support tier that assigns a dedicated Technical Account Manager (TAM) to lead the organization's architectural discovery and design sessions.

B.

It serves as a real-time AI-powered assistant that automatically reviews application code and suggests troubleshooting steps for serverless functions.

C.

It is a central repository for mandatory legal and compliance documents required for regulated industries like healthcare and finance.

D.

It provides a library of time-tested strategies, guides, and patterns vetted by AWS experts to provide actionable roadmaps for migration and modernization.

Show answer & explanation

Correct Answer: D

AWS Prescriptive Guidance (APG) is designed to provide customers with a library of deployment-ready strategies, guides, and patterns. These resources are vetted by AWS professional services and partners based on real-world customer engagements.

Step-by-step reasoning:

  1. Identify the Core Value: APG focuses on prescriptive advice, meaning it tells you how to do something (e.g., the '7 Rs' of migration) rather than just what a service does.
  2. Analyze Distractors:
    • Option B describes tools like Amazon Q or Amazon CodeGuru.
    • Option C describes AWS Artifact, which handles compliance reports and agreements.
    • Option A describes AWS Enterprise Support, which provides access to a Technical Account Manager (TAM).
  3. Conclusion: Because the organization needs 'proven methodologies' and 'vetted patterns' to accelerate migration, APG is the correct resource.
Q5medium

An organisation must apply the same protections consistently across twelve AWS accounts. Which service is designed for that?

A.

AWS WAF, by writing the same rules in each account.

B.

Amazon GuardDuty, by detecting inconsistencies.

C.

AWS Marketplace, by procuring a management product.

D.

AWS Firewall Manager, which simplifies administration across multiple accounts and resources.

Show answer & explanation

Correct Answer: D

  • AWS WAF, by writing the same rules in each account.: Incorrect. That is the manual approach Firewall Manager exists to replace; WAF itself acts within its own scope.
  • Amazon GuardDuty, by detecting inconsistencies.: Incorrect. GuardDuty detects threats from data sources and logs; it does not administer protections.
  • AWS Marketplace, by procuring a management product.: Incorrect. A native service is documented for exactly this need, so procuring a third-party one is not the fitting answer.
  • AWS Firewall Manager, which simplifies administration across multiple accounts and resources.: Correct. AWS states that Firewall Manager simplifies your administration and maintenance tasks across multiple accounts and resources for a variety of protections, including AWS WAF, AWS Shield Advanced, Amazon VPC security groups and network ACLs, and AWS Network Firewall.

Answer: D

Q6easy

When configuring AWS Security Groups to control traffic to an Amazon EC2 instance, what does it mean that Security Groups are 'stateful'?

A.

Return traffic for an allowed inbound request is automatically permitted, regardless of outbound rules.

B.

Both inbound and outbound rules must be explicitly configured to allow a complete communication cycle.

C.

The security group automatically scales its rules based on the volume of incoming network traffic.

D.

Traffic is filtered at the subnet level rather than at the individual network interface level.

Show answer & explanation

Correct Answer: A

AWS Security Groups are stateful, which means they automatically track the state of network connections. If an inbound request is allowed by a rule, the response (return traffic) from the instance is automatically permitted to flow out, even if no outbound rule explicitly allows it. Conversely, if outbound traffic is initiated and allowed, the return traffic is allowed back in. This differs from Network ACLs, which are stateless and require explicit rules for traffic in both directions. Therefore, Option A is the correct description of stateful behavior.

Q7hard

An enterprise is analyzing a strategic shift from its traditional on-premises data center infrastructure to a cloud-based model. The two models present the following cost structures:

Cost ComponentTraditional ModelCloud Model
Annual Fixed Costs$100,000$20,000
Variable Cost per Unit26
Selling Price per Unit1010

Assuming the business experiences volatile demand cycles that fluctuate between $10,000 and $40,000 units annually, which of the following best analyzes the impact of this transition on the firm's profitability and risk profile?

A.

The Cloud model is the more profitable choice at all volume levels above $5,000 units because the reduction in fixed costs outweighs the unit cost premium at any scale.

B.

The Cloud model increases the break-even point to $20,000 units because the higher variable costs offset the fixed cost savings, making the business more susceptible to losses during demand downturns.

C.

Transitioning to the Cloud model eliminates operating leverage, ensuring that the net profit margin remains constant at 40% across both the $10,000 and $40,000 unit utilization levels.

D.

The Cloud model lowers the break-even point from $12,500 to $5,000 units, providing superior downside protection during low-demand periods, but results in lower total profits at $40,000 units due to a lower contribution margin.

Show answer & explanation

Correct Answer: D

To analyze the impact, we must calculate the Break-Even Point (BEP) and the profits at different demand levels for both models.

  1. Calculate Break-Even Point (BEP=FCP−VBEP = \frac{FC}{P - V}):
  • Traditional: BEP=100,00010−2=100,0008=12,500BEP = \frac{100,000}{10 - 2} = \frac{100,000}{8} = 12,500 units.
  • Cloud: BEP=20,00010−6=20,0004=5,000BEP = \frac{20,000}{10 - 6} = \frac{20,000}{4} = 5,000 units.
  • Insight: The Cloud model significantly lowers the risk threshold for profitability.
  1. Analyze Profit at Low Demand ($10,000 units):
  • Traditional: (10,000×8)−100,000=−20,000(10,000 \times 8) - 100,000 = -20,000 (Loss).
  • Cloud: (10,000×4)−20,000=+20,000(10,000 \times 4) - 20,000 = +20,000 (Profit).
  1. Analyze Profit at High Demand ($40,000 units):
  • Traditional: (40,000×8)−100,000=220,000(40,000 \times 8) - 100,000 = 220,000.
  • Cloud: (40,000×4)−20,000=140,000(40,000 \times 4) - 20,000 = 140,000.

Conclusion: The transition de-risks the business by lowering the BEP (downside protection), but it reduces operating leverage. Because the contribution margin per unit is lower in the Cloud model (4 vs 8), the business captures less profit during periods of high growth.

Q8easy

In the context of the AWS Well-Architected Framework and cost management, which of the following best defines the concept of rightsizing?

A.

Automatically increasing or decreasing the number of active instances in a group based on real-time traffic demand.

B.

The process of matching instance types and sizes to your workload performance and capacity requirements at the lowest possible cost.

C.

Distributing incoming application traffic across multiple Availability Zones to ensure high availability and fault tolerance.

D.

The practice of purchasing Reserved Instances for a one-year or three-year term to receive a significant discount compared to On-Demand pricing.

Show answer & explanation

Correct Answer: B

Rightsizing is a fundamental practice within the Cost Optimization pillar of the AWS Well-Architected Framework. It involves continuously evaluating your resource utilization to ensure that instance types and sizes are aligned with actual workload needs.

  1. Identify Utilization: Determine if a resource is over-provisioned (e.g., an instance with CPU utilization ≤10%\le 10\%).
  2. Match to Requirements: Select the smallest and most cost-effective instance type that still fulfills the performance and capacity requirements of the specific task.
  3. Eliminate Waste: This process ensures that you are not paying for idle or underutilized capacity.
  • Option A describes Auto Scaling, which focuses on the quantity of instances.
  • Option C describes Load Balancing and High Availability.
  • Option D describes Commitment-based savings, which is a different cost-saving strategy.
Q9hard

A developer is architecting a collaborative mobile application using AWS Amplify DataStore and AWS AppSync. The application must support multiple users modifying different attributes of the same record while offline (e.g., User A updates status, while User B updates description). Which configuration and schema design should be synthesized to ensure that these field-level updates are merged seamlessly without requiring a 'Full Sync' or causing synchronization failures when devices reconnect?

A.

Enable Conflict Detection on the AppSync API with the 'Automerge' resolution strategy, and ensure the GraphQL schema includes the _version, _lastChangedAt, and _deleted metadata fields.

B.

Enable Conflict Detection on the AppSync API with 'Optimistic Concurrency' resolution, and utilize a DynamoDB Stream to manually increment the version field for every field-level change.

C.

Configure the Amplify client to use 'Manual Sync' mode and implement a background service that polls the AppSync endpoint for changes using the list operation every time connectivity is restored.

D.

Enable Conflict Detection on the AppSync API with 'Lambda' resolution to compare the local and remote state, while keeping the GraphQL schema free of metadata to minimize payload size.

Show answer & explanation

Correct Answer: A

To achieve seamless offline synchronization and collaborative editing in AWS Amplify DataStore, the following must be synthesized:

  1. Conflict Resolution Strategy: The Automerge strategy is specifically designed for collaborative environments. Unlike Optimistic Concurrency, which rejects a write if the version has changed (causing the entire update to fail), Automerge merges non-overlapping field updates from different clients. If User A changes Field X and User B changes Field Y, Automerge preserves both.

  2. Schema Metadata: DataStore relies on the Delta Sync protocol. For this to work, the GraphQL schema must include specific metadata:

  • _version: An incrementing integer used to track the record state.
  • _lastChangedAt: A server-side timestamp used for fetching only the changes (deltas) since the last sync.
  • _deleted: A boolean flag used for soft deletes, ensuring the local store can purge records that were deleted remotely.
  1. Delta Sync Protocol: This avoids the inefficiency of a 'Full Sync' by allowing the client to only request records modified since its last known _lastChangedAt value.

Option B is incorrect because Optimistic Concurrency would cause one of the two users' updates to be rejected entirely upon a version mismatch. Option C is incorrect because manual polling and Full Sync are anti-patterns for DataStore's reactive model. Option D is incorrect because metadata fields are strictly required in the schema for DataStore's sync engine to function.

Therefore, Option A is the correct configuration.

Q10hard

An organization is evaluating its operational overhead regarding security maintenance across different compute and database service models. The architecture includes Amazon EC2 for custom legacy applications, Amazon RDS for primary relational data, and AWS Lambda for event-driven processing. According to the AWS Shared Responsibility Model, which of the following statements accurately analyzes the shift in patch management responsibilities as the organization transitions from unmanaged to serverless services?

A.

AWS manages the host operating system in EC2 and the guest operating system in RDS, but the customer remains responsible for patching the database engine in RDS and the language runtime in Lambda to maintain version control.

B.

In Amazon EC2, the customer is responsible for patching the guest operating system and applications, while in RDS and Lambda, AWS assumes responsibility for patching the underlying operating system and the database engine or managed language runtime.

C.

In an EC2 environment, AWS provides a standard service for automated guest OS patching that transfers responsibility to AWS, whereas in Lambda, the customer must manually apply security patches to the specific runtime environment they select.

D.

In EC2, the customer is responsible for the physical host and hypervisor (Host OS) maintenance, while AWS handles the Guest OS patching to ensure that the virtualized environment remains secure and compliant.

Show answer & explanation

Correct Answer: B

To analyze the shift in patch management, we must look at where the boundary of 'Security of the Cloud' (AWS) ends and 'Security in the Cloud' (Customer) begins:

  1. Amazon EC2 (Infrastructure as a Service - IaaS): AWS is responsible for the physical infrastructure and the virtualization layer (Host OS). The customer has full control over the instance and is therefore responsible for patching the Guest OS (e.g., Windows/Linux) and any installed applications.
  2. Amazon RDS (Managed Service): This is a platform-level service where AWS manages the underlying operating system and the database engine software (e.g., MySQL, PostgreSQL). The customer is responsible for data, access control, and schema management, but AWS handles the patching of both the OS and the engine.
  3. AWS Lambda (Serverless): This model abstracts all infrastructure. AWS is responsible for the OS and the managed language runtime (e.g., Node.js, Python). The customer is only responsible for the security of their own code.
  • Option A is incorrect because AWS, not the customer, patches the RDS engine and the Lambda runtime.
  • Option C is incorrect because Guest OS patching in EC2 is a customer responsibility (unless using extra services like Systems Manager Patch Manager, but the responsibility still lies with the customer), and Lambda runtimes are fully managed by AWS.
  • Option D is incorrect because the Host OS (Hypervisor) is always an AWS responsibility, and the Guest OS in EC2 is always a customer responsibility.
Q11hard

A team creates a full-size test environment for one afternoon, runs its tests, and then removes it. Which advantage does this practice best illustrate?

A.

Agility, because a production-scale test environment can be created on demand and decommissioned afterwards.

B.

High availability, because testing at full scale proves the workload survives failure.

C.

Economies of scale, because the test costs less than owning the hardware.

D.

Global reach, because the environment can be built in any Region.

Show answer & explanation

Correct Answer: A

  • Agility, because a production-scale test environment can be created on demand and decommissioned afterwards.: Correct. The Well-Architected Framework gives exactly this as a design principle: in the cloud you can create a production-scale test environment on demand, complete your testing, and then decommission the resources.
  • High availability, because testing at full scale proves the workload survives failure.: Incorrect. Creating a test environment says nothing about tolerating the loss of a data centre, which is what high availability concerns.
  • Economies of scale, because the test costs less than owning the hardware.: Incorrect. The lower unit price comes from aggregated demand across customers; the practice described is about creating and removing an environment quickly.
  • Global reach, because the environment can be built in any Region.: Incorrect. Global reach is about serving customers from nearer locations, which is not what a short-lived test environment demonstrates.

Answer: A

Q12medium

A developer is building a high-performance Python application that needs to interact with Amazon S3 and Amazon DynamoDB. To meet AWS security and reliability requirements, the application must implement AWS Signature Version 4 for request signing and handle exponential backoff for retries during transient failures. What is the most efficient and standard practice for implementing this functionality?

A.

Develop a custom module using the Python requests library that manually calculates HMAC-SHA256 signatures for the Authorization header.

B.

Use the AWS SDK for Python (Boto3) to interact with services directly within the application code.

C.

Execute AWS CLI commands through Python's subprocess or os.system() modules and parse the resulting JSON string.

D.

Use the AWS Management Console to manually monitor and trigger resource actions in response to application logs.

Show answer & explanation

Correct Answer: B

The most efficient and robust way to integrate AWS services into custom code is by using the AWS Software Development Kit (SDK).

  1. Abstraction: SDKs provide language-specific libraries (like Boto3 for Python) that abstract the complexity of underlying REST APIs.
  2. Security: They automatically handle the cryptographic signing process (AWS Signature Version 4), which involves complex hashing of request data: Signature = HMAC-SHA256(SigningKey, StringToSign).
  3. Reliability: SDKs include built-in logic for automatic retries and exponential backoff, which are critical for handling transient network errors.

Option C (CLI shell calls) is inefficient due to overhead and parsing complexity. Option A (manual HTTP/HMAC) is error-prone and difficult to maintain. Option D is a manual process and cannot be integrated into automated application logic. The AWS SDK (Boto3) is the standard tool for this use case.

Q13easy

Which of the following describes the primary financial shift an organization experiences when moving from an on-premises data center to a cloud computing model?

A.

The requirement for larger up-front payments for physical server hardware and data center cooling

B.

A shift from variable operating expenses (OpEx) to higher fixed capital expenditures (CapEx)

C.

The total elimination of all operating costs through the use of one-time perpetual software licenses

D.

A shift from fixed capital expenditures (CapEx) to variable operating expenses (OpEx)

Show answer & explanation

Correct Answer: D

Moving from on-premises infrastructure to the cloud involves a transition from Capital Expenditures (CapEx) to Operating Expenditures (OpEx). In an on-premises model, organizations must invest heavily in physical hardware (servers, storage, networking) and data center facilities before they can begin operations. In contrast, cloud computing utilizes a 'pay-as-you-go' model where costs are variable and based on actual resource consumption. This shift allows businesses to avoid large up-front costs, reduce the risk of overprovisioning, and better align their spending with actual demand. Option D is the correct answer.

Q14easy

Which of the following best defines a core infrastructure management responsibility for an organization utilizing an on-premises (private cloud) deployment model?

A.

The organization is responsible for procuring, installing, and maintaining all physical hardware and facility requirements.

B.

The organization is only responsible for application code, while a third-party provider manages the underlying server hardware.

C.

The organization relies on a cloud provider to automatically scale physical capacity based on real-time demand.

D.

The organization shares physical hardware with multiple other unrelated companies to reduce maintenance costs.

Show answer & explanation

Correct Answer: A

In an on-premises (private cloud) deployment model, the organization retains full control and responsibility over its infrastructure.

  1. Physical Responsibility: Unlike public cloud models where a provider (like AWS, Azure, or Google Cloud) handles the hardware, an on-premises model requires the organization to manage the procurement, installation, and maintenance of all physical servers, storage, and networking devices.
  2. Facilities Management: The organization must also provide and pay for the physical space, electricity, cooling, and security for the data center.
  3. Manual Scaling: To increase capacity, the organization must manually purchase and install new physical hardware, which contrasts with the automated scaling found in public cloud environments.

Therefore, Option A is the correct definition of the management requirements for this model.

Q15hard

An enterprise uses AWS Organizations to manage multiple accounts. The hierarchy is structured as follows:

  1. Root: The default FullAWSAccess Service Control Policy (SCP) is attached.
  2. Production OU: A custom SCP is attached that explicitly denies all dynamodb:* actions.
  3. Web-App Account: This member account is located within the Production OU. The default FullAWSAccess SCP is also attached to this account.
  4. IAM User: An IAM user within the Web-App Account has the AdministratorAccess managed policy attached, which allows all actions (∗*).

If the IAM user attempts to execute the dynamodb:PutItem action on a table within the Web-App Account, which of the following best describes the outcome and the underlying reason?

A.

The action is allowed because the 'Allow' statement in the Root SCP and the Account-level SCP creates a 'most-permissive' path that bypasses the OU-level restriction.

B.

The action is allowed because the IAM policy provides an explicit 'Allow' statement, which takes precedence over SCPs within a member account's local evaluation context.

C.

The action is denied only if the same user attempts the action from the Management Account, as SCPs are exclusively enforced on management-level entities for global compliance.

D.

The action is denied because the SCP at the OU level acts as a guardrail that defines the maximum available permissions, and an explicit 'Deny' in an SCP overrides any 'Allow' in an IAM policy.

Show answer & explanation

Correct Answer: D

To determine the effective permissions in an AWS Organization, the policy evaluator checks both the Service Control Policies (SCPs) and the IAM Policies.

  1. SCPs as Guardrails: SCPs define the maximum permissions (the 'ceiling') for a member account. They do not grant permissions; they filter them.
  2. The Hierarchical Filter: For an action to be permitted, every level of the hierarchy from the Root to the Account must allow the action. If any level (Root, OU, or Account) contains an explicit Deny, that action is blocked regardless of what any other policy says.
  3. SCP vs. IAM: Even though the IAM user has AdministratorAccess (∗*), the SCP at the Production OU level denies dynamodb:*. This 'Deny' statement acts as a hard boundary that the local IAM permissions cannot exceed.
  4. Management Account Exception: It is important to note that SCPs do not affect users or roles in the Management Account; however, for all member accounts (like the Web-App Account), the SCP is absolute.

Therefore, the explicit 'Deny' at the OU level ensures the action is denied. Final Answer: D

These are 15 of 1,047 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 1,047 practice questions, study notes, and flashcards — no sign-up required.

Start free diagnostic