☁️ AWS

Free AWS Certified Security - Specialty (SCS-C03) Study Resources

Specialize in protecting AWS at enterprise scale — the cert that proves you can secure regulated, high-stakes cloud workloads. Go deep on threat detection, incident response, infrastructure security, identity and access management, data protection, and governance, with an AI tutor and specialty-level mock exams. For security engineers hardening production AWS.

980
Practice Questions
130
Study Notes
460
Flashcards
Start Studying — Free2 learners studying this hive

AWS Certified Security - Specialty (SCS-C03) Study Notes & Guides

130 AI-generated study notes covering the full AWS Certified Security - Specialty (SCS-C03) curriculum. Showing 10 complete guides below.

Curriculum Overview845 words

Curriculum Overview: Aggregating Security and Monitoring Events

Aggregate security and monitoring events

Read full article

Curriculum Overview: Aggregating Security and Monitoring Events

This curriculum provides a comprehensive pathway for mastering the aggregation of security and monitoring events within the AWS ecosystem, specifically aligned with the AWS Certified Security - Specialty (SCS-C03) exam objectives. You will learn to move beyond isolated log silos toward a unified, observable security posture.

Prerequisites

Before beginning this curriculum, learners should possess the following foundational knowledge:

  • Foundational AWS Knowledge: Familiarity with core services like Amazon EC2, Amazon S3, and Amazon VPC.
  • Identity and Access Management (IAM): Understanding of IAM roles, policies, and the principle of least privilege.
  • Basic Logging Concepts: Prior exposure to AWS CloudTrail (management events) and Amazon CloudWatch (log groups and metrics).
  • Networking Basics: Understanding of VPC Flow Logs and DNS query logging via Route 53.

Module Breakdown

ModuleTitlePrimary ServicesDifficulty
1Foundational LoggingCloudTrail, VPC Flow Logs, CloudWatchBeginner
2Event Routing & NormalizationAmazon EventBridge, AWS LambdaIntermediate
3Security Finding AggregationAWS Security Hub, Amazon GuardDutyIntermediate
4Centralized Data LakesAmazon Security Lake, Amazon AthenaAdvanced
5Automated RemediationAWS Config, EventBridge, LambdaAdvanced

Learning Objectives per Module

Module 1: Foundational Logging

  • Configure organization-wide CloudTrail trails to capture API activity across all accounts.
  • Analyze workloads to determine specific monitoring requirements based on threat models.
  • Implement VPC Flow Logs and Route 53 Resolver logs to monitor network traffic patterns.

Module 2: Event Routing & Normalization

  • Design event-driven architectures (EDA) using Amazon EventBridge to route security events to multiple targets.
  • Utilize EventBridge Pipes and Rules to transform and filter raw event data before ingestion.
  • Implement cross-account event routing to centralize security monitoring into a dedicated security account.

Module 3: Security Finding Aggregation

  • Enable and configure AWS Security Hub as the primary pane of glass for security findings.
  • Aggregating findings from Amazon GuardDuty, Amazon Macie, and Amazon Inspector into Security Hub.
  • Manage finding lifecycles, including suppression rules and workflow statuses.

Module 4: Centralized Data Lakes

  • Deploy Amazon Security Lake to automatically centralize security logs from AWS and third-party sources into the Open Cybersecurity Schema Framework (OCSF).
  • Execute complex queries using Amazon Athena to correlate events across disparate log sources.

Module 5: Automated Remediation

  • Create automation runbooks using AWS Systems Manager to respond to specific security events.
  • Develop AWS Lambda functions triggered by EventBridge to perform real-time resource containment (e.g., isolating an EC2 instance).

Visual Overview

Event Aggregation Pipeline

Loading Diagram...
Figure 1 — Mermaid diagram

Centralized Security Architecture

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Success Metrics

How to know you have mastered this curriculum:

  1. Architecture Completion: Successfully deploy a multi-account AWS Organization where all Security Hub findings from member accounts are automatically forwarded to a central administrator account.
  2. Schema Alignment: Demonstrate the ability to query logs in Amazon Security Lake that have been normalized to the OCSF format.
  3. Alert Latency: Configure a CloudWatch Alarm/EventBridge Rule that triggers a notification within 60 seconds of a high-severity GuardDuty finding.
  4. Remediation Efficacy: Build an automated response that successfully revokes an IAM user's permissions or isolates a network resource upon detection of a specific threat.

Real-World Application

Mastering event aggregation is critical for several high-stakes professional contexts:

  • Incident Response: Reduces "Mean Time to Detect" (MTTD) by providing a single source of truth for forensic evidence, allowing responders to correlate activity across different AWS services.
  • Regulatory Compliance: Meets requirements for centralized logging and long-term retention (e.g., PCI-DSS, HIPAA, SOC2) through services like Amazon Security Lake.
  • Operational Efficiency: Eliminates "alert fatigue" by using GuardDuty and Security Hub to deduplicate and prioritize the most critical security threats.
  • Security Engineering Careers: This skill set is the backbone of the Security Operations Center (SOC) Analyst and Security Engineer roles, specifically for those managing large-scale enterprise cloud environments.

[!IMPORTANT] Effective aggregation is not just about collecting everything; it is about filtering noise and ensuring that data is actionable for the security team.

Curriculum Overview842 words

Mastering AWS Authorization Analysis: Curriculum Overview

Analyze authorization failures to determine causes or effects (for example, IAM Policy Simulator, IAM Access Analyzer).

Read full article

Mastering AWS Authorization Analysis: Curriculum Overview

This curriculum provides a structured pathway for security professionals to master the identification and remediation of authorization failures within the AWS ecosystem. Focusing on the AWS Certified Security - Specialty (SCS-C03) objectives, it bridges the gap between theoretical IAM policy logic and practical troubleshooting using cloud-native tools.

Prerequisites

Before engaging with this curriculum, learners should possess a foundational understanding of the following:

  • Core IAM Concepts: Knowledge of IAM Users, Roles, Groups, and the difference between Identity-based and Resource-based policies.
  • Policy Syntax: Familiarity with JSON policy structure, specifically the Effect, Action, Resource, and Condition blocks.
  • Standard AWS Services: Experience with S3 and EC2 to understand common resource-level permissions.
  • Principle of Least Privilege: Theoretical knowledge of granting only the minimum permissions required for a task.

Module Breakdown

ModuleTitleFocus AreaDifficulty
1IAM Evaluation LogicThe hierarchy of Deny/Allow and policy types.Intermediate
2IAM Policy SimulatorTesting hypothetical permissions without risk.Beginner
3IAM Access AnalyzerIdentifying public and cross-account access.Advanced
4Access Advisor & AnalyticsUsing historical data to refine permissions.Intermediate
5Troubleshooting ScenariosReal-world lab simulations of "Access Denied."Advanced

The Authorization Flow

Understanding how AWS evaluates requests is the cornerstone of troubleshooting. The following flowchart illustrates the decision-making process within the IAM engine.

Loading Diagram...
Figure 1 — Mermaid diagram

Learning Objectives per Module

Module 1: IAM Evaluation Logic

  • Determine the outcome of policy intersections (Identity-based, Resource-based, SCPs, and Boundaries).
  • Understand why an Explicit Deny always overrides any Allow.

Module 2: IAM Policy Simulator

  • Create and run simulation traces for specific API actions against existing IAM entities.
  • Identify which specific statement in a multi-policy environment is responsible for an "Implicit Deny."

Module 3: IAM Access Analyzer

  • Configure analyzers for the entire Organization or specific Accounts.
  • Evaluate "Findings" to determine if external entities have unintended access to S3 buckets, KMS keys, or IAM roles.

Module 4: IAM Access Advisor

  • Utilize "Last Accessed" data to identify underutilized permissions.
  • Generate IAM policies based on CloudTrail activity to achieve granular least privilege.

Success Metrics

To demonstrate mastery of this curriculum, the learner must be able to:

  1. Isolate Failure Points: Within 5 minutes of an "Access Denied" error, identify whether the failure is due to an SCP, a Permission Boundary, or a missing Identity-based Allow.
  2. Pass Simulation Tests: Successfully use the IAM Policy Simulator to predict the outcome of a complex request involving 3+ overlapping policies with 100% accuracy.
  3. Automate Detection: Configure an IAM Access Analyzer finding that triggers an SNS notification when a resource is made public.
  4. Policy Refinement: Reduce a "FullAccess" policy to a scoped-down version using Access Advisor data without breaking the application's functionality.

Real-World Application

In a production environment, authorization analysis is not just about fixing bugs—it is about Risk Mitigation and Compliance.

[!IMPORTANT] Unauthorized access is a leading cause of data breaches. Mastering these tools allows you to proactively audit your perimeter.

Visualizing Policy Intersection

The diagram below represents the "Effective Permissions" zone. Only the intersection of all applicable policy types results in a successful authorization.

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Use Cases

  • Incident Response: When an application suddenly loses access to an S3 bucket, use the IAM Policy Simulator to check if a new Service Control Policy (SCP) was applied at the root of the Organization.
  • External Audit: Use IAM Access Analyzer to generate a report for auditors showing that no IAM Roles in the production account are trustable by entities outside of the corporate AWS Organization.
  • Rightsizing: During a quarterly security review, use Access Advisor to remove ec2:TerminateInstances from developer roles if the data shows the action hasn't been used in 90 days.
Curriculum Overview820 words

Curriculum Overview: Troubleshooting AWS Security Logging and Resource Configuration

Analyze the functionality, permissions, and configuration of resources (for example, Lambda function logging, Amazon API Gateway logging, health checks, Amazon CloudFront logging)

Read full article

Curriculum Overview: Troubleshooting AWS Security Logging and Resource Configuration

This curriculum focuses on Domain 1 (Detection) and Domain 2 (Incident Response) of the AWS Certified Security - Specialty (SCS-C03) exam. It covers the deep-dive analysis of how AWS resources generate logs, the permissions required for those logs to flow, and how to remediate common misconfigurations.

Prerequisites

Before starting this module, learners should possess:

  • Foundational IAM Knowledge: Understanding of IAM Roles, Trust Policies, and Service-Linked Roles.
  • CloudWatch Core Concepts: Familiarity with Log Groups, Log Streams, Retention Policies, and Metric Filters.
  • Basic AWS Networking: Understanding of VPCs, Subnets, and the flow of traffic through Elastic Load Balancers and CloudFront.
  • AWS Security Fundamentals: General awareness of the Shared Responsibility Model regarding logging.

Module Breakdown

ModuleFocus AreaDifficultyKey Services
1. The IAM FoundationIdentity-based permissions for log deliveryIntermediateIAM, CloudWatch Logs
2. Serverless LoggingLambda and API Gateway logging mechanicsIntermediateLambda, API Gateway
3. Edge & Network LoggingCloudFront, WAF, and Route 53 Resolver logsAdvancedCloudFront, WAF, Route 53
4. Troubleshooting LabIdentifying and fixing "Missing Log" scenariosAdvancedCloudWatch Agent, Systems Manager

Learning Objectives per Module

Module 1: The IAM Foundation

  • Analyze the Trust Relationships required for services like API Gateway to assume the cloudwatch.amazonaws.com role.
  • Configure resource-based policies for S3 buckets to accept logs from ELB and CloudFront.

Module 2: Serverless & App Logging

  • Differentiate between API Gateway Execution Logs (detailed) and Access Logs (customizable).
  • Validate Lambda execution role permissions (logs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents).

Module 3: Edge & Network Visibility

  • Determine the correct destination for CloudFront Standard Logs (S3) vs. Real-time Logs (Kinesis Data Streams).
  • Troubleshoot Route 53 Resolver Query Logging and VPC Flow Log delivery failures.

Module 4: Advanced Remediation

  • Diagnose CloudWatch Agent issues using configuration-validation.log.
  • Implement automated remediation for non-compliant logging using AWS Config and Systems Manager Automation.

Visual Overview

The Logging Permission Flow

Loading Diagram...
Figure 1 — Mermaid diagram

Resource Configuration Logic

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Success Metrics

You have mastered this curriculum when you can:

  1. Identify why logs are missing: Determine if the issue is a missing IAM permission, a service-side configuration toggle, or a destination resource policy (e.g., S3 Bucket Policy).
  2. Read Log Metadata: Successfully use CloudWatch Logs Insights to parse and query logs from at least three different AWS services.
  3. Perform Root Cause Analysis: Use Amazon Detective or CloudTrail to identify the specific API call that failed, resulting in a logging gap.
  4. Configure Multi-Destination Logging: Setup a single resource (like VPC Flow Logs) to deliver to both S3 and CloudWatch Logs simultaneously.

Real-World Application

