Amazon S3 security depth (Block Public Access, Object Lock, Object Ownership, Access Points, S3 Access Grants), RDS/Aurora security specifics (encryption mechanics, IAM database authentication, Database Activity Streams), and AWS KMS Grants mechanics — the layer below the service-name level. You already know WHICH service to reach for; this bundle covers the mechanism-level detail the exam tests once you've picked the right service.
This bundle tests whether you know the SPECIFIC MECHANICS once you've already correctly identified the service — these are the "gotcha" details that separate "I know it's an S3 question" from actually getting the answer right: Governance vs Compliance mode, why IAM DB auth has a connection-rate ceiling, why KMS grants need a grant token for immediate use, and why retiring a grant differs from revoking one.
| Domain | Where This Bundle Shows Up |
|---|---|
| Data Protection | The centerpiece — S3 encryption/access controls, RDS encryption-at-rest vs in-transit, KMS Grants as a temporary-access mechanism |
| Identity & Access Management | KMS Grants vs key policies vs IAM policies, IAM database authentication, S3 Access Grants' corporate-identity mapping |
| Infrastructure Security | S3 network-level restrictions (VPC endpoints), RDS network isolation interplay with IAM auth |
| Threat Detection & Incident Response | Database Activity Streams as an insider-threat-resistant audit mechanism |
Accidentally public S3 data; deletable backups/compliance records in S3; static, unrotated database passwords; a privileged DBA insider tampering with or hiding their own activity; an application needing narrow, temporary KMS permissions without editing standing policy
Lock down S3 at multiple independent layers, eliminate static database credentials, make database activity tamper-resistant even against insiders, and grant KMS permissions dynamically without standing policy sprawl
The Service Hardening Depth Bundle
Enable Block Public Access account-wide; use Object Lock Compliance mode for regulated retention; enable IAM DB auth with connection pooling/RDS Proxy for high-throughput apps; enable Database Activity Streams for regulated workloads; use KMS Grants for short-lived, narrow, programmatic key permissions.
S3 server access logs / CloudTrail data events; RDS Enhanced Monitoring for IAM-auth-driven memory overhead; Database Activity Streams piped to a 3rd-party tool or Kinesis consumer; KMS grant usage via CloudTrail (CreateGrant/RetireGrant/RevokeGrant).
Tighten Block Public Access settings; retire/revoke a KMS grant once its purpose is served; rotate the master password if IAM auth precedence was misconfigured; review Activity Streams output for anomalous DBA-level activity.
generate-db-auth-token call itself — only the resulting database connection/query activity is visible elsewhere (e.g., via Activity Streams)Exam appearance probability: HIGH
PutBucketEncryption if genuinely needed; SSE-S3 or SSE-KMS provide equivalent protection with far greater flexibility for most workloadsaws:SecureTransport); this is not automatic.generate-db-auth-token to obtain a short-lived (15-minute) token, used AS the database password — no static credential needed, access controlled via IAM policyrds_iam role to a database user. If assigned to the MASTER user specifically, IAM authentication takes PRECEDENCE over password authentication — that master user must now log in via IAM, password auth no longer works for themrds_iam (IAM auth) and rds_ad (Kerberos/AD auth) assigned, directly or via nested grantsgenerate-db-auth-token API calls that authorize the connection. The resulting database session/query activity must be observed through a different mechanism (e.g., Database Activity Streams) if query-level audit visibility is requiredCreateGrant, a grant token lets the grantee use the grant's permissions IMMEDIATELY, before the grant has fully propagated — superseding the grant's validity until eventual consistency is achieved; once consistent, KMS uses the grant itself, not the token, to determine permissionsRequirement → Keywords → Expected Answer → why every distractor fails.
S3 Object Lock in Compliance mode
| Distractor | Why it's wrong |
|---|---|
| Object Lock in Governance mode | Removable by authorized administrative principals — doesn't meet the "not even root" bar |
| Versioning alone | Allows older versions to be deleted by anyone with sufficient permissions — provides no true immutability guarantee |
S3 Access Grants (via Trusted Identity Propagation)
| Distractor | Why it's wrong |
|---|---|
| S3 Access Points | Scopes access per-APPLICATION via dedicated hostnames, not per-individual-human-identity — solves a different granularity problem |
Not directly possible — CloudTrail does not log generate-db-auth-token calls
| Distractor | Why it's wrong |
|---|---|
| Assume CloudTrail logs this like any other API call | This is an explicitly documented exception — IAM database authentication token generation is NOT tracked by CloudTrail or CloudWatch |
Database Activity Streams
| Distractor | Why it's wrong |
|---|---|
| Enhanced Monitoring | Provides OS-level metrics (CPU, memory), not query-level audit content, and offers no DBA-tamper-resistance design |
| CloudTrail | Logs RDS management API calls (CreateDBInstance, etc.), not the actual SQL queries executed |
KMS Grant (create, use, then retire/revoke)
| Distractor | Why it's wrong |
|---|---|
| Editing the key policy or an IAM policy for the duration of the need | Requires manual editing and reverting standing policy documents — exactly the overhead grants are designed to avoid for temporary, narrow needs |
A PostgreSQL database user cannot have BOTH rds_iam (IAM authentication) and rds_ad (Kerberos/Active Directory authentication) assigned simultaneously — directly, or indirectly via a nested group grant. A scenario describing both being configured for the same user is describing an invalid, conflicting configuration.
generate-db-auth-token calls| Misconception | Reality |
|---|---|
| "S3 Object Lock Governance and Compliance mode provide equivalent immutability" | False — Governance mode is removable by authorized principals; Compliance mode is immutable for the life of the retention period, even from root |
| "Enabling IAM database authentication is purely additive and never changes existing password-auth behavior" | False — once rds_iam is assigned to the master user specifically, IAM auth TAKES PRECEDENCE, and password auth stops working for that user |
| "CloudTrail logs every database-related API call, including IAM auth token generation" | False — this is an explicitly documented exception; generate-db-auth-token calls are NOT tracked by CloudTrail or CloudWatch |
| "KMS Grants behave with the same synchronous consistency as key policies and IAM policies" | False — grants follow an eventually consistent model (typically <5 min); grant tokens exist specifically to bridge this gap for immediate use |
| "Retiring and revoking a KMS grant are the same action with different names" | They both delete the grant, but RETIRE is typically self-initiated by the grantee (or a delegated retiring principal), while REVOKE is typically administrator-initiated to actively/forcibly deny access |
| Comparison | What actually differs |
|---|---|
| S3 Access Points vs S3 Access Grants | Per-APPLICATION dedicated hostnames/policies on a shared bucket vs per-CORPORATE-IDENTITY (human) access mapped via Trusted Identity Propagation — different granularity and identity model |
| S3 Object Lock vs AWS Backup Vault Lock | Same Governance/Compliance WORM pattern, applied to S3 objects directly vs applied to an entire AWS Backup vault's recovery points |
| IAM database authentication vs Secrets Manager rotation | No static credential at all (token-based, 15-min validity) vs a static credential that's automatically ROTATED on a schedule — both eliminate manual password management, via fundamentally different mechanisms |
| Database Activity Streams vs CloudTrail (for RDS) | Captures actual SQL query/login activity, DBA-tamper-resistant vs captures RDS management API calls (CreateDBInstance, etc.), not query content |
| KMS Grants vs key policies/IAM policies | Temporary, narrow, programmatically created/destroyed, eventually consistent vs standing, broader, manually edited, synchronously evaluated |
Click card to flip. Mark right or wrong to track score.
SCS-C02 scenario style, Easy → Specialty. Select an answer to reveal the explanation.