Study guide

1.1 Workload Monitoring & Health Check Strategies

AWS Certified Security – Specialty SCS-C03

Track your progress as you read

Finished sections get a check mark.

1 Chapter 0: Getting Started with the SCS-C03 Exam

0.1 SCS-C03 Exam Format, Domains & Study Strategy

2 Chapter 1: Security Monitoring, Alerting & Threat Detection Services

1.1 Workload Monitoring & Health Check Strategies 1.2 Amazon GuardDuty Architecture & Finding Types 1.3 AWS Security Hub & Automated Conformance Assessment 1.4 Amazon Macie & Automated Data Classification

3 Chapter 2: Enterprise Logging Architecture & Analysis

2.1 Multi-Account CloudTrail & Organization Trails 2.2 Amazon Security Lake & OCSF Log Normalization 2.3 Network Telemetry: VPC Flow Logs & Route 53 Resolver Logs 2.4 Troubleshooting Security Telemetry & Log Ingestion 2.5 Analyzing, Normalizing & Correlating Security Logs

4 Chapter 3: Incident Readiness, Response Planning & Automated Runbooks

3.1 Incident Response Planning & Blast Radius Mitigation 3.2 Testing & Validating Incident Response Plans 3.3 Automated Incident Remediation with EventBridge & Step Functions 3.4 Systems Manager OpsCenter & Incident Manager Runbooks

5 Chapter 4: Digital Forensics, Evidence Preservation & Root Cause Analysis

4.1 Forensic Artifact Capture & Chain of Custody 4.2 Threat Containment & Network Quarantine Techniques 4.3 Correlating Events & Root Cause Analysis with Amazon Detective

6 Chapter 5: Edge Protection, WAF & DDoS Mitigation

5.1 CloudFront Security Headers & Origin Access Control 5.2 AWS WAF Architecture & Advanced Rule Sets 5.3 AWS Shield Advanced & DDoS Defense Architectures 5.4 Edge Integrations: Managed Rule Groups, OCSF Ingestion, IoT Policies & CORS

7 Chapter 6: Compute Workload Hardening, Vulnerability Management & GenAI Security

6.1 Golden AMIs & Container Image Hardening Pipelines 6.2 Amazon Inspector Vulnerability Management & Patch Automation 6.3 Generative AI Security: Amazon Bedrock Guardrails & Model Protection 6.4 Instance Profiles, Service Roles & Execution Roles for Compute 6.5 Secure Administrative Access: Session Manager & EC2 Instance Connect

8 Chapter 7: Network Security, Segmentation, Private Connectivity & Encryption in Transit

7.1 Layered Traffic Filtering: SGs, NACLs & AWS Network Firewall 7.2 Hybrid Connectivity Security: VPN, Direct Connect & MACsec 7.3 Zero-Trust Access & Network Access Analysis 7.4 Enforcing Encryption in Transit: ELB Security Policies, TLS & HTTPS-Only Access 7.5 Private Access: VPC Endpoints, PrivateLink, Client VPN & Verified Access 7.6 Inter-Resource Encryption in Transit: Nitro, EMR, EKS & SageMaker AI

9 Chapter 8: Enterprise Authentication, Federation & Directory Services

8.1 AWS IAM Identity Center & Enterprise IdP Integration 8.2 Amazon Cognito User Pools & Identity Pools 8.3 AWS Security Token Service (STS) & Temporary Credential Workflows 8.4 Troubleshooting Identity & Authentication Failures

10 Chapter 9: Advanced Authorization Architecture & Policy Evaluation

9.1 Complete AWS Policy Evaluation Logic & Decision Flow 9.2 Permission Boundaries & Safe Admin Delegation 9.3 Attribute-Based Access Control (ABAC) with IAM Tags

11 Chapter 10: Least Privilege, Policy Validation & External Access Auditing

10.1 IAM Roles Anywhere & Amazon Verified Permissions 10.2 Auditing External & Unused Access with IAM Access Analyzer 10.3 Analyzing Authorization Failures & Policy Simulation

12 Chapter 11: Cryptographic Services: KMS Architecture & Key Governance