[!IMPORTANT] In a production environment, "blind spots" in logging are a massive security risk. If an attacker compromises a Lambda function and deletes the logs or if permissions were never set, your Incident Response team will have no forensic trail.

  • Forensics: During a breach, these logs provide the "who, what, and when" necessary for legal and compliance reporting.
  • Cost Management: Troubleshooting logging configurations also involves managing costs (e.g., choosing what to log in API Gateway to avoid massive CloudWatch bills).
  • Audit Compliance: Maintaining continuous logging for services like CloudFront and Route 53 is a requirement for many frameworks (SOC2, PCI-DSS, HIPAA).

Appendix: Service Comparison Table

ServicePrimary Log TargetPermission Type
LambdaCloudWatch LogsIAM Execution Role
API GatewayCloudWatch LogsAccount-level IAM Role ARN
CloudFrontS3 BucketS3 Bucket Policy (ACLs for older)
Route 53CloudWatch/S3/KinesisService-Linked Role
VPC Flow LogsCloudWatch/S3IAM Role or Resource Policy
Curriculum Overview745 words

Curriculum Overview: Analyzing Workload Monitoring Requirements

Analyze workloads to determine monitoring requirements

Read full article

Curriculum Overview: Analyzing Workload Monitoring Requirements

This curriculum is designed to equip security professionals with the skills to evaluate AWS workloads, identify critical telemetry points, and design robust monitoring strategies that align with the AWS Certified Security - Specialty (SCS-C03) objectives.

Prerequisites

To succeed in this curriculum, learners should possess the following foundational knowledge:

  • AWS Core Services: Proficiency in managing EC2, S3, VPC, and IAM.
  • Cloud Security Fundamentals: Understanding of the Shared Responsibility Model and the Principle of Least Privilege (PoLP).
  • JSON/YAML Syntax: Ability to read and modify AWS policy documents and CloudFormation templates.
  • Basic Networking: Familiarity with IP addressing, subnets, and the OSI model (specifically Layers 3, 4, and 7).
  • Recommended Certification: AWS Certified Solutions Architect – Associate or equivalent 1-year hands-on experience.

Module Breakdown

ModuleTopicDifficultyFocus Area
1Workload ProfilingIntermediateIdentifying sensitive data & critical paths
2Telemetry SourcesIntermediateCloudTrail, VPC Flow Logs, and Route 53
3Metrics & ThresholdsAdvancedCloudWatch Alarms & Custom Metric Filters
4Automated IntelligenceAdvancedGuardDuty, Macie, and Security Hub findings
5Compliance & GovernanceIntermediateAWS Config & Conformance Packs

Learning Objectives per Module

Module 1: Workload Profiling

  • Determine the "blast radius" of specific application components.
  • Categorize workloads based on data sensitivity (e.g., PII vs. public data).

Module 2: Telemetry Sources & Logging

  • Select appropriate log sources based on threat models (e.g., using VPC Flow Logs for network lateral movement detection).
  • Design log aggregation strategies for multi-account environments using Amazon Security Lake.

Module 3: Metrics & Thresholds

  • Configure Amazon CloudWatch dashboards to visualize resource health.
  • Establish baseline performance behavior to detect anomalous spikes indicative of DDoS or unauthorized access.

Module 4: Automated Intelligence

  • Integrate Amazon GuardDuty for intelligent threat detection (e.g., crypto-mining or unusual API calls).
  • Utilize Amazon Macie to discover and protect sensitive data in S3 buckets.

Module 5: Compliance Monitoring

  • Deploy AWS Config rules to monitor resource configuration changes in real-time.
  • Use Security Hub to aggregate findings and benchmark against CIS Foundations.

Visual Anchors

Monitoring Data Flow

This diagram illustrates how workload data is transformed into actionable intelligence.

Loading Diagram...
Figure 1 — Mermaid diagram

Logic for Choosing Monitoring Tools

Loading Diagram...
Figure 2 — Mermaid diagram

Success Metrics

Learners will have mastered this curriculum when they can:

  1. Identify Missing Logs: Given a hypothetical security breach, identify which log source (e.g., DNS logs vs. CloudTrail) would have provided the necessary forensic evidence.
  2. Dashboard Creation: Successfully build a CloudWatch Dashboard that tracks 4xx/5xx errors, unauthorized API attempts, and CPU utilization across a fleet.
  3. Alert Precision: Configure an alert that triggers on a "Security Group Change" event within 60 seconds of the occurrence.
  4. Cost Optimization: Explain the trade-offs between CloudWatch Logs "Standard" vs. "Infrequent Access" classes for long-term retention.

Real-World Application

[!IMPORTANT] Monitoring is not just about "looking for problems"; it is about ensuring business continuity and regulatory compliance.

  • Financial Services: Use CloudTrail and AWS Config to maintain a continuous audit trail for PCI-DSS compliance, ensuring no unauthorized changes are made to the cardholder data environment.
  • E-Commerce: Set up CloudWatch Metric Filters to detect an unusual volume of failed login attempts, triggering an automated Lambda function to update WAF IP sets and block the potential brute-force attack.
  • Healthcare: Implement Amazon Macie to scan historical data backups, ensuring no HIPAA-regulated data is stored in unencrypted S3 buckets.

[!TIP] Always start with the Threat Model. Don't monitor everything; monitor the things that represent the highest risk to your specific workload.

Curriculum Overview820 words

Curriculum Overview: Authorizing Compute Workloads via IAM Roles

Apply instance profiles, service roles, and execution roles appropriately to authorize compute workloads

Read full article

Curriculum Overview: Authorizing Compute Workloads

This curriculum is designed for security professionals aiming for the AWS Certified Security - Specialty (SCS-C03). It focuses on the secure authorization of compute workloads, specifically addressing Skill 3.2.2: Applying instance profiles, service roles, and execution roles appropriately.

Prerequisites

Before starting this curriculum, learners should have a solid foundation in the following areas:

  • IAM Fundamentals: Understanding of IAM users, groups, and the structure of JSON policy documents (Allow/Deny, Resource, Action, Condition).
  • Compute Basics: General familiarity with Amazon EC2 (instances), AWS Lambda (functions), and container concepts (ECS/EKS).
  • Security Principles: Knowledge of the Principle of Least Privilege and the risks associated with long-term access keys.
  • AWS CLI/SDK: Basic ability to interact with AWS services via terminal or programmatic interfaces.

Module Breakdown

ModuleTopicLevelFocus Area
1Workload Identity FoundationsIntroductoryIAM Roles vs. Users, Trust Policies, STS
2EC2 Instance ProfilesIntermediateAttaching roles to EC2, Instance Metadata Service (IMDS)
3Lambda Execution RolesIntermediateGranting permissions to serverless functions, Logging (CloudWatch)
4Service & Container RolesAdvancedECS Task Roles vs. Execution Roles, Service-Linked Roles
5Identity for Hybrid WorkloadsAdvancedIAM Roles Anywhere, Trusting External PKI

Learning Objectives per Module

Module 1: Workload Identity Foundations

  • Explain the mechanism of AWS Security Token Service (STS) in issuing temporary credentials.
  • Differentiate between an Identity Policy and a Trust Policy.
  • Construct a trust policy that allows a specific service (e.g., ec2.amazonaws.com) to assume a role.

Module 2: EC2 Instance Profiles

  • Define the relationship between an IAM Role and an Instance Profile.
  • Configure an EC2 instance to access S3 or SQS without hardcoded credentials.
  • Implement and troubleshoot Instance Metadata Service Version 2 (IMDSv2) for session-oriented security.

Module 3: Lambda Execution Roles

  • Create an Execution Role that allows Lambda to write to CloudWatch Logs and access VPC resources.
  • Apply resource-based policies to allow cross-account Lambda triggers.

Module 4: Service & Container Roles

  • Distinguish between a Task Role (permissions for the application) and an Execution Role (permissions for the Fargate/ECS agent).
  • Identify when to use Service-Linked Roles for automated service interactions.

Module 5: Identity for Hybrid Workloads

  • Configure IAM Roles Anywhere to provide AWS credentials to on-premises servers using X.509 certificates.
  • Audit authorization failures using IAM Access Analyzer and CloudTrail.

Visual Anchors

Authorization Flow for EC2

Loading Diagram...
Figure 1 — Mermaid diagram

Logical Trust Relationship

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Success Metrics

  • Conceptual Mastery: Ability to explain why instance profiles are used for EC2 but not for Lambda.
  • Practical Application: Successful deployment of a compute workload that can interact with S3 without any AWS_ACCESS_KEY_ID present in the environment or code.
  • Troubleshooting: Identifying a 403 Forbidden error as a missing Trust Policy vs. a missing Identity Policy using the IAM Policy Simulator.
  • SCS-C03 Readiness: Scoring 80%+ on practice questions specifically targeting Domain 3 (Infrastructure Security) and Domain 4 (IAM).

Real-World Application

In a production environment, authorizing compute workloads correctly is the primary defense against credential leakage. By using instance profiles and execution roles:

  • Security Compliance: Organizations meet PCI-DSS and SOC2 requirements by avoiding long-term secret storage on disk.
  • Automation: Auto-scaling groups can launch thousands of instances that are "born" with the correct permissions, requiring no manual key rotation.
  • Blast Radius Reduction: By using specific roles for specific microservices, a compromise of one container does not grant access to the entire AWS environment.

[!IMPORTANT] Always prioritize IMDSv2 on EC2 instances to prevent SSRF (Server-Side Request Forgery) attacks from stealing temporary credentials.

Curriculum Overview865 words

Forensic Log Management: Capture and Storage Strategy

Capture and store relevant system and application logs as forensic artifacts

Read full article

Forensic Log Management: Capture and Storage Strategy

This curriculum overview covers the essential skills required to capture, centralize, and protect system and application logs as immutable forensic artifacts within an AWS environment, specifically aligned with the AWS Certified Security – Specialty (SCS-C03) objectives.

Prerequisites

Before beginning this module, learners should have a solid foundation in the following areas:

  • AWS Identity and Access Management (IAM): Understanding of the Principle of Least Privilege (PoLP) and resource-based policies.
  • Amazon S3 Fundamentals: Knowledge of bucket policies, versioning, and lifecycle configurations.
  • Cloud Security Concepts: Basic understanding of the shared responsibility model and the incident response lifecycle.
  • Basic CLI Proficiency: Ability to execute commands using the AWS Command Line Interface (CLI).

Module Breakdown

ModuleTopicComplexityFocus Area
1Log Source IdentificationBeginnerIdentifying CloudTrail, VPC Flow Logs, and App logs.
2Centralized Logging ArchitectureIntermediateDesigning cross-account log aggregation into a Forensic Account.
3Integrity & ImmutabilityAdvancedImplementing Log File Validation, S3 Object Lock, and KMS encryption.
4Forensic Analytics ReadinessIntermediateUtilizing CloudTrail Lake and Athena for rapid evidence search.
5Lifecycle & RetentionBeginnerTransitioning logs to S3 Glacier for long-term compliance storage.

Learning Objectives per Module

Module 1: Log Source Identification

  • Differentiate between Management Events, Data Events, and Insights Events in AWS CloudTrail.
  • Configure the CloudWatch Logs Agent (unified agent) to capture OS-level and application-level logs from EC2 instances.
  • Example: Capturing /var/log/auth.log from a Linux instance to track failed SSH attempts during a suspected brute-force attack.

Module 2: Centralized Logging Architecture

  • Design a hub-and-spoke logging model where member accounts push logs to a dedicated Security/Forensic AWS Account.
  • Utilize AWS Organizations to enforce organizational trails that cannot be disabled by local account administrators.
Loading Diagram...
Figure 1 — Mermaid diagram

Module 3: Integrity & Immutability

  • Implement Log File Validation to generate SHA-256 hashes for every log file delivered by CloudTrail.
  • Apply S3 Object Lock in compliance mode to prevent even the root user from deleting logs during a mandatory retention period.
  • Example: A forensic investigator uses the aws cloudtrail validate-logs command to prove that evidence has not been tampered with since its creation.

Module 4: Forensic Analytics Readiness

  • Deploy CloudTrail Lake to store and query logs for up to 10 years using standard SQL without managing separate S3 buckets or ETL pipelines.
  • Use Amazon Athena to query raw logs stored in S3 for specific patterns like unauthorized API calls from a known malicious IP.

Module 5: Lifecycle & Retention

  • Define S3 Lifecycle Policies to transition forensic artifacts from S3 Standard to S3 Glacier Deep Archive after 90 days to minimize costs.
  • Establish automated deletion rules that align with regulatory requirements (e.g., 7-year retention for financial data).

Success Metrics

