aws saa-c03

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/103

encourage image

There's no tags or description

Looks like no tags are added yet.

104 Terms

1
New cards

"An application on EC2 needs to write to DynamoDB. What's the MOST secure way to provide credentials?"

IAM role attached to the instance (instance profile) — never access keys on the box.

2
New cards

"A Lambda function must read from an S3 bucket. How should it authenticate?"


Lambda execution role with S3 read permissions — same costume pattern, serverless flavor.


3
New cards

Users in Account A need temporary access to resources in Account B.

Create a role in Account B with a trust policy trusting Account A; users AssumeRole via STS — "temporary" + "another account" = cross-account role.

4
New cards

A user's identity policy allows s3:PutObject, but uploads fail with Access Denied.

Look for an explicit Deny — bucket policy, SCP, or permission boundary — explicit Deny always beats Allow.

5
New cards

An action works in a standalone account but fails in an account inside AWS Organizations.

A Service Control Policy is blocking it — "Organizations" is the tell.

6
New cards

Developers may create IAM roles for their apps, but security wants a guarantee those roles can never exceed a defined permission set.

Permission boundaries — "maximum permissions" / "cannot exceed" is the signal.

7
New cards

5,000 employees with existing Active Directory logins need access to multiple AWS accounts without creating IAM users."

IAM Identity Center with SAML federation to AD — "existing corporate directory" + "multiple accounts" + "no IAM users".

8
New cards

An application needs short-lived credentials that expire automatically." → STS AssumeRole

temporary/short-lived credentials" is literally STS's product.

9
New cards

Require that users can only terminate EC2 instances if they've signed in with MFA.

Policy Condition with aws:MultiFactorAuthPresent — sensitive action + MFA = that condition key.




10
New cards

A new AWS account was just created. What should be done FIRST to secure it?

Enable MFA on the root user, delete/avoid root access keys, create an admin user for daily work.

11
New cards

EC2/app needs AWS access, "most secure"

Instance role (instance profile), never keys

12
New cards

Lambda needs permissions

Execution role

13
New cards

Hardcoded / stored access keys

Wrong — replace with a role

14
New cards

Temporary / short-lived credentials

STS AssumeRole

15
New cards

Access across AWS accounts

Role in target account + trust policy

16
New cards

Third party assumes your role safely

ExternalId in trust policy

17
New cards

Role exists but "can't be assumed"

Fix the trust policy

18
New cards

Allow exists but action denied

Explicit Deny / SCP / permission boundary

19
New cards

Org-wide restriction, applies even to root

SCP (AWS Organizations)

20
New cards

Cap max permissions of ONE user/role

Permission boundary

21
New cards

Policy on the resource, has a Principal

Resource-based policy (e.g., bucket policy)

22
New cards

Legacy S3 grant mechanism, avoid

S3 ACL (≠ Network ACL)

23
New cards

SSO, one login → many AWS accounts

IAM Identity Center

24
New cards

Federate Okta / Azure AD / corporate AD

IAM Identity Center + SAML 2.0

25
New cards

Federate app customers (Google/Facebook login)

Cognito

26
New cards

Require MFA for an action

Condition: aws:MultiFactorAuthPresent

27
New cards

Root account

MFA on, no access keys, don't use daily

28
New cards

Who is my resource shared with externally?

IAM Access Analyzer

29
New cards

Find unused users / stale permissions

Credentials report / access advisor

30
New cards

Compliance data accessed about twice a year; auditors must receive it within 10 minutes. Most cost-effective class?

Glacier Flexible Retrieval (Deep Archive can never beat 12 hr; Instant passes but costs more; Flexible Expedited = 1–5 min).

31
New cards

Records retained 7 years, almost never accessed, retrieval within 2 business days is acceptable. Cheapest?

Glacier Deep Archive (deadline ≥ 12 hr finally lets the cheapest class survive).

32
New cards

Access patterns are unknown and unpredictable; minimize cost without performance impact.

Intelligent-Tiering ("unknown/unpredictable" is its one and only signal).


33
New cards

Thumbnails can be regenerated from originals at any time; store infrequently accessed copies cheaply.

One Zone-IA ("can be regenerated" = single-AZ risk is acceptable).

34
New cards

Processing artifacts are deleted after 20 days. Cheapest class?

S3 Standard (under every minimum duration — IA/Glacier would bill 30–180 days anyway).

35
New cards

Security must audit exactly when each encryption key was used, and control key rotation