11.1 AWS KMS Architecture, Key Policies & Key Types 11.2 KMS Grants, Encryption Context & Multi-Region Keys 11.3 Imported Key Material (BYOK) & CloudHSM Key Stores

13 Chapter 12: Secrets Management, Sensitive Data Masking & PKI

12.1 AWS Secrets Manager & Systems Manager Parameter Store 12.2 Sensitive Data Masking in Telemetry & Messaging 12.3 AWS Certificate Manager (ACM) & Private CA Architecture

14 Chapter 13: Storage Encryption, Integrity, Lifecycle & Backup Protection

13.1 S3 Encryption Modes & S3 Bucket Keys 13.2 Data Integrity Protection: Object Lock, Vault Lock & Code Signing 13.3 Secure Data Lifecycle, Cross-Account Replication & Backup Vault Lock 13.4 Lifecycle, Backup & Secure Replication Beyond S3: EFS, FSx, DLM, DataSync & Air-Gapped Vaults

15 Chapter 14: Multi-Account Architecture, Organizations & Control Tower Governance

14.1 AWS Organizations Structure, Hierarchy & Resource Control 14.2 AWS Control Tower Landing Zone & Guardrail Framework 14.3 Delegated Administrator Architecture & Root User Governance 14.4 Centralized Resource Sharing with RAM & Service Catalog

16 Chapter 15: Compliance Automation, Infrastructure as Code Security & Auditing

15.1 Infrastructure as Code Security & Multi-Account Deployment 15.2 AWS Config, Conformance Packs & Automated Remediation 15.3 Audit Evidence Collection & Well-Architected Security Reviews

1.1 Workload Monitoring & Health Check Strategies

Key Takeaways Explain This Topic AI

CloudWatch metric alarms evaluate threshold breaches over defined periods, while composite alarms evaluate Boolean expressions across multiple alarms to eliminate alert fatigue and detect compound attack patterns.

CloudWatch Metric Math enables dynamic baselining and statistical deviation alerts using functions like RATE, DIFF, and ANOMALY_DETECTION_BAND without hardcoding static thresholds.

CloudWatch Synthetics canaries run automated Node.js or Python scripts inside AWS Lambda to continuously validate endpoint integrity, TLS certificates, HTTP status codes, and DOM elements from outside or inside private VPCs.

Route 53 health checks support endpoint probing, calculated combinators, and CloudWatch alarm monitoring to drive automated DNS failover and quarantine compromised application targets.

Amazon EventBridge rule patterns match structured JSON event payloads from CloudWatch, GuardDuty, and AWS API calls, routing actionable security telemetry to Lambda, SQS, or Step Functions with dead-letter queue (DLQ) resiliency.

Last updated: September 2026

1.1 Workload Monitoring & Health Check Strategies

Security monitoring in AWS requires moving beyond traditional operational health metrics to establish continuous behavioral visibility across compute, networking, and application layers. Security-focused workload monitoring detects unauthorized access, resource exploitation, denial-of-service attempts, and data exfiltration patterns in near real time. A comprehensive detection architecture combines Amazon CloudWatch metrics and composite alarms, CloudWatch Metric Math , CloudWatch Synthetics canaries, Amazon Route 53 health checks, and Amazon EventBridge event-driven routing.

CloudWatch Metrics, Metric Math & Anomaly Detection

CloudWatch serves as the foundational metrics repository in AWS. While operational engineering teams track CPU utilization and disk space, security engineers analyze metrics to detect indicators of compromise (IoC) and abnormal workload behavior.

Metric Evaluation Windows and High-Resolution Metrics

Standard CloudWatch metrics publish at a 1-minute or 5-minute frequency. For mission-critical security boundaries, high-resolution custom metrics provide 1-second, 5-second, 10-second, or 30-second granularity. High-resolution metrics allow rapid detection of short-lived brute-force spikes, token exhaustion attacks, or rapid API throttling events.

When configuring metric alarms, three parameters govern evaluation:

Period : The length of time associated with each individual datapoint (for example, 60 seconds).

Evaluation Periods (N) : How many of the most recent periods CloudWatch looks at.

Datapoints to Alarm (M) : How many of those N periods must breach. The M datapoints do not need to be consecutive, so alarming when 3 out of the last 5 periods breach filters out transient network jitter while still catching persistent anomalous activity.