To demonstrate mastery of this curriculum, the learner must successfully complete the following:

  1. Immutability Verification: Successfully configure an S3 bucket with Object Lock and verify that a "DeleteObject" request fails.
  2. Cross-Account Delivery: Demonstrate logs appearing in the centralized forensic account bucket within 15 minutes of an action occurring in a member account.
  3. Integrity Check: Execute a CLI-based integrity check on a trail and receive a Valid status output.
  4. SQL Query Proficiency: Write a CloudTrail Lake or Athena query that identifies the specific IAM user responsible for a "StopInstances" API call within a specific timeframe.

Real-World Application

[!IMPORTANT] In a real-world forensic investigation, the "Chain of Custody" begins at the moment a log is generated. If logs are stored in the same account where a breach occurred, the attacker may delete the evidence to cover their tracks.

  • Legal Compliance: In regulated industries (Finance, Healthcare), failing to provide immutable logs during an audit can result in multi-million dollar fines.
  • Root Cause Analysis: During a post-mortem of a security incident, centralized logs allow investigators to correlate events across multiple services (e.g., matching a WAF block to a VPC Flow Log rejection and a CloudTrail "AccessDenied" error).
  • Incident Recovery: Using automated forensic orchestrators to snapshot EBS volumes and capture volatile memory logs based on GuardDuty alerts.
Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

[!TIP] Always use KMS Customer Managed Keys (CMK) for encrypting logs. This allows you to revoke the key's permissions separately from S3 bucket permissions, adding an extra layer of protection against data exfiltration.

Curriculum Overview845 words

Mastering Centralized Security Management: Delegated Administration in AWS Organizations

Centrally manage security services (for example, delegated administrator accounts).

Read full article

Mastering Centralized Security Management: Delegated Administration

This curriculum provides a deep dive into the strategies and technical implementations required to manage security services across a multi-account AWS environment. Centered on the AWS Certified Security - Specialty exam domains, this overview focuses on the transition from management-account-heavy operations to a scalable, secure, and delegated administration model.

[!IMPORTANT] A management account should be reserved for billing and organization-level changes only. Delegated administration is the primary mechanism to enforce the Principle of Least Privilege by moving security operations to dedicated member accounts.


Prerequisites

Before beginning this curriculum, learners should have a foundational understanding of the following:

  • AWS Organizations: Familiarity with the hierarchical structure of Organizations, Organizational Units (OUs), and Management vs. Member accounts.
  • IAM Fundamentals: Understanding of IAM roles, policies, and cross-account access patterns.
  • Basic Security Services: Initial exposure to AWS CloudTrail, AWS Config, and Amazon GuardDuty.
  • Governance Concepts: A high-level understanding of Service Control Policies (SCPs) and how they limit maximum available permissions.

Module Breakdown

ModuleFocus AreaDifficulty
1. The Delegation FrameworkFoundations of Delegated Administration and IAM Role-linkingBeginner
2. Global VisibilityOrganization-wide CloudTrail and centralized logging strategiesIntermediate
3. Compliance & AuditingUsing AWS Config and Audit Manager in a multi-account setupIntermediate
4. Threat & VulnerabilityCentralizing Amazon GuardDuty, Inspector, and DetectiveAdvanced
5. Network DefenseCentralized management via AWS Firewall ManagerAdvanced
6. Guardrails & GovernanceImplementing SCPs and Control Tower in tandem with delegationAdvanced
7. Practice LabHands-on: Registering a Security Account as a Delegated AdminHands-on

Learning Objectives per Module

Module 1: The Delegation Framework

  • Define the role of a Delegated Administrator and explain why it reduces risk in the management account.
  • Register a member account as an administrator for specific security services.
  • Identify services that support delegation (e.g., IAM Identity Center, Account Management).

Module 2: Global Visibility (Logging)

  • Configure an Organization Trail in AWS CloudTrail from a delegated administrator account.
  • Understand the flow of logs from member accounts to a centralized S3 bucket in a Security Account.

Module 3: Compliance & Auditing

  • Enable AWS Config across the organization to aggregate configuration and compliance data.
  • Use AWS Audit Manager to automate evidence collection for regulatory frameworks (SOC2, HIPAA) across all accounts.

Module 4: Threat & Vulnerability

  • Implement Amazon Inspector deep inspection to scan EC2 instances and Lambda functions organization-wide.
  • Centralize Amazon Detective investigations to analyze the root cause of security findings across member accounts.

Visual Anchors

The Delegation Model

This flowchart illustrates how the Management account offloads operational responsibility to a dedicated Security (Delegated Admin) account.

Loading Diagram...
Figure 1 — Mermaid diagram

Organizational Hierarchy & Policy Flow

This diagram demonstrates how policies and administration rights are distributed within the organization.

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Success Metrics

To demonstrate mastery of centralized security management, the learner must be able to:

  1. Reduce Management Account Footprint: Explain and demonstrate that no security tasks (other than delegation registration) are performed in the management account.
  2. Cross-Account Investigation: Successfully use Amazon Detective from the Security Account to trace a security finding originating in a Production Member Account.
  3. Aggregate Compliance: Generate a single organization-wide compliance report using AWS Config Aggregators.
  4. Enforce Guardrails: Draft and apply a Service Control Policy (SCP) that prevents member accounts from disabling CloudTrail or GuardDuty.
  5. Automated Remediation: Configure an AWS Config rule that triggers a Lambda function to remediate non-compliant resources in member accounts automatically.

Real-World Application

Why This Matters in Your Career

In modern cloud engineering, managing 100+ accounts is common. Manually configuring security in each account is impossible and prone to error. Proficiency in delegated administration allows you to:

  • Scale Security Operations: Manage security for thousands of accounts as easily as one.
  • Enforce Governance: Ensure that every new account created via the Account Factory (Control Tower) is automatically enrolled in security monitoring.
  • Limit Blast Radius: By moving security tools out of the management account, you ensure that a compromise of a security tool doesn't grant attacker access to your organization's root/billing layer.
  • Audit Readiness: Providing auditors with access to a single "Audit Account" (Delegated Admin for Audit Manager) rather than granting them access to every production environment.

[!TIP] When implementing this in production, use AWS Control Tower to automate the creation of your "Security" and "Log Archive" accounts. This ensures they are configured with best-practice guardrails from day one.

Curriculum Overview820 words

Curriculum Overview: AWS Edge and Third-Party Security Integrations

Configure integrations with AWS edge services and third-party services (for example, by ingesting data in Open Cybersecurity Schema Framework [OCSF] format, by using third-party WAF rules)

Read full article

Curriculum Overview: AWS Edge and Third-Party Security Integrations

This curriculum focuses on the advanced configuration of AWS edge security services (WAF, Shield, CloudFront) and their integration with third-party security ecosystems. A primary emphasis is placed on standardized data ingestion using the Open Cybersecurity Schema Framework (OCSF) and leveraging specialized third-party rulesets for robust defense-in-depth.

Prerequisites

Before starting this curriculum, learners should possess:

  • AWS Certified Cloud Practitioner level knowledge or equivalent experience.
  • Networking Fundamentals: Understanding of DNS, HTTP/S protocols, OSI Model Layer 7, and Content Delivery Networks (CDNs).
  • IAM Proficiency: Ability to configure IAM roles and policies for cross-service communication.
  • Security Basics: Familiarity with common web exploits (SQLi, XSS) and the OWASP Top 10 risks.

Module Breakdown

ModuleTitleDifficultyFocus Area
1Edge Protection FoundationsIntermediateWAF, CloudFront, and Shield Advanced
2Third-Party WAF EcosystemIntermediateAWS Marketplace Managed Rules & Custom Logic
3The OCSF StandardAdvancedSchema mapping and Amazon Security Lake
4Ingestion & InteroperabilityAdvancedAppFabric, Kinesis Firehose, and Third-party SIEMs

Learning Objectives per Module

Module 1: Edge Protection Foundations

  • Implement AWS WAF associations with CloudFront, API Gateway, and Application Load Balancers (ALB).
  • Configure AWS Shield Advanced to protect against sophisticated Layer 3/4 and Layer 7 DDoS attacks.
  • Utilize CloudFront headers to enforce security at the edge (e.g., Geo-blocking, Referrer checks).

Module 2: Third-Party WAF Ecosystem

  • Deploy Managed Rule Groups from the AWS Marketplace (e.g., F5, Fortinet, Imperva).
  • Analyze the trade-offs between AWS Managed Rules and third-party vendor rulesets.
  • Troubleshoot rule conflicts and false positives using WAF logs and Amazon Athena.

Module 3: The OCSF Standard

  • Define the structure of the Open Cybersecurity Schema Framework (OCSF) and its event classes.
  • Understand the role of Amazon Security Lake in centralizing security data from diverse sources.
  • Map native AWS service logs (VPC Flow Logs, CloudTrail) to OCSF categories.

Module 4: Ingestion & Interoperability

  • Configure Custom Sources for Security Lake using Kinesis Data Firehose to transform logs into Parquet format.
  • Utilize AWS AppFabric to connect SaaS applications (like Slack or Zoom) to security monitoring pipelines.
  • Establish Subscriber access for third-party SIEM tools (e.g., Splunk, Datadog) to query OCSF data via Amazon Athena.

Visual Anchors

Data Ingestion Flow to Security Lake (OCSF)

Loading Diagram...
Figure 1 — Mermaid diagram

Edge Security Stack Architecture

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Success Metrics

Learners have mastered this curriculum when they can:

  1. Deploy a Multi-Layered WAF: Successfully associate a Web ACL containing both AWS Managed Rules and at least one Third-Party Marketplace rule group.
  2. Verify OCSF Compliance: Confirm that data from a custom source is correctly partitioned and queryable in Amazon Security Lake using the OCSF event class schema.
  3. Automate Response: Configure an EventBridge rule that triggers a Lambda function in response to a specific Third-Party WAF rule finding.
  4. Cost Optimization: Explain the cost implications of Shield Advanced vs. Standard and the storage savings of using Parquet format in Security Lake.

Real-World Application

  • Regulatory Compliance: Using OCSF and Security Lake allows organizations to meet strict audit requirements by having a centralized, immutable, and standardized log repository.
  • Security Operations Center (SOC) Efficiency: By standardizing data into OCSF, SOC analysts can use the same queries across different security vendors, reducing the "swivel-chair" effect between multiple consoles.
  • Modernizing Defense: Integrating third-party WAF rules allows specialized industries (e.g., Finance, Healthcare) to benefit from vendor-researched protections against niche vulnerabilities that standard rules might miss.
Curriculum Overview865 words

Curriculum Overview: AWS Logging and Monitoring Solutions

Configure logging for AWS services and applications (for example, by configuring an AWS CloudTrail trail for an organization, by creating a dedicated Amazon CloudWatch logging account, by configuring the Amazon CloudWatch Logs agent)

Read full article

Curriculum Overview: AWS Logging and Monitoring Solutions

This curriculum provides a comprehensive roadmap for mastering the design, implementation, and troubleshooting of logging strategies within the AWS ecosystem, specifically aligned with the AWS Certified Security - Specialty (SCS-C03) requirements.

Prerequisites

Before engaging with this curriculum, students should possess the following foundational knowledge:

  • AWS Fundamentals: Basic understanding of core services (EC2, S3, IAM, VPC).
  • Identity and Access Management (IAM): Proficiency in creating IAM roles, policies, and understanding trust relationships.
  • Command Line Interface (CLI): Comfort using the terminal and the AWS CLI for resource management.
  • JSON Structure: Ability to read and modify JSON files, as these are used for CloudWatch Agent configurations and IAM policies.
  • Networking Basics: Understanding of VPC components, subnets, and routing (required for VPC Flow Logs).

Module Breakdown

ModuleTitleFocus AreaDifficulty
1AWS CloudTrail StrategyGovernance, API Auditing, Organization TrailsBeginner
2CloudWatch Logs CoreLog Groups, Retention, Encryption, Log ClassesIntermediate
3The Unified Logging AgentEC2/On-Prem Ingestion, SSM IntegrationIntermediate
4Log Analysis & InsightsCloudWatch Insights, Athena, Security LakeAdvanced
5Centralized Logging ArchitectureCross-account aggregation, Dedicated logging accountsAdvanced

Learning Objectives per Module

Module 1: AWS CloudTrail Strategy

  • Configure Organization Trails to capture API activity across all accounts in an AWS Organization.
  • Differentiate between management events, data events, and insights events.
  • Implement log file integrity validation to ensure audit trails are not tampered with.

Module 2: CloudWatch Logs Core

  • Design a hierarchical log structure using Log Groups and Log Streams.
  • Configure data protection policies to mask sensitive information (PII) within logs.
  • Manage log lifecycles using retention settings and KMS encryption for compliance.

Module 3: The Unified Logging Agent

  • Deploy the Unified CloudWatch Agent using AWS Systems Manager (SSM) for automated installation.
  • Create and manage agent configuration files to capture system-level logs and custom application traces.
  • Troubleshoot agent connectivity using the amazon-cloudwatch-agent-ctl utility.