SSE-KMS ("audit key usage" is the KMS keyword; add S3 Bucket Key if the question moans about KMS request costs).



36
New cards

Regulatory requirement: data must be impossible to delete for 5 years — even by administrators.

Object Lock, Compliance mode ("even administrators" rules out Governance).



37
New cards

Objects must be preserved indefinitely while litigation is pending

Legal Hold ("lawsuit" + no fixed end date).

38
New cards

Users on every continent upload multi-GB video files to a single S3 bucket; speed up uploads.

Transfer Acceleration + multipart upload (global UPLOAD to one bucket; global download would be CloudFront).

39
New cards

All objects must be encrypted in transit.

Bucket policy denying requests where aws:SecureTransport is false (in transit = HTTPS/TLS, not KMS).



40
New cards

Enable access logging for a bucket — what's the key configuration rule?

Deliver logs to a DIFFERENT bucket (same bucket = infinite logging loop); query them with Athena.

41
New cards

Replication was enabled but existing objects didn't copy over

S3 Batch Replication (CRR/SRR only replicate NEW objects).

42
New cards

Frequently accessed / hot

S3 Standard

43
New cards

Lives < 30 days

Standard (minimum-duration charges kill the rest)

44
New cards

Infrequent + instant retrieval

Standard-IA

45
New cards

"Can be regenerated / secondary copy"

One Zone-IA

46
New cards

"Unknown / unpredictable access"

Intelligent-Tiering

47
New cards

Known pattern over time

Lifecycle rule (beats Intelligent-Tiering)

48
New cards

Archive + milliseconds retrieval

Glacier Instant Retrieval

49
New cards

Archive + minutes-to-hours OK

Glacier Flexible (Expedited 1–5 min / Std 3–5 hr / Bulk 5–12 hr)

50
New cards

Cheapest, 12+ hr retrieval OK

Glacier Deep Archive (never faster than 12 hr)

51
New cards

Object > 5 GB (or > 100 MB)

Multipart upload (required / recommended)

52
New cards

Accidental delete/overwrite protection

Versioning (+ MFA Delete for root-MFA-gated deletes)

53
New cards

Copy to another region, DR/compliance

CRR (versioning on both sides)

54
New cards

Aggregate logs / copy within region

SRR

55
New cards

Replicate EXISTING objects

S3 Batch Replication

56
New cards

Default encryption, zero effort

SSE-S3

57
New cards

"Audit key usage" / control rotation

SSE-KMS (in CloudTrail)

58
New cards

KMS request costs too high

S3 Bucket Key (~99% fewer KMS calls, coarser audit)

59
New cards

Customer supplies key per request

SSE-C (HTTPS mandatory)

60
New cards

"AWS must never see plaintext"

Client-side encryption

61
New cards

Encrypt in transit / enforce HTTPS

Deny aws:SecureTransport = false

62
New cards

Encrypt EXISTING objects

S3 Batch Operations

63
New cards

WORM, "not even root can delete"

Object Lock — Compliance mode

64
New cards

WORM, privileged users may bypass

Object Lock — Governance mode

65
New cards

"Lawsuit," indefinite hold

Legal Hold

66
New cards

Temporary download link, no AWS account

Presigned URL (creator's perms, ≤ 7 days)

67
New cards

Public policy exists but access fails

Block Public Access is on

68
New cards

S3 reachable only via CloudFront

OAC

69
New cards

Who accessed — cheap/complete/delayed

S3 Server Access Logs (different bucket! + Athena)

70
New cards

Who accessed — real-time + IAM identity

CloudTrail data events

71
New cards

More requests/sec

More prefixes (3,500 PUT / 5,500 GET per prefix)

72
New cards

Global UPLOADS to one bucket

Transfer Acceleration (pay only if faster)

73
New cards

Global DOWNLOADS

CloudFront

74
New cards

Download part of an object

Byte-range fetch

75
New cards

"When object uploaded, trigger..."

Event notification → Lambda/SQS/SNS/EventBridge

76
New cards

SQL on ONE object

S3 Select

77
New cards

SQL across S3 data sets

Athena

78
New cards
79
New cards
80
New cards
81
New cards
82
New cards
83
New cards
84
New cards
85
New cards
86
New cards
87
New cards
88
New cards
89
New cards
90
New cards
91
New cards
92
New cards
93
New cards
94
New cards
95
New cards
96
New cards
97
New cards
98
New cards
99
New cards
100
New cards