Security Anomaly Detection via Metric Math

Static thresholds often fail in security contexts due to diurnal workload cycles, batch processing schedules, and seasonal traffic swings. A hardcoded threshold of 1,000 HTTP 403 errors per minute may trigger false alerts during peak business hours while missing a credential-stuffing attack occurring during the middle of the night.

CloudWatch Metric Math allows security engineers to execute statistical queries and transformations across multiple metrics: // Expression to calculate the ratio of HTTP 4xx client errors against total request volume

  • // m1 = HTTPCode_Target_4XX_Count (Application Load Balancer)
  • // m2 = RequestCount (Application Load Balancer)
  • e1 = (m1 / m2) * 100

Beyond basic arithmetic, CloudWatch offers built-in Anomaly Detection . Anomaly detection applies machine learning algorithms to continuous metric history, automatically establishing dynamic upper and lower prediction bands that account for hourly, daily, and weekly seasonality. Security engineers configure alarms to fire when metrics breach these dynamic confidence bands: // Detect when outbound network egress exceeds expected upper confidence band by 3 standard deviations

  • ANOMALY_DETECTION_BAND(m1, 3)
  • Missing Data Treatment in Security Alarms

A critical exam consideration is how an alarm handles missing datapoints. CloudWatch provides four options:

Setting Behavior Security Operational Context

missing Alarm transitions to INSUFFICIENT_DATA Standard default; risky for security if an adversary stops a logging agent.

ignore Current state is maintained Retains previous state; suppresses flapping during known reporting outages.

breaching Missing datapoints count as exceeding threshold Critical for security heartbeats . If an endpoint or security agent stops reporting, the alarm transitions to ALARM immediately.

notBreaching Missing datapoints are treated as healthy Ideal for error-count metrics (e.g., WAF blocked requests) where zero errors results in no emitted datapoints.

Exam Tip : For heartbeat metrics where a security daemon or canary must report continuously, always configure missing data as breaching . If an adversary terminates the monitoring process or disables the network interface, the absence of data immediately triggers incident response.

Composite Alarms & Alarm Storm Suppression

In complex architectures, a single incident can generate dozens of correlated alerts. For instance, a distributed denial-of-service (DDoS) attack against an application tier can simultaneously trigger alarms for ALB response latency, target 5xx errors, backend EC2 CPU utilization, and database connection queue depth. Flooding security operations center (SOC) analysts with fragmented notifications induces alert fatigue and delays triage.

CloudWatch Composite Alarms aggregate multiple metric alarms using Boolean logic ( AND , OR , NOT ). Composite alarms do not evaluate raw metrics directly; they evaluate the state transitions of underlying metric alarms.

  • Boolean Expression Syntax
  • A composite alarm rule evaluates child alarm ARNs or alarm names: ALARM("High-ALB-HTTP-4XX-Ratio")
  • AND ALARM("High-WAF-Blocked-Requests")
  • AND NOT ALARM("Scheduled-Penetration-Testing-Active")

This expression ensures that a high-priority SOC alert fires only when both the load balancer and the web application firewall detect malicious patterns concurrently, while suppressing alerts if an operational maintenance or penetration testing alarm is currently active.

Alarm Actions and Suppressor Alarms

Composite alarms can also define an Alarm Suppressor . An alarm suppressor acts as a master gate: while the suppressor alarm is in the ALARM state, the composite alarm stops executing its configured notifications (such as Amazon SNS topics or Systems Manager OpsCenter items). This prevents secondary notification storms when a known major failure (such as an entire Direct Connect link failure) is already under active remediation.

CloudWatch Synthetics Canaries for Endpoint Integrity

While CloudWatch metrics provide internal resource telemetry, security teams require outside-in verification to detect silent endpoint degradation, unauthorized DNS redirection, SSL/TLS certificate tampering, and web defacement.

CloudWatch Synthetics deploys configurable scripts called canaries . Canaries run on a scheduled interval (e.g., every 1 or 5 minutes) powered by AWS Lambda, using Node.js runtimes (Puppeteer or Playwright driving headless Chromium) or Python runtimes (Selenium).

Loading diagram...

Canary Security Use Cases