Module 4: Log Analysis & Insights

  • Perform high-speed log analysis using CloudWatch Logs Insights query syntax.
  • Integrate logs with Amazon Security Lake to create a centralized security data lake.
  • Use Amazon Athena to run SQL-like queries against S3-stored logs for deep forensics.

Module 5: Centralized Logging Architecture

  • Implement a Dedicated Logging Account pattern to isolate security telemetry from production workloads.
  • Configure cross-account log destination permissions to allow member accounts to stream data centrally.
  • Set up real-time alerting using Metric Filters and Amazon SNS.

Visual Anchors

Centralized Logging Architecture

This diagram illustrates how logs from multiple accounts are aggregated into a centralized security account for analysis.

Loading Diagram...
Figure 1 — Mermaid diagram

Log Structure Hierarchy

Understanding the relationship between events, streams, and groups is critical for efficient querying.

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 2 — TikZ diagram

Success Metrics

You will have mastered this curriculum when you can:

  1. Deploy a multi-account CloudTrail that centralizes all logs into a single encrypted S3 bucket in a secondary region.
  2. Author a CloudWatch Agent JSON config that successfully streams /var/log/secure and custom application logs from an EC2 fleet.
  3. Execute a Logs Insights query that identifies the top 10 IP addresses causing 403 Access Denied errors in your environment within the last hour.
  4. Configure a KMS CMK with a policy that allows the CloudWatch Logs service to encrypt/decrypt log data without granting excessive permissions to users.

Real-World Application

In a professional environment, these skills are fundamental to the Security Operations Center (SOC) and DevSecOps roles.

[!IMPORTANT] Without centralized logging, an incident response team is effectively "blind." A compromised account could have its local logs deleted; however, an immutable organization-level trail ensures that forensic evidence remains available for root cause analysis.

  • Incident Response: Using CloudTrail and VPC Flow Logs to trace the lateral movement of an attacker after an initial credential compromise.
  • Compliance: Meeting PCI-DSS or HIPAA requirements for 7-year log retention and auditability.
  • Operational Excellence: Reducing Mean Time to Repair (MTTR) by creating CloudWatch Dashboards that correlate application errors with infrastructure metrics.
Curriculum Overview680 words

Curriculum Overview: Temporary Credential Mechanisms in AWS

Configure mechanisms to issue temporary credentials (for example, AWS Security Token Service [AWS STS], Amazon S3 presigned URLs).

Read full article

Curriculum Overview: Temporary Credential Mechanisms

This curriculum covers the design and implementation of temporary security credentials within AWS, focusing on AWS Security Token Service (STS) and Amazon S3 Presigned URLs. These mechanisms are critical for adhering to the principle of least privilege and reducing the blast radius of potential credential compromises.

Prerequisites

Before starting this module, students should have a firm grasp of the following:

  • IAM Fundamentals: Understanding of IAM Users, Groups, and Roles.
  • Resource-Based Policies: Basic knowledge of S3 Bucket Policies.
  • AWS CLI: Ability to execute basic commands and configure local profiles.
  • Identity Basics: Familiarity with the difference between authentication (who you are) and authorization (what you can do).

Module Breakdown

ModuleFocus AreaDifficulty
1. STS EssentialsComponents of temporary credentials (Access Key, Secret Key, Session Token).Intermediate
2. Cross-Account AccessConfiguring trust policies and assuming roles across AWS accounts.Intermediate
3. S3 Presigned URLsGenerating time-limited URLs for object access via CLI and Console.Beginner
4. Identity FederationExchanging SAML 2.0 and OIDC tokens for AWS temporary credentials.Advanced

Learning Objectives per Module

Module 1: AWS STS Fundamentals

  • Define the structure of temporary credentials and explain why a Session Token is required alongside the Access Key and Secret Key.
  • Configure credential expiration intervals (ranging from 15 minutes to 12 hours).

Module 2: Cross-Account & Service Roles

  • Create a Trust Policy that allows an external entity or service to perform the sts:AssumeRole action.
  • Implement service roles for EC2 or Lambda to eliminate the need for long-term access keys.

Module 3: Amazon S3 Presigned URLs

  • Generate a presigned URL using the AWS CLI: aws s3 presign s3://bucket/key --expires-in <seconds>.
  • Differentiate between expiration limits: Up to 7 days via CLI/SDK vs. 12 hours via the AWS Management Console.

Module 4: Federation and Web Identity

  • Explain the flow of exchanging external IdP (Active Directory, Okta, Google) tokens for STS credentials.
  • Understand the role of Amazon Cognito in social identity federation for mobile/web applications.

Visual Overview

The STS Credential Request Flow

Loading Diagram...
Figure 1 — Mermaid diagram

Expiration Limits Comparison

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:

  1. Generate and Validate: Successfully generate an S3 presigned URL and confirm it works for a user without AWS credentials.
  2. Cross-Account Configuration: Set up a role in Account B that can be assumed by a user in Account A, confirming successful credential exchange via sts:AssumeRole.
  3. Troubleshooting: Identify why an STS session might fail (e.g., maximum session duration exceeded or invalid trust policy).
  4. CLI Proficiency: Correctly use the --expires-in parameter to set custom timeouts for temporary access.

Real-World Application

  • Secure Content Delivery: Providing temporary access to a private video file in S3 to a premium subscriber without making the bucket public.
  • Corporate SSO: Allowing employees to log into the AWS Management Console using their existing corporate Windows credentials (Active Directory).
  • Mobile Apps: Enabling a mobile photo-sharing app to upload directly to S3 using Amazon Cognito to trade a Facebook or Google login for temporary AWS permissions.

[!IMPORTANT] Temporary credentials are not just a "best practice"—they are a requirement for passing the AWS Certified Security Specialty exam. Always favor IAM Roles over IAM Users with long-term keys.

More Study Notes (120)

Secure Administrative Access to Compute Resources: Curriculum Overview

Configure secure administrative access to compute resources (for example, Systems Manager Session Manager, EC2 Instance Connect)

785 words

CI/CD Pipeline Security: Vulnerability Discovery & Remediation Strategy

Configure security tools to discover and remediate vulnerabilities within a pipeline (for example, Amazon Q Developer, Amazon CodeGuru Security)

845 words

Mastering Automated Security Assessments and Investigations on AWS

Create and manage automations to perform regular assessments and investigations (for example, by deploying AWS Config conformance packs, Security Hub, AWS Systems Manager State Manager)

820 words

Curriculum Overview: Multi-Region Key and Certificate Management

Create and manage encryption keys and certificates across a single AWS Region or multiple Regions (for example, AWS KMS customer managed AWS KMS keys, AWS Private Certificate Authority).

785 words

Curriculum Overview: Advanced AWS Security Detection & Anomaly Monitoring

Create metrics, alerts, and dashboards to detect anomalous data and events (for example, Amazon GuardDuty, Amazon Security Lake, AWS Security Hub, Amazon Macie)

845 words

AWS Security Specialty: Automated Compliance & Remediation Curriculum

Create or enable rules to detect and remediate noncompliant AWS resources and to send notifications (for example, by using AWS Config to aggregate alerts and remediate non-compliant resources, Security Hub).

780 words

Curriculum Overview: AWS Edge Security Strategies

Define and select edge security strategies based on anticipated threats and attacks

820 words

AWS Organizations: Multi-Account Strategy & Governance

Deploy and configure organizations by using AWS Organizations.

685 words

Centralized Security Governance: Policy Deployment and Enforcement

Deploy and enforce policies and configurations from a central source (for example, AWS Firewall Manager).

750 words

Curriculum Overview: Automated Patching and Continuous Vulnerability Management

Deploy patches across compute resources to maintain secure and compliant environments by automating update processes and by integrating continuous validation (for example, Systems Manager Patch Manager, Amazon Inspector)

845 words

Mastering Root Cause Analysis in AWS: Amazon Detective & IR Frameworks

Describe methods to conduct root cause analysis (for example, Amazon Detective)

845 words

AWS KMS: AWS-Generated vs. Imported Key Material

Describe the differences between imported key material and AWS generated key material.

780 words

Curriculum Overview: Inter-Resource Encryption in Transit

Design and configure inter-resource encryption in transit (for example, inter-node encryption configurations for Amazon EMR, Amazon Elastic Kubernetes Service [Amazon EKS], SageMaker AI, Nitro encryption).

782 words

Curriculum Overview: Designing Secure and Private Access to AWS Resources

Design and configure mechanisms for secure and private access to resources (for example, AWS PrivateLink, VPC endpoints, AWS Client VPN, AWS Verified Access).

820 words

Curriculum Overview: Protecting Data Integrity

Design and configure mechanisms to protect data integrity (for example, S3 Object Lock, S3 Glacier Vault Lock, versioning, digital code signing, file validation).

680 words

AWS Data Protection: Enforcing Encryption in Transit for Resources

Design and configure mechanisms to require encryption when connecting to connect to resources (for example, by configuring Elastic Load Balancing [ELB] security policies, by enforcing TLS configurations).

680 words

Curriculum Overview: Secure Data Replication & Backup Solutions

Design and configure secure data replication and backup solutions (for example, Amazon Data Lifecycle Manager, AWS Backup, ransomware protection, AWS DataSync).

820 words

Curriculum Guide: AWS Identity and Authentication Solutions

Design and establish identity solutions for human, application, and system authentication (for example, AWS IAM Identity Center, Amazon Cognito, multi-factor authentication [MFA], identity provider [IdP] integration).

925 words

Curriculum Guide: Advanced AWS Authorization & Access Controls

Design and evaluate authorization controls for human, application, and system access (for example, Amazon Verified Permissions, IAM paths, IAM Roles Anywhere, resource policies for cross-account access, IAM role trust policies).

825 words

Curriculum Overview: AWS Edge Controls and Rules

Design and implement AWS edge controls and rules based on requirements (for example, geography, geolocation, rate limiting, client fingerprinting)

845 words

AWS Certified Security Specialty: Data at Rest Controls Cram Sheet

Design and implement controls for data at rest

865 words

Curriculum Overview: Designing and Implementing Controls for Data at Rest

Design and implement controls for data at rest

785 words

Lab: Implementing Secure Data at Rest Controls with AWS KMS and S3

Design and implement controls for data at rest

845 words

AWS Security: Designing Controls for Data in Transit

Design and implement controls for data in transit

680 words

Exam Cram: Data in Transit Controls (AWS Security Specialty)

Design and implement controls for data in transit

850 words

Lab: Design and Implement Data in Transit Controls on AWS

Design and implement controls for data in transit

1,050 words

AWS Security Specialty Cram Sheet: Protecting Secrets and Keys

Design and implement controls to protect confidential data, credentials, secrets, and cryptographic key materials

850 words

Curriculum Overview: Protecting Confidential Data, Credentials, and Secrets

Design and implement controls to protect confidential data, credentials, secrets, and cryptographic key materials

785 words

Lab: Securing Confidential Data with AWS KMS and Secrets Manager

Design and implement controls to protect confidential data, credentials, secrets, and cryptographic key materials

850 words

Curriculum Overview: Hardening Compute Workloads with AWS EC2 Image Builder

Design and implement hardened Amazon EC2 AMIs and container images to secure compute workloads and embed security controls (for example, Systems Manager, EC2 Image Builder)

820 words

AWS Certified Security - Specialty: Logging Solutions Cram Sheet

Design and implement logging solutions

925 words

Curriculum Overview: Designing and Implementing AWS Logging Solutions

Design and implement logging solutions

845 words

Lab: Designing and Implementing a Centralized Logging Solution on AWS

Design and implement logging solutions

845 words

AWS SCS-C03 Exam Cram: Monitoring & Alerting Solutions

Design and implement monitoring and alerting solutions for an AWS account or organization

840 words

AWS Security Detection: Monitoring and Alerting Curriculum Overview

Design and implement monitoring and alerting solutions for an AWS account or organization

750 words

Lab: Implementing Automated Security Monitoring and Alerting with Amazon GuardDuty

Design and implement monitoring and alerting solutions for an AWS account or organization

842 words

AWS Certified Security: Incident Response and Runbook Design

Design and implement response plans and runbooks to respond to security incidents (for example, Systems Manager OpsCenter, Amazon SageMaker AI notebooks)

820 words

Curriculum Overview: AWS Workload Monitoring and Health Strategy

Design and implement workload monitoring strategies (for example, by configuring resource health checks)

645 words

Curriculum Overview: Designing and Testing Incident Response Plans in AWS

Design and test an incident response plan

872 words

Exam Cram: Designing and Testing an AWS Incident Response Plan (SCS-C03)

Design and test an incident response plan

820 words

Lab: Designing and Testing an Automated Incident Response Plan

Design and test an incident response plan

820 words

