復習シート
Design Secure Architectures
この分野の要点を数画面にまとめました。試験の前に読み返すためのものです。
この復習シートは今のところ英語で表示しています。
1.1Identities and policies
- No IAM users for staff: IAM Identity Center or federation. IAM users only for break-glass and tools without role support.
- Role = temporary credentials. Trust policy: who may assume. Permissions policy: what they can do.
- Session: 1 hour default, role maximum 1 to 12 hours, role chaining 1 hour at most.
- External ID in the trust policy stops the confused deputy problem with third parties.
- Policy order: explicit Deny, SCP, then boundary and session policy, then an Allow.
- Permissions boundary and SCP limit. They never grant.
1.1Identities and policies
- Same account: identity or resource policy is enough. Cross account: both must allow.
- KMS keys always need a key policy. Resource policy keeps the caller’s own permissions.
- Root-only: close account, root credentials, lockout recovery. No root access keys. MFA on root.
1
- Check
- Explicit Deny
- Needed
- None may match
2
- Check
- SCP
- Needed
- Must allow
3
- Check
- Permissions boundary
- Needed
- Must allow
4
- Check
- Session policy
- Needed
- Must allow
5
- Check
- Identity or resource policy
- Needed
- One must allow
| Step | Check | Needed |
|---|---|---|
| 1 | Explicit Deny | None may match |
| 2 | SCP | Must allow |
| 3 | Permissions boundary | Must allow |
| 4 | Session policy | Must allow |
| 5 | Identity or resource policy | One must allow |
1 / 2
1
- Check
- Explicit Deny
- Needed
- None may match
2
- Check
- SCP
- Needed
- Must allow
3
- Check
- Permissions boundary
- Needed
- Must allow
| Step | Check | Needed |
|---|---|---|
| 1 | Explicit Deny | None may match |
| 2 | SCP | Must allow |
| 3 | Permissions boundary | Must allow |
2 / 2
4
- Check
- Session policy
- Needed
- Must allow
5
- Check
- Identity or resource policy
- Needed
- One must allow
| Step | Check | Needed |
|---|---|---|
| 4 | Session policy | Must allow |
| 5 | Identity or resource policy | One must allow |
1.1Many accounts and sign-in
- Many accounts limit blast radius. OUs: Security, Infrastructure, Workloads, Sandbox.
- SCPs: guardrails for member accounts, root users included. Management account exempt.
- Deny list keeps FullAWSAccess and adds Denies. Allow list removes it.
- Delegated administrator runs a service for the organization, so the management account stays empty.
- Control Tower: landing zone, Log Archive and Audit accounts, Account Factory.
- Controls: preventive = SCP or RCP, detective = Config rule, proactive = CloudFormation hook.
- RAM shares subnets, Transit Gateway and Resolver rules. Shared VPC avoids peering per pair.
1.1Many accounts and sign-in
- Directory Service: Managed Microsoft AD (real AD, trust), AD Connector (proxy), Simple AD (basic, closed to new customers since July 2026).
Staff, many accounts
Staff, one account, SAML provider
- IAM SAML provider and role
App users, social sign-in
On-premises Active Directory users
Another AWS account
- Cross-account role
Third-party vendor
- Role with external ID
| Who signs in | Use |
|---|---|
| Staff, many accounts | |
| Staff, one account, SAML provider | IAM SAML provider and role |
| App users, social sign-in | |
| On-premises Active Directory users | |
| Another AWS account | Cross-account role |
| Third-party vendor | Role with external ID |
1 / 2
Staff, many accounts
Staff, one account, SAML provider
- IAM SAML provider and role
App users, social sign-in
On-premises Active Directory users
| Who signs in | Use |
|---|---|
| Staff, many accounts | |
| Staff, one account, SAML provider | IAM SAML provider and role |
| App users, social sign-in | |
| On-premises Active Directory users |
2 / 2
Another AWS account
- Cross-account role
Third-party vendor
- Role with external ID
| Who signs in | Use |
|---|---|
| Another AWS account | Cross-account role |
| Third-party vendor | Role with external ID |
1.2Network layers
- Tiers: public (load balancer, NAT), private (app), isolated (database). At least two AZs.
- One NAT gateway per AZ for resilience and no cross-AZ charges (or one Regional gateway). A NAT instance needs source/destination check turned off.
- Egress-only internet gateway: IPv6 outbound only.
- Security group chaining: reference the tier in front, not a CIDR range.
- Network ACL: stateless, numbered, first match wins, needs ephemeral ports 1024 to 65535.
- Gateway endpoint: S3 and DynamoDB, free, not from on premises. Interface endpoint: PrivateLink, hourly and per GB.
- Bucket policy with aws:sourceVpce locks a bucket to an endpoint.
1.2Network layers
- Network Firewall: domain filtering, Suricata rules, central inspection with Transit Gateway.
- Flow Logs show accepted and rejected traffic. Reachability Analyzer needs no traffic.
Allow tier to tier
- Security group referencing a group
Block one IP range
- Network ACL deny rule
Allow only listed domains outbound
- Network Firewall
Block web attacks on an ALB
- WAF
Private access to S3, no cost
- Gateway endpoint
Private access to SQS API
- Interface endpoint
| Need | Use |
|---|---|
| Allow tier to tier | Security group referencing a group |
| Block one IP range | Network ACL deny rule |
| Allow only listed domains outbound | Network Firewall |
| Block web attacks on an ALB | WAF |
| Private access to S3, no cost | Gateway endpoint |
| Private access to SQS API | Interface endpoint |
1 / 2
Allow tier to tier
- Security group referencing a group
Block one IP range
- Network ACL deny rule
Allow only listed domains outbound
- Network Firewall
Block web attacks on an ALB
- WAF
| Need | Use |
|---|---|
| Allow tier to tier | Security group referencing a group |
| Block one IP range | Network ACL deny rule |
| Allow only listed domains outbound | Network Firewall |
| Block web attacks on an ALB | WAF |
2 / 2
Private access to S3, no cost
- Gateway endpoint
Private access to SQS API
- Interface endpoint
| Need | Use |
|---|---|
| Private access to S3, no cost | Gateway endpoint |
| Private access to SQS API | Interface endpoint |
1.2Applications and threats
- WAF attaches to CloudFront, ALB, API Gateway REST, AppSync and Cognito. Not NLB.
- WAF rules: managed groups (SQLi, XSS), rate-based, geo match, IP sets.
- Shield Standard: free, layer 3 and 4. Advanced: paid, Response Team, cost protection, layer 7 with WAF.
- DDoS pattern: Route 53, CloudFront, WAF, ALB, Auto Scaling. Hide the origin.
- Firewall Manager applies WAF, Shield Advanced, security group and Network Firewall policies to all accounts.
- Secrets Manager rotates and replicates secrets. Parameter Store is cheaper, with no rotation.
- Never put credentials in code, AMIs or user data.
1.2Applications and threats
- Session Manager: no inbound ports, no SSH, no bastion. EC2 Instance Connect: SSH with short-lived keys, port 22 still open.
- Cognito user pool: sign-in, JWTs. Identity pool: AWS credentials.
- Does
- Detects threats from logs
- Remember
- Findings to EventBridge
- Does
- Scans for vulnerabilities
- Remember
- EC2, ECR, Lambda
- Does
- Finds sensitive data in S3
- Remember
- Classification
- Does
- Investigates root cause
- Remember
- After a finding
- Does
- Collects findings, checks standards
- Remember
- One view
| Service | Does | Remember |
|---|---|---|
| Detects threats from logs | Findings to EventBridge | |
| Scans for vulnerabilities | EC2, ECR, Lambda | |
| Finds sensitive data in S3 | Classification | |
| Investigates root cause | After a finding | |
| Collects findings, checks standards | One view |
1 / 2
2 / 2
- Does
- Investigates root cause
- Remember
- After a finding
- Does
- Collects findings, checks standards
- Remember
- One view
| Service | Does | Remember |
|---|---|---|
| Investigates root cause | After a finding | |
| Collects findings, checks standards | One view |
1.3Keys, certificates and S3
- Envelope encryption: a data key encrypts data, a KMS key encrypts the data key.
- KMS key policy is required. Cross-account needs the key policy and the other account’s IAM.
- Rotation: yearly by default, custom or on demand. Imported material: no automatic rotation.
- Key deletion waits 7 to 30 days. Multi-Region keys: same key in several Regions.
- CloudHSM: single tenant, FIPS 140 Level 3, you control keys. Custom key store links it to KMS.
- ACM: DNS validation renews itself. CloudFront certificates must be in us-east-1. Not on EC2 directly.
- SNI: several certificates on one ALB or CloudFront.
1.3Keys, certificates and S3
- S3: SSE-S3, SSE-KMS (audit), DSSE-KMS (two layers), SSE-C (off by default on new buckets since April 2026).
- S3: Block Public Access. Versioning, MFA Delete.
- Object Lock: governance can be overridden. Compliance cannot, even by root.
- RDS encryption is set at creation. Encrypt later through a snapshot copy.
Managed keys with audit trail
Single-tenant hardware, keys only you hold
HTTPS certificate that renews itself
Database password with rotation
Config values at low cost
- Parameter Store
| Need | Use |
|---|---|
| Managed keys with audit trail | |
| Single-tenant hardware, keys only you hold | |
| HTTPS certificate that renews itself | |
| Database password with rotation | |
| Config values at low cost | Parameter Store |
1 / 2
Managed keys with audit trail
Single-tenant hardware, keys only you hold
HTTPS certificate that renews itself
Database password with rotation
| Need | Use |
|---|---|
| Managed keys with audit trail | |
| Single-tenant hardware, keys only you hold | |
| HTTPS certificate that renews itself | |
| Database password with rotation |
2 / 2
Config values at low cost
- Parameter Store
| Need | Use |
|---|---|
| Config values at low cost | Parameter Store |
1.3Governance and recovery
- Config: what a resource looks like and whether it follows rules. Auto-remediation uses Systems Manager.
- CloudTrail: who made the API call. CloudWatch: how it performs.
- Data events and Insights events are off by default and cost extra.
- Organization trail: every account, members cannot change it. Integrity validation shows tampering.
- Macie finds PII in S3. Artifact gives AWS audit reports.
- Residency: choose the Region, block others with an SCP.
- AWS Backup: plans, cross-Region and cross-account copy, Vault Lock, restore testing.
- Replication copies deletes and corruption. Backups keep history.
1.3Governance and recovery
- S3: CRR for another Region, SRR for the same Region. Both need versioning.
Who deleted the resource?
What was its setting last month?
Where is personal data in S3?
Give the auditor AWS’s SOC report
No deletion for years, by anyone
- Object Lock or Vault Lock, compliance
| Question | Service |
|---|---|
| Who deleted the resource? | |
| What was its setting last month? | |
| Where is personal data in S3? | |
| Give the auditor AWS’s SOC report | |
| No deletion for years, by anyone | Object Lock or Vault Lock, compliance |
1 / 2
Who deleted the resource?
What was its setting last month?
Where is personal data in S3?
Give the auditor AWS’s SOC report
| Question | Service |
|---|---|
| Who deleted the resource? | |
| What was its setting last month? | |
| Where is personal data in S3? | |
| Give the auditor AWS’s SOC report |
2 / 2
No deletion for years, by anyone
- Object Lock or Vault Lock, compliance
| Question | Service |
|---|---|
| No deletion for years, by anyone | Object Lock or Vault Lock, compliance |
試験のひっかけ
- “Developers may create roles but never exceed their own rights” → permissions boundary, not an SCP.
- “Stop every account, even administrators, from using other Regions” → SCP, not an IAM policy.
- “An SCP allows an action but users cannot do it” → the IAM policy must also allow it.
- “Third-party vendor assumes a role” → external ID in the trust policy.
- “Sessions longer than one hour” → role maximum duration, not role chaining, which caps at one hour.
- “Block SQL injection on an ALB” → WAF, not Shield and not Network Firewall.
試験のひっかけ
- “Allow outbound traffic only to listed domains” → Network Firewall, not a network ACL.
- “WAF in front of a Network Load Balancer” → not possible. Use security groups or Network Firewall.
- “CloudFront custom domain certificate” → ACM in us-east-1, whatever the origin Region.
- “Rotate the RDS password automatically” → Secrets Manager, not Parameter Store.
- “Nobody can delete, not even root” → Object Lock or Vault Lock in compliance mode, not governance mode.
試験のひっかけ
- “Who read objects in the bucket” → CloudTrail data events (off by default) or S3 server access logs, not the default CloudTrail trail.
- “Encrypt an existing RDS database” → snapshot, encrypted copy, restore. Not a setting on the live instance.