AWS - CloudOps Engineer Associate Study Guide

    4: Security and Compliance

    This chapter builds the security and compliance layer for AWS CloudOps work. It covers identity (IAM, MFA, federated access through IAM Identity Center), secrets storage with rotation in AWS Secrets Manager and AWS Systems Manager Parameter Store SecureString, access auditing through AWS CloudTrail, IAM Access Analyzer, and the IAM policy simulator, encryption at rest and in transit with AWS KMS and AWS Certificate Manager, organization-wide compliance through AWS Config conformance packs, AWS Organizations SCPs, and AWS Control Tower, and the findings surface across AWS Security Hub, Amazon GuardDuty, Amazon Inspector, AWS Security Agent, and Amazon Macie.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Implement and manage security and compliance policies, including secure secret storage with AWS Secrets Manager and AWS Systems Manager Parameter Store SecureString plus rotation.
    • Configure IAM password policies, MFA, roles, federated identity, resource-based policies, and policy conditions; apply least privilege; use IAM Identity Center; and remediate findings from AWS Security Hub, Amazon GuardDuty, AWS Config, Amazon Inspector, AWS Security Agent, and Amazon Macie.
    • Troubleshoot and audit access issues with AWS CloudTrail, IAM Access Analyzer, and the IAM policy simulator.
    • Implement, configure, and troubleshoot encryption at rest (AWS KMS key-policy misconfigurations, SSE-KMS failures, Amazon EBS encryption errors) and encryption in transit (AWS Certificate Manager renewal/expiry failures, Elastic Load Balancing TLS listener misconfigurations).
    • Enforce compliance through Region and service selection, AWS Config conformance packs and rules, AWS Organizations SCPs, and AWS Control Tower.
    • Remediate AWS Trusted Advisor security-pillar checks (open security-group ports, root-account MFA, exposed IAM access keys, public S3 buckets, AWS CloudTrail enabled).
    • Implement data and infrastructure protection strategies, including a working data classification scheme.

    Executive Summary

    • Identity is the perimeter. IAM principals, conditions, resource policies, MFA, and federation through IAM Identity Center form the gate. Every operational shortcut that bypasses identity (long-lived access keys, root logins, broad wildcards) is a finding waiting to be raised by AWS Security Hub or IAM Access Analyzer.
    • Secrets and certificates have lifecycles. AWS Secrets Manager rotates secrets through a Lambda function; AWS Systems Manager Parameter Store SecureString does not rotate by itself; AWS Certificate Manager auto-renews only DNS-validated public certificates with a working validation CNAME.
    • Encryption is two surfaces (at rest and in transit) glued together by AWS KMS key policies. Most "access denied" decryption errors are key-policy or grant problems, not principal-policy problems.
    • Governance scales by guardrails, not by per-account policies. AWS Organizations SCPs deny what no one should do anywhere; AWS Control Tower lays down the landing zone; AWS Config conformance packs continuously evaluate the rules.
    • AWS Trusted Advisor is the daily security checklist. Operators must remediate the five canonical security-pillar checks (open ports, root MFA, exposed keys, public buckets, CloudTrail enabled) before any external auditor sees them.
    • A data classification scheme drives every downstream control: encryption strength, who can access, where data may be stored, how long it lives, and what is logged.

    Assumptions

    • The reader is comfortable with AWS CLI v2, IAM JSON policy syntax, and Systems Manager. Concepts and terms defined in Chapters 1, 2, and 3 (CloudWatch, EventBridge, AWS Systems Manager Automation runbooks, AWS CloudFormation, AWS RAM) are reused without re-introduction.
    • All examples are written in a single fictional AWS Organization that uses AWS Control Tower, with management, log archive, audit, and three workload accounts (dev, staging, prod). Region examples default to us-east-1 unless an example explicitly involves multi-Region behavior.
    • This chapter focuses on the security and compliance surface that an operator owns. Application-layer secrets handling in code, secure SDLC, and threat modeling sit in adjacent disciplines and are out of scope.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account