AWS Network Security Controls: Curriculum Overview

Design and troubleshoot appropriate network controls to permit or prevent network traffic as required (for example, security groups, network ACLs, AWS Network Firewall)

782 words

AWS Certified Security Specialty: Network Security Controls Cram Sheet

Design and troubleshoot network security controls

875 words

Curriculum Overview: Designing and Troubleshooting Network Security Controls

Design and troubleshoot network security controls

820 words

Lab: Designing and Troubleshooting Network Security Controls on AWS

Design and troubleshoot network security controls

924 words

Curriculum Overview: Designing ABAC and RBAC Strategies for AWS

Design attribute-based access control (ABAC) and role-based access control (RBAC) strategies (for example, by configuring resource access based on tags or attributes).

845 words

Data Lifecycle Management & Retention Strategy: AWS Security Overview

Design automatic lifecycle management and retention solutions for data (for example, S3 Lifecycle policies, S3 Object Lock, Amazon Elastic File System [Amazon EFS] Lifecycle policies, Amazon FSx for Lustre backup policies).

780 words

Curriculum Overview: AWS Data Encryption at Rest

Design, implement, and configure data encryption at rest based on specific requirements (for example, by selecting the appropriate encryption key service such as AWS CloudHSM or AWS Key Management Service [AWS KMS] or by selecting the appropriate encryption type such as client-side encryption or server-side encryption).

685 words

AWS Security Specialty Cram Sheet: Authentication Strategies (Task 4.1)

Design, implement, and troubleshoot authentication strategies

925 words

Curriculum Overview: AWS Authentication Strategies (SCS-C03)

Design, implement, and troubleshoot authentication strategies

750 words

Lab: Designing and Troubleshooting AWS Authentication Strategies

Design, implement, and troubleshoot authentication strategies

845 words

Curriculum Overview: AWS Authorization Strategies (SCS-C03)

Design, implement, and troubleshoot authorization strategies

782 words

Exam Cram: AWS Authorization Strategies (SCS-C03)

Design, implement, and troubleshoot authorization strategies

820 words

Hands-On Lab: Implementing and Troubleshooting AWS Authorization Strategies

Design, implement, and troubleshoot authorization strategies

924 words

AWS Certified Security - Specialty (SCS-C03): Compute Workload Security Cram Sheet

Design, implement, and troubleshoot security controls for compute workloads

895 words

Curriculum Overview: Designing and Implementing Security Controls for AWS Compute Workloads

Design, implement, and troubleshoot security controls for compute workloads

685 words

Lab: Securing Compute Workloads with Amazon EC2 and Systems Manager

Design, implement, and troubleshoot security controls for compute workloads

920 words

AWS Certified Security Specialty: Network Edge Security Cram Sheet

Design, implement, and troubleshoot security controls for network edge services

860 words

Curriculum Overview: AWS Edge Security Controls (SCS-C03)

Design, implement, and troubleshoot security controls for network edge services

850 words

Lab: Securing the Network Edge with AWS WAF and CloudFront

Design, implement, and troubleshoot security controls for network edge services

820 words

Curriculum Overview: Mastering IAM Least Privilege and Policy Design

Design, interpret, and implement IAM policies by following the principle of least privilege (for example, permission boundaries, session policies).

820 words

Curriculum Overview: Management and Rotation of Credentials and Secrets

Design management and rotation of credentials and secrets (for example, AWS Secrets Manager).

845 words

AWS Certified Security: Designing Network Segmentation & Traffic Protection

Design network segmentation based on security requirements (for example, north/south and east/west traffic protections, isolated subnets)

724 words

Curriculum Overview: Secure Hybrid and Multi-Cloud Connectivity

Design secure connectivity between hybrid and multi-cloud networks (for example, AWS Site-to-Site VPN, AWS Direct Connect, MAC Security [MACsec])

785 words

Curriculum Overview: AWS Network Logging & Threat Detection

Determine and configure appropriate log sources based on network design, threats, and attacks (for example, VPC Flow Logs, transit gateway flow logs, Amazon Route 53 Resolver logs)

685 words

Curriculum Guide: Securing Hybrid Communication & AWS Verified Access

Determine and configure security workload requirements for communication between hybrid environments and AWS (for example, by using AWS Verified Access)

782 words

Curriculum Overview: Centralized AWS Account Deployment & Management

Develop a strategy to centrally deploy and manage AWS accounts

780 words

Lab: Centrally Managing AWS Accounts with Organizations and SCPs

Develop a strategy to centrally deploy and manage AWS accounts

864 words

SCS-C03 Exam Cram: Centralized Account Deployment and Management

Develop a strategy to centrally deploy and manage AWS accounts

912 words

Curriculum Overview: Evaluating Compliance of AWS Resources (SCS-C03)

Evaluate the compliance of AWS resources

820 words

Lab: Evaluating Resource Compliance with AWS Config

Evaluate the compliance of AWS resources

842 words

SCS-C03 Cram Sheet: Evaluating AWS Resource Compliance

Evaluate the compliance of AWS resources

880 words

Curriculum Overview: Log Ingestion and Storage Strategies

Identify sources for log ingestion and storage based on requirements

850 words

Curriculum Overview: Identifying and Reducing Unnecessary Network Access

Identify unnecessary network access (for example, AWS Verified Access, Network Access Analyzer, Amazon Inspector network reachability findings).

685 words

AWS Control Tower Mastery: Implementation and Governance

Implement and manage AWS Control Tower in new and existing environments, and deploy optional and custom controls.

685 words

Curriculum Overview: Implementing AWS Network Edge Protection

Implement appropriate network edge protection (for example, CloudFront headers, AWS WAF, AWS IoT policies, protecting against OWASP Top 10 threats, Amazon S3 cross-origin resource sharing [CORS], Shield Advanced)

680 words

Lab: Implementing Secure and Consistent Deployment with Infrastructure as Code

Implement a secure and consistent deployment strategy for cloud resources

845 words

SCS-C03 Exam Cram: Secure & Consistent Deployment Strategies

Implement a secure and consistent deployment strategy for cloud resources

820 words

Secure and Consistent Deployment Strategy for AWS Resources

Implement a secure and consistent deployment strategy for cloud resources

820 words

Curriculum Overview: Implementing Log Storage and Security Data Lakes

Implement log storage and log data lakes (for example, Security Lake) and integrate with third-party security tools

942 words

AWS Certified Security: Organization-Level Permission Management

Implement organization policies to manage permissions (for example, SCPs, RCPs, AI service opt-out policies, declarative policies).

780 words

Curriculum Overview: Securing Generative AI Applications on AWS

Implement protections and guardrails for generative AI applications (for example, by applying GenAI OWASP Top 10 for LLM Applications protections)

780 words

Curriculum Overview: Investigating and Remediating Unintended Permissions

Investigate and correct unintended permissions, authorizations, or privileges granted to a resource, service, or entity (for example, IAM Access Analyzer).

782 words

Curriculum Overview: Managing and Using Imported Key Material

Manage and use imported key material (for example, by managing and rotating imported key material, by managing and configuring external key stores).

780 words

AWS Certified Security: Managing Root User Credentials Curriculum

Manage AWS account root user credentials (for example, by centralizing root access for member accounts, managing MFA, designing break-glass procedures).

685 words

Masking Sensitive Data in AWS: Curriculum Overview

Mask sensitive data (for example, CloudWatch Logs data protection policies, Amazon Simple Notification Service [Amazon SNS] message data protection).

585 words

Testing and Validating AWS Incident Response Plans

Recommend procedures to test and validate the effectiveness of an incident response plan (for example, AWS Fault Injection Service, AWS Resilience Hub)

785 words

Curriculum Overview: Troubleshooting and Remediating CloudWatch Agent Misconfigurations

Remediate misconfiguration of resources (for example, by troubleshooting CloudWatch Agent configurations, troubleshooting missing logs)

780 words

Curriculum Overview: AWS Incident Response - Containment, Eradication, and Recovery

Respond to affected resources by containing and eradicating threats, and recover resources (for example, by implementing network containment controls, restoring backups)

820 words

Curriculum Overview: Responding to Security Events (AWS Certified Security - Specialty)

Respond to security events

845 words

Incident Response Automation: Containing a Compromised EC2 Instance

Respond to security events

845 words

SCS-C03 Exam Cram: Responding to Security Events

Respond to security events

915 words

AWS Security Specialty: Vulnerability Scanning for Compute Resources

Scan compute resources for known vulnerabilities (for example, scan container images and Lambda functions by using Amazon Inspector, monitor compute runtimes by using GuardDuty)

782 words

Curriculum Overview: Log Search and Correlation for Security Events

Search and correlate logs for security events across applications and AWS services

780 words

Curriculum Overview: Secure Cross-Account Resource Sharing & Governance

Securely share resources across AWS accounts (for example, AWS Service Catalog, AWS Resource Access Manager [AWS RAM]).

782 words

Curriculum Overview: Troubleshooting AWS Authentication Issues

Troubleshooting authentication issues (for example, CloudTrail, Amazon Cognito, IAM Identity Center permission sets, AWS Directory Service).

780 words

Curriculum Overview: Troubleshooting AWS Security Monitoring, Logging, and Alerting

Troubleshoot security monitoring, logging, and alerting solutions

785 words

Exam Cram: Troubleshooting AWS Security Monitoring & Logging

Troubleshoot security monitoring, logging, and alerting solutions

872 words

Lab: Troubleshooting Security Monitoring and Logging in AWS

Troubleshoot security monitoring, logging, and alerting solutions

945 words

Unit 1: Detection - Curriculum Overview | AWS Certified Security - Specialty (SCS-C03)

Unit 1: Detection

780 words

Unit 1: Detection - Curriculum Overview (AWS Security Specialty)

Unit 1: Detection

685 words

AWS Certified Security - Specialty: Unit 2 Incident Response Curriculum Overview

Unit 2: Incident Response

845 words

Unit 2: Incident Response — Curriculum Overview

Unit 2: Incident Response

785 words

Unit 3: Infrastructure Security - Curriculum Overview

Unit 3: Infrastructure Security

782 words

Unit 3: Infrastructure Security - Curriculum Overview

Unit 3: Infrastructure Security

845 words

Unit 4 Curriculum Overview: Identity and Access Management (IAM)

Unit 4: Identity and Access Management

942 words

Unit 4: Identity and Access Management - Curriculum Overview

Unit 4: Identity and Access Management

725 words

Curriculum Overview: Unit 5 - Data Protection (AWS Certified Security Specialty)

Unit 5: Data Protection

685 words

Unit 5: Data Protection - Curriculum Overview

Unit 5: Data Protection

780 words

Curriculum Overview: Unit 6 - Security Foundations and Governance

Unit 6: Security Foundations and Governance

780 words

Unit 6: Security Foundations and Governance - Curriculum Overview

Unit 6: Security Foundations and Governance

782 words

Curriculum Overview: AWS Audit Services for Evidence Management

Use AWS audit services to collect and organize evidence (for example, AWS Audit Manager, AWS Artifact).

780 words

Incident Preparedness and Security Configuration Curriculum

Use AWS service features and capabilities to configure services to be prepared for incidents (for example, by provisioning access, deploying security tools, minimizing the blast radius, configuring AWS Shield Advanced protections)

685 words

AWS Security Log Analysis Curriculum Overview

Use AWS services to analyze logs (for example, CloudWatch Logs Insights, Amazon Athena, Security Hub findings)

685 words

Curriculum Overview: Automated Incident Remediation on AWS

Use AWS services to automatically remediate incidents (for example, Systems Manager, Automated Forensics Orchestrator for Amazon EC2, AWS Step Functions, Amazon Application Recovery Controller, Lambda functions)

745 words

AWS Security Compliance & Architecture Evaluation: Curriculum Overview

Use AWS services to evaluate architecture for compliance with AWS security best practices (for example, AWS Well-Architected Framework tool).

685 words

Curriculum Overview: AWS Log Normalization, Parsing, and Correlation

Use AWS services to normalize, parse, and correlate logs (for example, Amazon OpenSearch Service, AWS Lambda, Amazon Managed Grafana)

685 words

Secure Cloud Resource Deployment with Infrastructure as Code (IaC)

Use infrastructure as code (IaC) to deploy cloud resources consistently and securely across accounts (for example, CloudFormation stack sets, third-party IaC tools, CloudFormation Guard, cfn-lint).

685 words

Curriculum Overview: AWS Resource Tagging for Governance and Management

Use tags to organize AWS resources into groups for management (for example, by grouping by department, cost center, environment).

745 words

Curriculum Overview: Validating AWS Security Findings & Event Impact Assessment

Validate findings from AWS security services to assess the scope and impact of an event

785 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 Security - Specialty (SCS-C03) Practice Questions

Try 15 sample questions from a bank of 980. Answers and detailed explanations included.