TLS/SSL Handshake & Expiration Auditing : Canaries validate that HTTPS endpoints present valid certificates signed by authorized authorities, catching certificate expirations before public exposure and flagging unauthorized cipher downgrades.

Security Header Enforcement : Canaries assert the presence of defensive HTTP response headers, including Strict-Transport-Security (HSTS), Content-Security-Policy (CSP), X-Content-Type-Options: nosniff , and X-Frame-Options: DENY .

DOM Defacement & Malicious Script Injection : Canaries execute automated user journeys, clicking elements and validating that specific DOM nodes or text strings match expected hashes. If an attacker injects unauthorized JavaScript (such as a Magecart digital skimming script), the canary detects altered DOM structures or unexpected third-party outbound network calls.

Private VPC Canary Execution : For zero-trust internal microservices, canaries can be configured with an Amazon VPC configuration (Subnets and Security Groups). The canary provisions Elastic Network Interfaces (ENIs) inside the private subnet to probe internal ALBs and API Gateways without traversing the public internet. When deployed inside a VPC, the subnet must have access to Amazon S3 (via a VPC Gateway Endpoint) and CloudWatch (via VPC Interface Endpoints or a NAT Gateway) to publish logs, metrics, and screenshots.

Route 53 Health Checks & Automated Failure Isolation

Amazon Route 53 health checks monitor the operational status of web servers, load balancers, and network endpoints from geographically dispersed health checkers around the globe. In security architectures, Route 53 health checks serve as the automated tripwire for quarantine and DNS failover .

Health Check Types

Route 53 provides three distinct health check categories:

Endpoint Checks : Directly probe an IP address or fully qualified domain name (FQDN) over HTTP, HTTPS, or TCP. Evaluated on either a standard interval (30 seconds) or fast interval (10 seconds), with a configurable failure threshold (typically 3 consecutive failures).

Calculated Health Checks : Combine up to 256 individual health checks using Boolean logic ( AND , OR , NOT ) or an integer threshold rule (e.g., "healthy if at least 3 out of 5 child checks are healthy"). Security architects use calculated checks to monitor multi-tier stacks (e.g., Web tier AND Database tier must both report healthy).

CloudWatch Metric Monitors : Monitor a specific CloudWatch alarm rather than polling an external network endpoint. This allows Route 53 to trigger DNS rerouting based on complex internal application telemetry (e.g., memory exhaustion, authorization failure surges, or WAF block rates) that cannot be probed via external HTTP GET requests.

String Matching for Integrity Verification

A critical feature for security is String Matching on HTTP/HTTPS endpoint checks. Standard HTTP checks merely confirm that the endpoint returns a 2xx or 3xx status code. However, a compromised web server or one experiencing database connection failures might still serve a generic HTTP 200 error page or defaced content.

When string matching is enabled, Route 53 searches the first 5,120 bytes of the HTTP response body for a specific, expected alphanumeric string (e.g., "SYSTEM_HEALTHY_TOKEN_VALID" ). If the string is missing—even if the HTTP response code is 200 OK —Route 53 marks the target unhealthy.

DNS Failover Configurations

Route 53 associates health checks with DNS routing policies to automate traffic rerouting:

Active-Passive Failover : Directs production traffic to a primary resource (e.g., an Application Load Balancer). If the primary health check fails, Route 53 automatically updates DNS resolution to direct queries to a secondary disaster recovery site, a static S3 website containing a read-only emergency incident page, or a network sinkhole.

Active-Active Routing : Distributes traffic across multiple healthy endpoints using weighted, latency-based, or geolocation routing. Unhealthy endpoints are stripped from DNS responses automatically within seconds.

Exam Tip : Route 53 HTTPS health checks never validate the SSL/TLS certificate , so a check does not fail when the certificate is invalid or expired. Enabling SNI only sends the host name in the TLS client_hello so the endpoint can present the right certificate; it does not turn on certificate validation. To catch expired or swapped certificates, use a CloudWatch Synthetics canary, ACM expiration events for ACM-managed certificates, or an AWS Config rule.

EventBridge Rule Patterns for Security Event Routing

Amazon EventBridge is the central event bus for security automation in AWS. Rather than polling logs, EventBridge receives events pushed natively from AWS services, custom applications, and SaaS partners in real time.

