[{"data":1,"prerenderedAt":431},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-devops-engineer-professional\u002Flessons\u002Famazon-s3-bucket-security-boundaries-dop-c02":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":17,"components":189,"diagrams":237,"steps":269,"dateModified":426,"course":427,"nextLesson":428},"amazon-s3-bucket-security-boundaries-dop-c02","Amazon S3: bucket security boundaries","How bucket policies, Object Ownership, Block Public Access, and encryption secure private repositories and destinations for logs and Firehose-delivered metric streams.",[190,196,200,204,208,212,216,220,224,228,232],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-cloudwatch","service","Amazon CloudWatch","\u002Fimages\u002Fprovider-services\u002Famazon-cloudwatch\u002Fcovers\u002FArch_Amazon-CloudWatch_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"amazon-kinesis-data-firehose","Amazon Data Firehose","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-firehose\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Firehose_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-kinesis-data-streams","Amazon Kinesis Data Streams","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-streams\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Streams_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"amazon-managed-service-for-apache-flink","Amazon Managed Service for Apache Flink","\u002Fimages\u002Fprovider-services\u002Famazon-managed-service-for-apache-flink\u002Fcovers\u002FArch_Amazon-Managed-Service-for-Apache-Flink_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"amazon-s3","Amazon S3","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FArch_Amazon-Simple-Storage-Service_64.png",{"key":213,"kind":192,"name":214,"icon":215,"provider":195},"aws-cloudtrail","AWS CloudTrail","\u002Fimages\u002Fprovider-services\u002Faws-cloudtrail\u002Fcovers\u002FArch_AWS-CloudTrail_64.png",{"key":217,"kind":192,"name":218,"icon":219,"provider":195},"aws-config","AWS Config","\u002Fimages\u002Fprovider-services\u002Faws-config\u002Fcovers\u002FArch_AWS-Config_64.png",{"key":221,"kind":192,"name":222,"icon":223,"provider":195},"aws-key-management-service-(aws-kms)","AWS Key Management Service (AWS KMS)","\u002Fimages\u002Fprovider-services\u002Faws-key-management-service-(aws-kms)\u002Fcovers\u002FArch_AWS-Key-Management-Service_64.png",{"key":225,"kind":192,"name":226,"icon":227,"provider":195},"aws-secrets-manager","AWS Secrets Manager","\u002Fimages\u002Fprovider-services\u002Faws-secrets-manager\u002Fcovers\u002FArch_AWS-Secrets-Manager_64.png",{"key":229,"kind":192,"name":230,"icon":231,"provider":195},"aws-x-ray","AWS X-Ray","\u002Fimages\u002Fprovider-services\u002Faws-x-ray\u002Fcovers\u002FArch_AWS-X-Ray_64.png",{"key":233,"kind":234,"name":235,"icon":236,"provider":195},"amazon-s3-bucket","part","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",[238],{"key":239,"cards":240,"groups":259,"lines":260},"private-destinations",[241,244,247,250,253,256],{"key":242,"component":191,"label":243},"metrics","CloudWatch metric stream",{"key":245,"component":197,"label":246},"delivery","Firehose: dedicated S3 delivery role",{"key":248,"component":233,"label":249},"metrics-store","Metrics bucket: Bucket owner enforced; Block Public Access; SSE-KMS",{"key":251,"component":221,"label":252},"key","Customer managed key: authorized delivery role",{"key":254,"component":213,"label":255},"audit","CloudTrail: designated trail",{"key":257,"component":233,"label":258},"logs-store","Logs bucket: source-scoped CloudTrail grant; Bucket owner enforced; Block Public Access; SSE-S3",[],[261,263,265,267],{"from":242,"to":245,"label":262},"Metric records",{"from":245,"to":248,"label":264},"Role-authorized objects",{"from":248,"to":251,"label":266},"Data-key request",{"from":254,"to":257,"label":268},"Source-scoped logs",[270,292,314,347,369,386,400,403,413],{"kind":271,"title":272,"body":273,"table":274},"explanation","Separate permission, ownership, and public exposure","\u003Cp>A private general purpose bucket needs several independent controls. A \u003Cstrong>bucket policy\u003C\u002Fstrong> grants or denies actions against resources: \u003Ccode>s3:ListBucket\u003C\u002Fcode> uses the bucket ARN, while \u003Ccode>s3:GetObject\u003C\u002Fcode> and \u003Ccode>s3:PutObject\u003C\u002Fcode> use object ARNs, usually restricted to a prefix. A prefix is a naming boundary, not a separate authorization container. An applicable \u003Cstrong>explicit deny\u003C\u002Fstrong> overrides an allow; cross-account access generally requires authorization from both the caller's account and the bucket's account.\u003C\u002Fp>\u003Cp>\u003Cstrong>S3 Object Ownership\u003C\u002Fstrong> set to \u003Cstrong>Bucket owner enforced\u003C\u002Fstrong> disables ACLs and makes the bucket owner own uploaded objects, including cross-account uploads. Access then depends on policies, not uploader-owned ACL grants. Uploads without an ACL, or with \u003Ccode>bucket-owner-full-control\u003C\u002Fcode>, are accepted; requests specifying other ACLs fail. This setting does not itself grant a writer access.\u003C\u002Fp>\u003Cp>\u003Cstrong>Block Public Access\u003C\u002Fstrong> is a guardrail, not a replacement for authorization. Enable all four settings at account and bucket scope for private repositories; S3 applies the most restrictive applicable combination. The settings block or ignore public ACLs and block or restrict public bucket policies. They do not prevent explicitly authorized private access, and they do not stop an attacker using credentials that already have permission.\u003C\u002Fp>",{"columns":275,"rows":279},[276,277,278],"Control","Primary job","Does not provide",[280,284,288],[281,282,283],"Bucket policy","Authorize resource access","Object ownership",[285,286,287],"Bucket owner enforced","Disable ACL authorization","Writer permission",[289,290,291],"Block Public Access","Constrain public exposure","Protection from authorized credentials",{"kind":293,"title":294,"exercise":295},"exercise","Locate the control",{"type":296,"question":297,"groups":298,"statements":300},"versus","Sort each action by whether it belongs in a bucket policy or in the ownership\u002Fpublic-access guardrails.",[281,299],"Object Ownership or Block Public Access",[301,304,306,308,310,312],{"text":302,"group":303},"Allow a named delivery role to put objects under metrics\u002F*.",0,{"text":305,"group":303},"Deny an object operation when a required condition is not met.",{"text":307,"group":303},"Grant ListBucket against the bucket ARN.",{"text":309,"group":12},"Make the bucket owner own cross-account uploads and disable ACLs.",{"text":311,"group":12},"Block new public bucket policies.",{"text":313,"group":12},"Ignore public ACL grants.",{"kind":271,"title":315,"body":316,"diagram":239,"walkthrough":317},"Authorize the actual delivery identity","\u003Cp>The diagram separates two private destinations: \u003Cstrong>Firehose-delivered metric objects\u003C\u002Fstrong> and \u003Cstrong>CloudTrail log objects\u003C\u002Fstrong>. Both buckets disable ACLs and block public access. Their writers differ: CloudWatch metric streams target \u003Cstrong>Amazon Data Firehose\u003C\u002Fstrong>, not Kinesis Data Streams or Managed Service for Apache Flink. CloudTrail records AWS API activity; AWS Config records resource configuration, while AWS X-Ray traces application requests.\u003C\u002Fp>\u003Cp>For metrics, a role trusted by \u003Ccode>streams.metrics.cloudwatch.amazonaws.com\u003C\u002Fcode> authorizes CloudWatch to submit records to Firehose. A separate delivery role trusted by \u003Ccode>firehose.amazonaws.com\u003C\u002Fcode> authorizes Firehose's destination operations. Scope its S3 permissions to the destination bucket and object prefix, including required multipart and bucket operations. Granting \u003Ccode>cloudwatch.amazonaws.com\u003C\u002Fcode> permission to write the bucket would not authorize this delivery-role request.\u003C\u002Fp>\u003Cp>For CloudTrail, the bucket policy grants \u003Ccode>cloudtrail.amazonaws.com\u003C\u002Fcode> the documented bucket ACL check and object-write permissions, restricted to the expected log path and \u003Cstrong>trail source ARN\u003C\u002Fstrong>. Its documented \u003Ccode>bucket-owner-full-control\u003C\u002Fcode> condition is compatible with Bucket owner enforced. For direct service-principal grants, use supported \u003Ccode>aws:SourceArn\u003C\u002Fcode> and \u003Ccode>aws:SourceAccount\u003C\u002Fcode> restrictions to bind delivery to the intended source; do not assume every role-based S3 request carries those source keys.\u003C\u002Fp>",[318,321,326,331,336,339,344],{"text":319,"cards":320},"The CloudWatch metric stream is the source of metric records. Its service role authorizes submission to the configured delivery stream.",[242],{"text":322,"cards":323,"lines":324},"Firehose receives those metric records and uses its own delivery role for destination access.",[245],[325],{"from":242,"to":245},{"text":327,"cards":328,"lines":329},"Firehose writes objects to the metrics bucket under its delivery-role identity. Bucket owner enforced removes ACL-based ownership differences, while Block Public Access remains enabled.",[248],[330],{"from":245,"to":248},{"text":332,"cards":333,"lines":334},"For SSE-KMS, S3 requests a data key from the configured customer managed KMS key on behalf of the writer. This arrow represents a key operation, not delivery of metric records to KMS.",[251],[335],{"from":248,"to":251},{"text":337,"cards":338},"The designated CloudTrail trail is an independent source of audit log files.",[254],{"text":340,"cards":341,"lines":342},"CloudTrail delivers to a separate logs bucket using its source-scoped service-principal grant. This destination uses SSE-S3 and does not need a customer managed KMS key.",[257],[343],{"from":254,"to":257},{"text":345,"cards":346},"Each delivery path has its own authorization boundary, while ownership, public-access protection, and encryption remain separate controls.",[],{"kind":293,"title":348,"exercise":349},"Restore the delivery and key services",{"type":350,"diagram":239,"question":351,"hidden":352,"tray":353},"palette","Fill the three empty service slots using the metric-stream destination, API-audit source, and SSE-KMS key-operation relationships.",[245,254,251],[354,355,356,357,359,361,363,365,367],{"component":197},{"component":213},{"component":221},{"component":201,"reason":358},"CloudWatch metric streams target Firehose, not Kinesis Data Streams.",{"component":205,"reason":360},"Flink is not the delivery destination configured for a CloudWatch metric stream.",{"component":217,"reason":362},"Config records resource configuration rather than providing this trail of AWS API activity.",{"component":229,"reason":364},"X-Ray traces application requests rather than delivering CloudTrail API audit files.",{"component":191,"reason":366},"CloudWatch supplies the metric stream here; it is neither the API audit trail nor the SSE-KMS key service.",{"component":209,"reason":368},"S3 requests the SSE-KMS data key; KMS is the separate service that authorizes and supplies that key.",{"kind":271,"title":370,"body":371,"table":372},"Encryption adds a separate authorization boundary","\u003Cp>\u003Cstrong>SSE-S3\u003C\u002Fstrong> encrypts objects with S3-managed keys. \u003Cstrong>SSE-KMS\u003C\u002Fstrong> adds KMS authorization and key-management control; it does not replace S3 permission checks. An SSE-KMS upload needs authorization to use the key, including \u003Ccode>kms:GenerateDataKey\u003C\u002Fcode>; multipart uploads also require \u003Ccode>kms:Decrypt\u003C\u002Fcode>. Reading an SSE-KMS object requires both S3 read permission and KMS decrypt authorization. Coordinate the caller's IAM permissions with the KMS key policy; cross-account use requires a customer managed key and authorization on both sides.\u003C\u002Fp>\u003Cp>\u003Cstrong>Default bucket encryption\u003C\u002Fstrong> applies to new writes that do not select encryption explicitly. Changing the default does not re-encrypt existing objects, and a default alone does not prevent a client from requesting a different supported encryption choice. If the bucket policy requires an explicit SSE-KMS header and a particular key ARN, configure Firehose to send those values. A deny for a missing header rejects a headerless upload even when the bucket default would otherwise encrypt it.\u003C\u002Fp>\u003Cp>Encryption at rest does not secure network transport or neutralize stolen credentials. Enforce \u003Cstrong>TLS\u003C\u002Fstrong> with a deny conditioned on \u003Ccode>aws:SecureTransport\u003C\u002Fcode> being false, covering bucket and object resources. When such network-based denies must preserve AWS service delivery, use the documented \u003Ccode>aws:PrincipalIsAWSService\u003C\u002Fcode> exception for direct service principals; service-to-service calls can have network context redacted. AWS Secrets Manager stores secrets; it is not the KMS API used by S3 for SSE-KMS.\u003C\u002Fp>",{"columns":373,"rows":377},[374,375,376],"Encryption","Key control","Authorization for object access",[378,382],[379,380,381],"SSE-S3","S3-managed keys","S3 permissions",[383,384,385],"SSE-KMS","KMS policies and controls","S3 plus KMS permissions",{"kind":293,"title":387,"exercise":388},"Follow the encrypted metric write",{"type":389,"diagram":239,"scenario":390,"path":391},"trace","A metric batch is delivered to the configured SSE-KMS bucket; follow its delivery and the resulting data-key request, assuming that request is required.",[392,394,396,398],{"card":242,"note":393},"The metric-stream role authorizes CloudWatch to submit metric records to Firehose.",{"card":245,"note":395},"Firehose uses its separate delivery role to perform destination operations.",{"card":248,"note":397},"S3 authorizes the object write and applies the configured SSE-KMS encryption choice.",{"card":251,"note":399},"KMS authorizes the data-key operation on behalf of the writer; an S3 allow cannot override a KMS denial.",{"kind":271,"title":401,"body":402},"Keep the boundaries strict without breaking delivery","\u003Cp>Use the same layered model for a \u003Cstrong>private artifact repository\u003C\u002Fstrong>: enable Bucket owner enforced and Block Public Access, give publishing and consuming roles only their required prefix-level operations, and choose encryption independently. Explicitly permitting one role is not a universal allowlist: another same-account identity policy can still authorize access unless an applicable restriction prevents it. Avoid broad write grants, and protect the permissions that can change bucket policies, public-access settings, and encryption controls.\u003C\u002Fp>\u003Cp>For the diagram, preserve the \u003Cstrong>two distinct delivery paths\u003C\u002Fstrong>. Metric records must pass through Firehose and its destination role before becoming objects in the metrics bucket. S3's data-key request then reaches KMS for that bucket's SSE-KMS configuration. CloudTrail instead writes audit files directly to the SSE-S3 logs bucket through its source-scoped service grant. These are the complete delivery and key-operation relationships shown; no replication or onward forwarding is configured.\u003C\u002Fp>\u003Cp>Align \u003Cstrong>policy conditions with producer behavior\u003C\u002Fstrong>: check the actual principal, object prefix, supported source conditions, ACL header, transport, and encryption headers. Do not repair a delivery failure by disabling public-access protection or enabling ACLs. A missing S3 grant, incompatible explicit deny, or missing KMS permission needs a targeted correction at its own boundary.\u003C\u002Fp>",{"kind":293,"title":404,"exercise":405},"Rebuild the private destination boundaries",{"type":406,"diagram":239,"question":407,"decoys":408},"build","Rebuild the complete metric and audit-log delivery architecture, preserving the labelled private-bucket controls, delivery identities, and separate SSE-KMS key operation.",[409,411],{"component":201,"reason":410},"The CloudWatch metric stream requires Firehose as its configured delivery destination, not Kinesis Data Streams.",{"component":225,"reason":412},"S3's SSE-KMS data-key operation requires KMS; Secrets Manager stores secrets rather than providing that KMS operation.",{"kind":271,"title":414,"body":415,"takeaways":416},"What to remember","\u003Cp>A \u003Cstrong>private S3 boundary\u003C\u002Fstrong> combines precise authorization, bucket-owned objects, public-access guardrails, and encryption that matches each producer's actual requests.\u003C\u002Fp>",[417,420,423],{"title":418,"text":419},"Controls are independent","Bucket policies authorize access, Bucket owner enforced disables ACLs, and Block Public Access constrains public exposure. None protects against every action made with already-authorized credentials.",{"title":421,"text":422},"Authorize the real writer","Firehose uses its delivery role for S3 writes; CloudTrail uses its service-principal grant. Match prefixes and supported source conditions without weakening ownership or public-access controls.",{"title":424,"text":425},"Encryption must fit delivery","SSE-KMS requires key authorization as well as S3 authorization. Defaults do not rewrite existing objects, and header-based denies must match what the producer actually sends.","2026-10-29T23:39:10.927Z",{"pageSlug":44,"code":43,"certification":42,"certificationSlug":44},{"slug":429,"title":430},"waterfall-model-vs-ci-cd-lifecycle-governance-and-delivery-automation-dop-c02","Waterfall Model vs CI\u002FCD: lifecycle governance and delivery automation",1796130154611]