Q1hard

A security engineer is evaluating the network security posture of a multi-tier application environment. The organization's security policy mandates that all ingress traffic from the Internet Gateway (IGW) must be inspected by an AWS Network Firewall before reaching application instances in private subnets. When running the Amazon-provided 'Internet Access' Network Access Scope in AWS Network Access Analyzer, findings are generated for all instances, including those correctly routed through the firewall. The engineer needs to refine the analysis to identify only those security posture violations where traffic bypasses the Network Firewall. Which configuration change to a custom Network Access Scope should the engineer implement to achieve this goal?

A.

Define a MatchPath with the IGW as the source and application instances as the destination, and an ExcludePath specifying the Network Firewall VPC endpoints in the ThroughResources field.

B.

Define a MatchPath specifying the Network Firewall VPC endpoints in the ThroughResources field, and an ExcludePath with the IGW as the source and application instances as the destination.

C.

Define a MatchPath with the IGW as the source and the Network Firewall as the destination, and an ExcludePath with the application instances as the destination.

D.

Use the standard 'Internet Access' scope but add a MatchPath filter that excludes all traffic associated with the VPC default route table.

Show answer & explanation

Correct Answer: A

AWS Network Access Analyzer identifies potential network paths that match a MatchPath statement and do not match any ExcludePath statements. In this scenario, the 'unintended' paths are those from the internet to the application instances that do not traverse the firewall. By setting the MatchPath to cover all internet-to-application traffic and the ExcludePath to specify the Network Firewall (via its VPC endpoints in ThroughResources), any path that correctly passes through the firewall matches the exclusion and is filtered out of the results. Only paths that bypass the firewall (representing a security posture violation) will remain as findings.

Q2medium

A systems administrator is troubleshooting a unified CloudWatch agent configuration on a Linux EC2 instance. The goal is to monitor a custom application log file located at /var/log/myapp/error.log. Although the agent service is running and the IAM role has the necessary logs:PutLogEvents permissions, the logs are not appearing in the CloudWatch console. The administrator reviews the amazon-cloudwatch-agent.json file and finds the following snippet:

json
{ "logs": { "logs_collected": { "files": { "collect_list": [ { "log_group_name": "MyAppErrors", "log_stream_name": "{instance_id}" } ] } } } }

Which modification is required to remediate this misconfiguration and enable log collection?

A.

Add "file_path": "/var/log/myapp/error.log" to the object within the collect_list array.

B.

Change the log_stream_name to a static string because the {instance_id} placeholder is only valid for system metrics.

C.

Relocate the log_group_name property to the logs_collected level to apply it globally to all file sources.

D.

Replace the files key with custom_log_paths to ensure the agent parses non-standard directory locations.

Show answer & explanation

Correct Answer: A

In the unified CloudWatch agent configuration file, the file_path parameter is mandatory for each entry in the collect_list array. It defines the specific location on the local file system that the agent should monitor. Without this parameter, the agent has no source for the log data, even if the destination log group and stream are correctly identified. Adding "file_path": "/var/log/myapp/error.log" tells the agent exactly which file to tail for events.

Q3medium

An organization uses an AWS Transit Gateway to interconnect multiple spoke VPCs. A security alert indicates that an Amazon EC2 instance in one of the spoke VPCs is potentially using DNS tunneling to exfiltrate data to a command-and-control (C2) server. The instances are configured to use the default Amazon-provided DNS server (169.254.169.253) for name resolution. To investigate the incident, the security team needs to identify the internal IP address of the source instance and the specific domain names being queried. Which logging solution should the engineer configure to most efficiently meet these requirements?

A.

Enable VPC Flow Logs for the spoke VPC and analyze the destination IP addresses and traffic on port 53.

B.

Enable Transit Gateway Flow Logs for the hub and use Amazon Athena to filter for traffic originating from the affected spoke VPC.

C.

Enable Amazon Route 53 Resolver Query Logging for the affected spoke VPC and specify a destination for the logs.

D.

Enable AWS CloudTrail with Data Events enabled for Amazon Route 53 public and private hosted zones.

Show answer & explanation

Correct Answer: C

Amazon Route 53 Resolver Query Logs are the only log source listed that captures the actual domain names (query names) requested by resources within a VPC when using the Route 53 Resolver. VPC Flow Logs and Transit Gateway Flow Logs capture 5-tuple network information (source/destination IP, port, and protocol) but do not provide visibility into the application-layer payload or the content of DNS queries. Furthermore, VPC Flow Logs specifically exclude traffic directed to the Amazon-provided DNS server (the VPC base CIDR +2+ 2 or 169.254.169.253). AWS CloudTrail logs management events (API calls) but does not log individual DNS queries.

Q4hard

A security architect is reviewing the migration of a multi-tenant microservices application from an Amazon ECS cluster using the EC2 launch type to AWS Fargate. The application requires strict isolation between tenants and needs to interact with Amazon S3 and Amazon DynamoDB. Which of the following best analyzes the change in security isolation and authorization requirements during this migration?

A.

In Fargate, tasks share a common kernel and OS through the underlying host, requiring the use of EC2 Instance Profiles to authorize the container agent; in ECS EC2, each task runs in a dedicated MicroVM with its own kernel, eliminating the need for Task Execution Roles.

B.

In ECS EC2, tasks share the underlying EC2 host's kernel and are isolated using namespaces and control groups, while in Fargate, each task runs in its own isolated kernel environment (MicroVM). Furthermore, the EC2 Instance Profile used by the host in ECS EC2 is replaced entirely by the Task Role in Fargate for both agent-level and application-level authorization.

C.

Fargate provides stronger isolation by running each task in a dedicated kernel environment, preventing cross-task kernel-level exploits common in shared-host ECS EC2 environments. For authorization, Fargate requires a Task Execution Role for the agent (to pull images and log to CloudWatch) and a Task Role for the application (to access S3/DynamoDB), whereas ECS EC2 often relies on Instance Profiles for the agent's permissions.

D.

Migration to Fargate simplifies authorization by merging the Task Execution Role and Task Role into a single 'Fargate Execution Profile'. Isolation remains identical to ECS EC2 as both utilize the standard Docker runtime and shared kernel architecture, relying solely on VPC security groups for tenant separation.

Show answer & explanation

Correct Answer: C

Security isolation in Amazon ECS depends heavily on the launch type. In the EC2 launch type, multiple tasks share the same underlying EC2 instance kernel, relying on Linux namespaces and cgroups for isolation. In contrast, AWS Fargate provides stronger isolation by running each task in its own dedicated MicroVM with a separate kernel, significantly reducing the blast radius of kernel-level vulnerabilities. Regarding authorization: 1) The Task Execution Role is used by the container agent (managed by Fargate/AWS) to perform actions like pulling images from ECR and sending logs to CloudWatch. 2) The Task Role (IAM Role for Tasks) is used by the application code inside the container to authorize calls to AWS services like S3 or DynamoDB. In ECS EC2, the underlying host uses an Instance Profile, but Fargate eliminates the host management layer, making the Task Execution Role mandatory for agent-level operations.

Q5easy

Which AWS service provides a centralized location for managing workforce identities and single sign-on (SSO) access to multiple AWS accounts and third-party SAML applications?

A.

Amazon Cognito

B.

AWS Security Token Service (STS)

C.

AWS IAM Identity Center

D.

AWS Directory Service

Show answer & explanation

Correct Answer: C

AWS IAM Identity Center (the successor to AWS Single Sign-On) is designed to centrally manage access to all AWS accounts in an AWS Organization, as well as business applications like Salesforce or Microsoft 365. While Amazon Cognito is used for managing identities for web and mobile applications, IAM Identity Center is the primary choice for managing an organization's internal workforce. STS is used to grant temporary security credentials, and AWS Directory Service provides managed directory solutions like Microsoft AD.

Q6medium

An organization uses Amazon Inspector to scan its fleet of Amazon EC2 instances for software vulnerabilities. The security team wants to implement an automated remediation workflow that applies security patches to instances as soon as high-severity vulnerabilities are detected. Which of the following best explains the standard AWS architectural pattern used to achieve this automation?

A.

Configure Amazon Inspector to automatically apply patches by enabling the 'Auto-Remediate' feature within the Inspector Assessment Template settings.

B.

Enable Amazon GuardDuty runtime monitoring to intercept the Inspector findings and automatically execute a 'Patch Now' command via the GuardDuty console.

C.

Schedule a recurring AWS Config rule that queries the Inspector API and uses an inline remediation action to update the instance's Amazon Machine Image (AMI).

D.

Create an Amazon EventBridge rule that triggers an AWS Systems Manager (SSM) Automation document or AWS Lambda function when an Inspector finding meets specified severity criteria.

Show answer & explanation

Correct Answer: D

The standard architectural pattern for automated remediation involves using Amazon EventBridge. Amazon Inspector publishes all findings as events to EventBridge in near real-time. By configuring an EventBridge rule, you can filter for specific findings (e.g., high-severity software vulnerabilities) and set a target such as an AWS Systems Manager (SSM) Automation document or an AWS Lambda function. The SSM Automation document can then invoke Patch Manager to apply the necessary updates to the identified resource.

Q7medium

A security engineer is implementing an AWS Fault Injection Service (FIS) experiment to validate an incident response plan for a production environment. The application architecture includes an Amazon EC2 Auto Scaling group (ASG) and an Amazon RDS Multi-AZ DB instance. The engineer needs to simulate a scenario involving a database failover and a partial loss of compute capacity to ensure the system recovers within defined objectives.

Which set of configurations should the engineer use in the FIS experiment template to perform this test effectively and safely?

A.

Define an aws:ec2:stop-instances action for the EC2 targets and an aws:rds:reboot-db-instances action with the forceFailover parameter set to true for the RDS target. Include a stop condition based on a CloudWatch alarm for application error rates.

B.

Define an aws:ec2:terminate-instances action and an aws:rds:failover-db-cluster action. Configure the experiment to run in 'DryRun' mode to notify the incident response team without impacting the underlying resources.

C.

Use an aws:ssm:send-command action to execute a script that terminates the database process on the RDS instance. For the EC2 tier, use the aws:ec2:reboot-instances action with no stop conditions to maximize the impact of the test.

D.

Define an aws:ec2:stop-instances action and an RDS event subscription that triggers a Lambda function to perform a manual failover. Set the experiment duration to 24 hours to ensure all monitoring thresholds are met.

Show answer & explanation

Correct Answer: A

To simulate an RDS Multi-AZ failover using AWS Fault Injection Service (FIS), the correct action is aws:rds:reboot-db-instances with the forceFailover parameter set to true. For the EC2 tier, aws:ec2:stop-instances is a standard action for simulating compute capacity loss. A critical best practice for FIS experiments is the use of a Stop Condition, which references an Amazon CloudWatch alarm (e.g., application health or 5xx error rate). If the alarm is triggered, the experiment automatically stops to prevent an extended or unintended outage.

Q8medium

A security engineer is using AWS Firewall Manager to centrally manage AWS WAF policies across a multi-account organization. The organization is structured with Organizational Units (OUs) for different departments: Marketing, Engineering, and Finance. The engineer needs to apply a strict security policy to all resources in the Marketing and Engineering OUs, but only if they are tagged with Environment: Production. Resources in the Finance OU and any resources with the tag Environment: Development must be excluded from this specific policy.

How should the engineer configure the policy scoping in AWS Firewall Manager to achieve this requirement with the least administrative effort?

A.

Apply the policy at the Root level of the organization and create a separate Tag Policy to prevent the creation of non-production resources in the Marketing and Engineering OUs.

B.

Create a Service Control Policy (SCP) at the Root level that denies wafv2:AssociateWebACL unless the resource has the Environment: Production tag, and then target the policy to all OUs.

C.

Deploy the policy to all accounts in the organization and use an AWS Config rule to manually de-associate the WAF policy from any resources that do not match the specified OU and tag criteria.

D.

In the Firewall Manager policy scope, include the Marketing and Engineering OUs, and then add a resource tag inclusion filter for the tag key Environment with the value Production.

Show answer & explanation

Correct Answer: D

AWS Firewall Manager provides a centralized way to define policy scopes using both account/OU-level inclusion/exclusion and resource tag filters. By selecting the Marketing and Engineering OUs in the 'Scope' section and applying a resource tag inclusion filter for Environment: Production, the engineer ensures that only resources meeting both criteria are protected by the policy. This approach is more efficient than using SCPs (which manage maximum permissions, not deployment) or manual remediation with AWS Config.

Q9easy

When configuring an Amazon ECS task, which role is responsible for granting the ECS container agent or the Fargate service the permissions to pull container images from Amazon ECR and push logs to Amazon CloudWatch?

A.

The ECS Task Role

B.

The ECS Task Execution Role