Loading diagram...

Event Pattern Grammar & Matching Rules

EventBridge rules evaluate JSON event structures against defined Event Patterns . An event pattern matches only if the fields specified in the pattern are present and match the values in the incoming event.

Key pattern matching capabilities for security engineers include:

  • Exact String Matching : "detail-type": ["AWS API Call via CloudTrail"]
  • Prefix Matching : "eventName": [{"prefix": "Delete"}, {"prefix": "Stop"}]

Numeric Value Matching : Matching numerical thresholds, such as GuardDuty severities: "severity": [{"numeric": [">=", 7]}]

Anything-But Matching : Excluding expected service principals or authorized automated pipelines: "userIdentity": {"arn": [{"anything-but": "arn:aws:iam::123456789012:role/DeployPipelineRole"}]}

Nested-Field Matching : Flagging sessions that were not MFA-authenticated: "userIdentity": {"sessionContext": {"attributes": {"mfaAuthenticated": ["false"]}}}

Example Security Event Pattern

The following event pattern triggers an alert whenever an IAM policy is modified or deleted by any entity outside the approved deployment automation role: {

  • "source": ["aws.iam"],
  • "detail-type": ["AWS API Call via CloudTrail"],
  • "detail": {
  • "eventSource": ["iam.amazonaws.com"],
  • "eventName": [
  • "DeleteAccountPasswordPolicy",
  • "PutAccountPasswordPolicy",
  • "AttachGroupPolicy",
  • "DetachGroupPolicy",
  • "AttachRolePolicy",
  • "DetachRolePolicy",
  • "CreatePolicyVersion",
  • "SetDefaultPolicyVersion"
  • ],
  • "userIdentity": {
  • "sessionContext": {
  • "sessionIssuer": {
  • "userName": [{
  • "anything-but": "CI-CD-Automation-Executor"
  • }]
  • }
  • }
  • }
  • }
  • }
  • Target Resiliency and Dead-Letter Queues (DLQs)

In security incident response, missed notifications can result in undetected intrusions. When EventBridge routes an event to a target (such as an AWS Lambda remediation function or Amazon SNS topic), the target may fail to process the event due to service throttling, network partitions, or misconfigured IAM permissions.

To ensure auditability and zero event loss:

Configure Retry Policies : Specify maximum event age (up to 24 hours) and retry attempts (up to 185 attempts) with exponential backoff.

Configure a Dead-Letter Queue (DLQ) using an Amazon SQS standard queue. Any event that fails delivery after exhausting retries is deposited into the DLQ, where an automated alarm alerts security engineers to investigate the delivery failure.

Specialty Exam Pitfalls & Architectural Traps

Treating CloudWatch Alarms as Direct Evaluators of Multiple Metrics : Standard metric alarms evaluate a single metric or a single Metric Math output expression. They cannot natively evaluate MetricA > 10 AND MetricB > 20 . To achieve multi-condition evaluations, you must create two individual metric alarms and combine them in a Composite Alarm using Boolean logic.

VPC Endpoint Misconfigurations for Synthetics Canaries : When a Synthetics canary runs inside a private VPC subnet, it cannot access public AWS service endpoints. If the subnet lacks a NAT Gateway or VPC Interface Endpoints for CloudWatch ( com.amazonaws.<region>.monitoring ) and S3 Gateway Endpoints ( com.amazonaws.<region>.s3 ), the canary will fail with connection timeout errors and will be unable to upload test artifacts, HAR logs, or screenshots.

Route 53 External Health Check IP Filtering : Route 53 health checkers reside on public AWS IP ranges distributed worldwide. If your network access control lists (NACLs) or EC2 security groups restrict inbound traffic to specific corporate CIDRs without allowing Route 53 health checker IP addresses, health checks will fail even when the workload is healthy.

EventBridge Default Bus vs Custom Event Buses : Native AWS service events (CloudTrail, GuardDuty, Macie, Health) are emitted only to the default event bus . You cannot route native AWS service events directly onto a custom event bus; you must capture them on the default bus and optionally use a rule to forward them to a custom or cross-account event bus.

Loading diagram... Workload Security Observability & Automated Triage Architecture