C.

The ECS Instance Role

D.

The ECS Service-Linked Role

Show answer & explanation

Correct Answer: B

The ECS Task Execution Role is used by the ECS infrastructure (the agent or Fargate service) to perform lifecycle tasks such as pulling container images and sending log data. In contrast, the ECS Task Role is assumed by the application code running inside the container to authorize access to other AWS services like Amazon S3 or DynamoDB.

Q10medium

A security engineer is configuring the incident response (IR) framework for a multi-account AWS environment. The goal is to allow the IR team, who resides in a Central Security account (111122223333), to perform forensic analysis and remediation within a Production account (444455556666) during a security event. Following the principle of least privilege and AWS best practices for minimizing blast radius, which configuration should the engineer apply?

A.

In the Production account, create an IAM user for each IR team member with the AdministratorAccess policy and distribute long-term access keys to the team.

B.

In the Production account, create an IAM role named IRRole with specific forensics permissions. Configure the role's trust policy to allow the Central Security account (111122223333) to assume the role, and grant the $sts:AssumeRole$ permission to the IR team's identities in the Security account.

C.

In the Central Security account, create a resource-based policy on all sensitive Production resources (such as Amazon S3 buckets) that grants Allow permissions to the IR team's IAM identities.

D.

Enable AWS Shield Advanced in the Central Security account and configure it to automatically provision FullAccess roles in all member accounts during a detected DDoS or security event.

Show answer & explanation

Correct Answer: B

To securely provision cross-account access for incident response, AWS recommends using IAM roles and trust relationships. This approach involves: 1) Creating an IAM role in the target account (Production) with only the permissions required for the IR tasks (forensics, logs access, etc.). 2) Configuring a trust policy on that role that permits the Central Security account (the 'trusted' account) to assume it. 3) Granting the incident responders in the Security account the permission to call $sts:AssumeRole$ on the target role's ARN. This method utilizes temporary security credentials, avoids the risks associated with long-term IAM user keys (Option A), and follows the principle of least privilege. Resource-based policies (Option C) are not available for all services and are harder to manage at scale for IR. AWS Shield Advanced (Option D) is for DDoS protection and does not provision general IR access roles.

Q11medium

Which of the following actions best describes a primary mitigation strategy for preventing Training Data Poisoning (LLM03) in the context of the OWASP Top 10 for LLM Applications?

A.

Restricting the length and character set of user inputs during the inference phase to block prompt injections.

B.

Establishing rigorous data provenance and verification processes to ensure the legitimacy of data sources and the integrity of the dataset.

C.

Increasing the total number of model parameters to dilute the mathematical influence of anomalous data points.

D.

Implementing a firewall to prevent the Large Language Model from accessing any external web-based plugins or APIs.

Show answer & explanation

Correct Answer: B

According to the OWASP Top 10 for LLM Applications, Training Data Poisoning (LLM03) occurs when an attacker manipulates training or fine-tuning data to introduce vulnerabilities, backdoors, or biases. The primary mitigation is maintaining strict control over the supply chain of data through data provenance (tracking the origin) and verification (ensuring data has not been tampered with).

  • A is incorrect because it addresses Prompt Injection (LLM01), which occurs at inference time, not training time.
  • C is incorrect because model size does not inherently prevent poisoning; even large models can be subverted by a small amount of targeted, malicious data.
  • D is incorrect because it addresses Insecure Plugin Design (LLM07) or Model Denial of Service rather than the integrity of the training data itself.
Q12medium

A security engineer is configuring an EC2 Instance Connect (EIC) Endpoint to provide secure SSH access to EC2 instances located in a private subnet. The instances do not have public IP addresses, and the company wants to avoid using a bastion host. To ensure connectivity while following the principle of least privilege, which security group configuration is required?

A.

Configure the EIC Endpoint security group with an outbound rule allowing TCP port 22 to the instances' security group. Configure the instances' security group with an inbound rule allowing TCP port 22 from the EIC Endpoint security group.

B.

Configure the EIC Endpoint security group with an inbound rule allowing TCP port 22 from the administrator's public IP address. Configure the instances' security group with an inbound rule allowing TCP port 22 from the EIC Endpoint security group.

C.

Configure the EIC Endpoint security group with an inbound rule from the VPC CIDR and an outbound rule to 0.0.0.0/0. Configure the instances' security group with an inbound rule allowing all traffic from the VPC CIDR.

D.

Configure the EIC Endpoint security group with an outbound rule to the instances' security group on port 22. No inbound rules are required on the instances' security group because EIC uses AWS IAM for network-level authentication.

Show answer & explanation

Correct Answer: A

To use an EC2 Instance Connect (EIC) Endpoint, specific security group rules must be configured: 1) The EIC Endpoint security group needs an outbound rule allowing traffic (e.g., TCP port 22 for SSH) to the target instances or their security group. 2) The target instances' security group needs an inbound rule allowing traffic from the EIC Endpoint's security group on the same port. The EIC Endpoint's security group does not require any inbound rules because the connection is tunneled through the AWS service after the user is authenticated via IAM.

Q13hard

A global financial institution is architecting a disaster recovery (DR) solution for a mission-critical application deployed in us-east-1 (Source) and eu-central-1 (DR). The application stores encrypted sensitive PII in Amazon S3 buckets. The security architect must satisfy the following requirements: 1. Key Control: Key material must be generated on-premises using a FIPS $140-2$ Level 3 HSM and imported into AWS. 2. Operational Efficiency: Applications in both regions must use the exact same code and configuration to access keys, avoiding complex logic to map different Amazon Resource Names (ARNs) based on the region. 3. Latency & Reliability: During a failover to eu-central-1, the application must be able to decrypt data locally. The architecture must eliminate dependencies on the us-east-1 region during the decryption process. 4. Performance: S3 Cross-Region Replication (CRR) should be used, and the overhead of re-encrypting data during replication should be minimized. Which architectural approach best meets all these requirements?

A.

Create independent single-region AWS KMS keys in us-east-1 and eu-central-1. Import the same key material into both. Use S3 CRR with an AWS Lambda function to handle custom re-encryption to the destination ARN.

B.

Provision an AWS CloudHSM cluster in each region. Synchronize the key material manually across clusters. Use AWS KMS Custom Key Stores in each region to manage the keys with a shared alias.

C.

Create an AWS KMS multi-region primary key in us-east-1 with an origin of EXTERNAL. Create a replica key in eu-central-1. Import the on-premises key material into both the primary and replica keys.

D.

Use the AWS-managed key aws/s3 in both regions. Configure S3 CRR to automatically re-encrypt objects using the destination region's default managed key.

Show answer & explanation

Correct Answer: C

To meet the requirements of Key Control (BYOK) and Operational Efficiency (same Key ID/ARN), AWS KMS multi-region keys are the optimal choice. 1. Multi-region keys allow the same Key ID and Key ARN to exist across multiple regions. This satisfies the requirement for identical application code/configuration. 2. By using the External origin (Imported Key Material), the firm maintains control over the key generation process on-premises. 3. Because the keys share the same key material and ID, Amazon S3 can replicate the encrypted objects without the need for re-encryption, and applications in eu-central-1 can decrypt them locally without any API calls to us-east-1 (satisfying Latency and Reliability). Option A fails the efficiency requirement because single-region keys always have different ARNs, even with the same material. Option B (CloudHSM) introduces significant operational overhead and does not support the seamless multi-region Key ID feature of KMS. Option D fails the Key Control requirement as it uses AWS-managed material.

Q14medium

A SaaS provider is hosting a data analytics application on a fleet of EC2 instances in a private subnet. They want to allow customers in different AWS accounts to access this application securely and privately via AWS PrivateLink. What is the correct sequence of configuration steps the SaaS provider must perform to make their service available to customers?

A.

Create a Network Load Balancer (NLB) targeting the EC2 instances, create a VPC Endpoint Service and associate it with the NLB, and add the customers' AWS Account IDs to the 'Allowed principals' list.

B.

Create an Application Load Balancer (ALB) targeting the EC2 instances, create an Interface VPC Endpoint for the ALB, and share the service's private DNS name with the customers.

C.

Create a Gateway Load Balancer (GWLB) targeting the EC2 instances, create a Gateway VPC Endpoint, and update the route tables in the customers' VPCs to point to the GWLB.

D.

Create an Interface VPC Endpoint in the provider's VPC, enable the 'Acceptance required' setting, and add the customers' VPC IDs to the VPC Endpoint policy.

Show answer & explanation

Correct Answer: A

To make a service available via AWS PrivateLink as a provider, you must front the service with a Network Load Balancer (NLB) (or a Gateway Load Balancer). Application Load Balancers (ALBs) are not directly supported as backends for Endpoint Services. After creating the NLB, you create a VPC Endpoint Service and associate it with that NLB. Finally, to permit specific customers to connect, you must add their AWS Account IDs (or specific IAM principals) to the 'Allowed principals' list of the Endpoint Service. Customers can then discover and create an Interface VPC Endpoint to connect.

Q15easy

What is the primary purpose of using AWS Resilience Hub assessments when preparing an incident response plan?

A.

To automatically patch vulnerabilities in Amazon EC2 instances.

B.

To serve as a central repository for application and system logs.

C.

To evaluate if an application's architecture meets defined resilience targets such as RTO and RPO.

D.

To monitor and alert on unauthorized API calls within an AWS account.

Show answer & explanation

Correct Answer: C

AWS Resilience Hub is used to define, track, and manage the resilience posture of applications. Its assessment feature evaluates an application's architecture against best practices and defined resilience targets, such as Recovery Time Objective (RTO) and Recovery Point Objective (RPO), to help validate and improve incident response and disaster recovery effectiveness.

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

AWS Certified Security - Specialty (SCS-C03) Flashcards

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

ABAC and RBAC Access Control Strategies(5 cards shown)

Question

Role-Based Access Control (RBAC)

Answer

A traditional access control strategy where permissions are assigned to specific roles or groups based on job functions.

[!NOTE] In AWS, this is typically implemented by attaching managed policies to IAM Groups or Roles (e.g., a 'NetworkAdmin' role with VPC management permissions).

Question

What is the primary advantage of Attribute-Based Access Control (ABAC) over RBAC in a high-growth AWS environment?

Answer

Scalability and reduced administrative overhead.

ABAC allows for "one-to-many" policy application. Instead of creating new policies for every new project or role, you create a single generic policy that grants access if the user's tags match the resource's tags.

AspectRBACABAC
Policy CountIncreases with rolesRemains constant
FlexibilityStaticDynamic

Question

Comparison: RBAC vs. ABAC Strategy

Answer

Access Control Paradigms

RBAC uses the Identity (Who are you?) to determine access, while ABAC uses Attributes (What do you have?) to determine access.

Loading Diagram...
Figure 1 — Mermaid diagram

[!TIP] Use RBAC for foundational, broad permissions and ABAC for granular, project-based isolation.

Question

In an AWS ABAC strategy, identify the missing policy variable in this condition to ensure the user can only access resources in their own project:

"StringEquals": { "aws:ResourceTag/Project": "${___}" }

Answer

aws:PrincipalTag/Project

This variable tells IAM to look at the Project tag on the IAM user or role making the request and compare it to the Project tag on the resource being accessed.

[!WARNING] Ensure that users do not have permissions to modify their own tags (iam:TagUser), or they could bypass ABAC controls.

Question

Analyze the diagram. Which authorization strategy is being demonstrated to grant the user access to the Amazon S3 bucket?

Loading Diagram...
Figure 1 — Mermaid diagram

Answer

Attribute-Based Access Control (ABAC)

This specific implementation is known as Tag-based Access Control. The authorization decision is based on the intersection of attributes (tags) belonging to both the principal and the resource.

Key Benefit: When a new S3 bucket is created with the tag Env=Dev, the user automatically gains access without any policy updates required.

Aggregate security and monitoring events(5 cards shown)

Question

AWS Security Hub

Answer

AWS Security Hub is a Cloud Security Posture Management (CSPM) service that performs security best practice checks, aggregates alerts (findings), and enables automated remediation.

[!NOTE] It provides a single place to aggregate findings from multiple AWS services like GuardDuty, Inspector, Macie, and IAM Access Analyzer, as well as third-party solutions.

Question

How does Amazon Security Lake simplify the analysis of security logs from both AWS and third-party sources?

Answer

Amazon Security Lake centralizes data into a purpose-built data lake and uses the Open Cybersecurity Schema Framework (OCSF) to normalize data.

Key Benefits:

  • Normalization: Converts diverse log formats (VPC Flow Logs, CloudTrail, etc.) into a common OCSF schema.
  • Storage: Uses Amazon S3 for cost-effective, long-term storage.
  • Analysis: Enables direct querying via Amazon Athena or third-party SIEMs without manual ETL (Extract, Transform, Load).

[!TIP] OCSF is the

Question

To route near-real-time security findings from Amazon GuardDuty to automated remediation targets like AWS Lambda, you should use the ___ service.

Answer

Amazon EventBridge

EventBridge (formerly CloudWatch Events) acts as a serverless event bus. It uses Rules to match incoming finding patterns and route them to targets for immediate action.

Loading Diagram...
Figure 1 — Mermaid diagram

Question

Comparison: EventBridge Event Bus vs. EventBridge Pipes

Answer

Both tools aggregate and route events, but they serve different architectural patterns:

FeatureEvent BusEvent Pipe
Routing RatioMany-to-ManyOne-to-One
Core PurposeBroadcasting events to multiple targetsPoint-to-point integration between two services
EnrichmentBasic (Input Transformer)Built-in Enrichment step (Lambda, API)
Best ForDecoupled event-driven architecturesConnecting a specific source (SQS, Kinesis) to a target

Question

Describe the high-level workflow for Centralized Security Event Aggregation across a multi-account AWS Organization.

Answer

The strategy involves designating a Delegated Administrator account to collect and analyze findings.

Loading Diagram...
Figure 1 — Mermaid diagram

[!WARNING] Ensure that Delegated Administration is enabled within AWS Organizations for each specific security service to allow the central account to manage member findings.

Amazon Security Lake and Log Storage Integration(5 cards shown)

Question

OCSF (Open Cybersecurity Schema Framework)

Answer

OCSF is an open-source schema that Amazon Security Lake uses to normalize security data from various sources into a consistent format.

[!NOTE] By using a common schema, security teams can analyze data from multiple vendors (e.g., Cisco, CrowdStrike, AWS) without having to write custom parsers for each source.

Common Event Classes:

  • System Activities
  • Identity and Access Management
  • Network Activities
  • Security Findings

Question

In Amazon Security Lake, what is the primary difference between Data Access and Query Access for subscribers?

Answer

Subscribers can consume data in two main ways:

FeatureData AccessQuery Access
MechanismSubscriber reads raw files directly from the S3 bucket.Subscriber queries tables using SQL-based services.
Data FormatParquet files in S3.AWS Glue Data Catalog / Lake Formation tables.
NotificationSQS (pull) or EventBridge (push).No direct event trigger; queried on-demand.
ToolsCustom scripts, 3rd party ETL.Amazon Athena, Amazon Redshift, Spark SQL.

[!TIP] Use Data Access for external SIEMs that need to ingest the raw logs. Use Query Access for ad-hoc analysis using AWS native tools.

Question

To centralize security logs from multiple AWS Regions into a single location for global analysis in Amazon Security Lake, you must configure a ___ region.

Answer

Rollup

A rollup region acts as a centralized repository.

  • Contributing Regions: Regions that copy their records to the rollup region.
  • Constraints: A region can contribute to multiple rollup regions, but a rollup region cannot be a contributing region.
Loading Diagram...
Figure 1 — Mermaid diagram

Question

How are Custom Sources integrated into Amazon Security Lake, and what are the requirements for the data format?

Answer

For custom (non-native) sources, the producer is responsible for transforming and ingesting the data.

Requirements:

  1. Schema: Data must follow the OCSF event class structures.
  2. Format: Data must be stored in Apache Parquet format.
  3. Storage: Records are stored in customer-owned S3 buckets.

Ingestion Path:

Compiling TikZ diagram…
⏳
Running TeX engine…
This may take a few seconds
Figure 1 — TikZ diagram

[!WARNING] Unlike native AWS sources (like VPC Flow Logs), Amazon Security Lake does not automatically transform custom source data into OCSF format; this must be done upstream.

Question

What role does AWS Lake Formation play in the Amazon Security Lake architecture?

Answer

AWS Lake Formation provides the governance layer for the security data lake.

Key Functions:

  • Access Control: It establishes granular permissions (at the database and table level) for subscribers using Query Access.
  • Data Cataloging: It works with the AWS Glue Data Catalog to define the structure and metadata of the OCSF-formatted logs stored in S3.
  • Integration: It ensures that query services like Amazon Athena respect the defined security policies when accessing data.

[!NOTE] When you create a subscriber in Security Lake, the service automatically creates the necessary RAM (Resource Access Manager) shares and Lake Formation permissions to grant that subscriber access to specific tables.

Analyze workloads to determine monitoring requirements(5 cards shown)

Question

Amazon CloudWatch vs. AWS CloudTrail

Answer

While both are essential for monitoring workloads, they serve distinct purposes:

FeatureAmazon CloudWatchAWS CloudTrail
FocusPerformance, health, and operational metrics.Governance, compliance, and operational auditing.
Data TypeMetrics, Logs, and Alarms.API call history and event logs.
Use Case"Is my CPU usage too high?""Who terminated this instance?"

[!TIP] Think: Watch the performance; Trail the user's footsteps.

Question

What specific workload characteristics necessitate the implementation of Amazon Macie in a monitoring strategy?

Answer

A workload requires Amazon Macie when it involves the storage of sensitive data in Amazon S3.

Criteria for requirement:

  1. Data Sensitivity: Presence of PII (Personally Identifiable Information) or PHI (Protected Health Information).
  2. Compliance: Requirements like GDPR, HIPAA, or PCI-DSS that mandate discovery of sensitive data.
  3. Visibility: The need to monitor S3 buckets for security risks like public accessibility or unencrypted objects.

[!NOTE] Macie uses machine learning and pattern matching to automatically discover and protect sensitive data at scale.

Question

Workload Health Monitoring Strategy

Explain how to design a monitoring strategy that differentiates between infrastructure availability and application-level health.

Answer

Effective workload monitoring requires a multi-layered approach using resource health checks:

  • Infrastructure Availability: Use Route 53 Health Checks or ELB Health Checks to verify that the endpoint is reachable at the network/transport layer.
  • Application-level Health: Implement custom health check endpoints (e.g., /health) that verify internal dependencies like database connectivity or cache availability.

Implementation Example:

Loading Diagram...
Figure 1 — Mermaid diagram

[!WARNING] Shallow health checks (just checking if a port is open) may fail to detect "zombie" instances where the service is running but the application logic is hung.

Question

To aggregate security findings from multiple services like GuardDuty, Inspector, and Macie into a single, prioritized dashboard, you must enable ___.

Answer

AWS Security Hub

Security Hub performs the following key functions:

  1. Aggregation: Collects findings from AWS services and third-party partners.
  2. Normalization: Converts findings into the AWS Security Finding Format (ASFF).
  3. Compliance Checks: Automatically checks your environment against best practices (e.g., CIS Foundations Benchmark).

[!TIP] Use Delegated Administrator in AWS Organizations to manage Security Hub findings across all accounts from a central security account.

Question

Describe the automated workflow for detecting and alerting on an anomalous workload event (e.g., a GuardDuty finding).

Answer

The standard AWS pattern for automated alerting follows this flow:

Loading Diagram...
Figure 1 — Mermaid diagram

Key Components:

  • GuardDuty: Intelligent threat detection.
  • EventBridge: The "glue" that routes the finding based on rules.
  • SNS: The notification delivery service.

[!NOTE] For remediation, EventBridge could also trigger a Lambda function to isolate the affected resource automatically.

Analyzing AWS Authorization Failures(5 cards shown)

Question

IAM Policy Simulator

Answer

A tool used to test and troubleshoot IAM policies by simulating real-world API requests.

Key Features

  • Dry Run: It evaluates policies without actually making any changes or performing the actions.
  • Granular Testing: Test specific actions (e.g., s3:GetObject) against specific resources.
  • Identify Blockers: Shows exactly which statement in a policy is causing an Implicit Deny or Explicit Deny.

[!TIP] Use the simulator when a user reports a "403 Forbidden" error but you aren't sure which of their multiple attached policies is the culprit.

Question

If an IAM user has an Allow in an Identity-based policy but a Deny in a Resource-based policy (e.g., an S3 Bucket Policy) for the same action, what is the final authorization decision?

Answer

The final decision is Access Denied.

Why?

In AWS, the evaluation logic follows these strict rules:

  1. Default Deny: All requests are denied by default.
  2. Explicit Deny: An explicit Deny in any applicable policy (Identity-based, Resource-based, SCP, etc.) overrides any Allow.
  3. Allow: A request is only allowed if there is at least one Allow and zero explicit Deny statements.
Policy A (Identity)Policy B (Resource)Result
AllowAllowAllow
AllowDenyDeny
DenyAllowDeny
No MatchNo MatchDeny (Implicit)

Question

IAM Access Analyzer

Answer

A service that uses mathematical logic (automated reasoning) to identify resources shared with external entities or to validate IAM policies.

Primary Functions

  • External Access: Identifies resources (S3, KMS, SQS, IAM Roles) accessible from outside your AWS zone of trust.
  • Unused Access: Analyzes CloudTrail logs to find unused roles, access keys, and permissions.
  • Policy Validation: Checks policy syntax and best practices during authoring.
Loading Diagram...
Figure 1 — Mermaid diagram

[!NOTE] It is a detective control that helps you implement the Principle of Least Privilege by identifying over-privileged entities.

Question

To determine when an IAM user last used a specific AWS service to perform an action, you should check the ___ tab in the IAM Management Console.

Answer

Access Advisor

IAM Access Advisor displays the "Last Accessed" information for services.

Use Case

If a user has AdministratorAccess but Access Advisor shows they haven't used Lambda or Redshift in 90 days, you can safely remove those permissions to reduce the attack surface.

[!TIP] This is different from the Policy Simulator (which tests what could happen) and CloudTrail (which records what did happen in detail).

Question

How does AWS resolve a request when multiple policy types (SCPs, Permissions Boundaries, and Identity-based policies) are present?

Answer

The request must be allowed by every applicable policy type. If any layer denies it or fails to allow it (depending on the type), the request is denied.

The Evaluation Flow

Loading Diagram...
Figure 1 — Mermaid diagram

Crucial Rule: The intersection of all boundaries defines the effective permissions.

[!WARNING] Even if an Identity-based policy says Allow *, an SCP with a Deny on s3:* will result in a total denial of S3 access.

Authorization Controls for Human, Application, and System Access(5 cards shown)

Question

IAM Roles Anywhere

Answer

A service that allows workloads running outside of AWS (on-premises servers, containers, or applications) to obtain temporary AWS credentials using X.509 digital certificates.

[!NOTE] It eliminates the need for long-term AWS access keys for non-AWS workloads by establishing trust with your own Public Key Infrastructure (PKI).

Key Components:

  • Trust Anchor: Represents your Certificate Authority (CA).
  • Profile: Defines which roles can be assumed and the session duration.
  • Role: The IAM role with the permissions required by the workload.

Question

How do Resource-based Policies differ from IAM Roles when implementing cross-account access?

Answer

Both allow cross-account access, but the mechanism and user experience differ:

FeatureResource-based Policy (e.g., S3 Bucket Policy)IAM Role (AssumeRole)
PrincipalThe external account/user is added to the resource policy.The external user assumes a role in the target account.
ContextThe user stays in their own account.The user 'switches' into the target account context.
UsageAccess is direct (e.g., s3 cp).User must call sts:AssumeRole to get temporary keys.
TrustDefined in the resource JSON.Defined in the Role's Trust Policy.

[!TIP] Use resource-based policies when you want users to access resources without losing their original identity/permissions.

Question

IAM Role Trust Policy

Answer

A JSON document that defines which principals are allowed to assume the role. It is a specific type of resource-based policy attached to the IAM role itself.

Common Principals:

  • AWS Services (e.g., ec2.amazonaws.com)
  • AWS Accounts (for cross-account access)
  • SAML Providers (for federation)
  • OIDC Providers (for GitHub Actions or EKS)
json
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "Service": "lambda.amazonaws.com" }, "Action": "sts:AssumeRole" } ] }

Question

When assuming a role, a ___ can be passed to further restrict (but not expand) the permissions of the resulting temporary session.

Answer

Session Policy

A session policy is an inline policy passed as a parameter during the AssumeRole API call. The resulting permission set is the intersection (Logical AND) of the identity-based policy and the session policy.

[!WARNING] If a session policy is used, and it does not explicitly allow an action, that action is denied even if the IAM Role's policy allows it.

Question

Amazon Verified Permissions

Answer

A scalable, fine-grained permissions management and authorization service for custom applications. It uses the Cedar policy language.

Loading Diagram...
Figure 1 — Mermaid diagram

Benefits:

  • Decouples authorization logic from application code.
  • Centralized policy store for audit and compliance.
  • High-performance, low-latency authorization decisions.

Showing 30 of 460 flashcards. Study all flashcards →

Ready to ace AWS Certified Security - Specialty (SCS-C03)?

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

Start Studying — Free