Home › Certifications › AWS Data Engineer Associate › Data Security and Governance
29 multiple-choice questions and 8 flashcards on Data Security and Governance, about 19% of the AWS Data Engineer Associate bank. Every one carries a written rationale.
Data Security and Governance is one of 4 chapters in CoStudy's AWS Data Engineer Associate bank, and it holds 29 of the bank's 150 multiple-choice questions — roughly 19% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
10 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
Which is the RECOMMENDED way to share cross-account data lake resources?
Answer: B — AWS Resource Access Manager with Lake Formation cross-account permissions
B) RAM plus Lake Formation cross-account permissions is the recommended, fine-grained pattern. A) Copy-based sharing loses lineage and doubles cost. C) Raw bucket sharing bypasses LF governance. D) Signed URLs do not scale to catalog sharing.
Which action activates Lake Formation control over a Glue database?
Answer: C — Registering the S3 location and granting via Lake Formation permissions
A) Object Lock is retention, not access control. C) Lake Formation manages access only after the S3 location is registered and permissions are granted via LF instead of raw IAM. B) IAM glue:GetTable bypasses LF filters. D) Macie discovers PII but does not enforce access.
Which is TRUE about IAM Access Analyzer findings for a data lake?
Answer: B — It reports S3 resources that can be accessed from outside the account or organization
B) IAM Access Analyzer inspects resource policies and flags external access — the primary use for lake buckets. A) It reports; it does not auto-remediate. C) Access Analyzer is distinct from Storage Lens. D) It has no CloudTrail Lake dependency.
Which is TRUE about applying least privilege to data-engineering IAM roles?
Answer: C — Scope role permissions to specific service actions and resources, and use permission boundaries as guardrails
C) Standard least-privilege pattern: scoped actions on scoped resources, permission boundaries as ceilings. B) Wildcard grants are the opposite of least privilege. A) Network ACLs do not authorize API calls. D) AdministratorAccess is the highest-risk grant.
Which is TRUE about VPC endpoints for S3?
Answer: A — Gateway endpoints keep S3 traffic on the AWS backbone and support bucket-policy conditions
A) S3 gateway endpoints keep traffic on the AWS backbone and enable aws:sourceVpce policy conditions. B) Both gateway and interface endpoints exist; gateway is the classic mode. C) Gateway endpoints avoid needing an IGW. D) Endpoints do not replace IAM.
Which encryption approach fits a Redshift cluster storing regulated PII?
Answer: C — AES-256 with a customer-managed KMS key and CloudTrail data events
A) An AWS-owned key gives no audit or rotation control. C) A customer-managed KMS key plus CloudTrail data-event logging supports rotation and audit — the compliance pattern. B) Client-side encryption breaks Redshift's query engine — it cannot filter encrypted values. D) Disabling encryption is the opposite of the requirement.
Which is the BEST way to secure Athena query results?
Answer: C — A workgroup-scoped S3 result location encrypted with SSE-KMS and access-logged
C) Per-workgroup, encrypted, access-logged result buckets are the recommended pattern. B) Public buckets are a critical anti-pattern. A) Athena writes to S3, not DynamoDB. D) No-auth CloudFront exposes results.
Which BEST protects secrets used by a Glue job such as database passwords?
Answer: D — AWS Secrets Manager referenced from Glue job parameters, rotated on a schedule
D) Secrets Manager with automatic rotation is the standard; Glue jobs fetch by ARN. B) Plaintext env vars leak into logs and configuration exports. C) Public storage of secrets is critical. A) DynamoDB with wide read access is insecure.
Which BEST hides sensitive columns from most analysts while allowing full access to a compliance role?
Answer: A — Lake Formation column-level permissions filtering PII columns from all but the compliance role
A) Lake Formation column permissions provide column-level filtering across Athena, Redshift Spectrum, and EMR. B) Bucket policy is object-level, not column-level. C) CloudFront cannot filter columns. D) RLS is Redshift-side, not bucket-side.
Which service enforces fine-grained (column, row, cell) access to lake tables across Athena, Redshift Spectrum, and EMR?
Answer: C — AWS Lake Formation with data filters and LF-TBAC tags
A) Bucket policies grant object-level access, not column or row filtering. B) IAM is too coarse — no column/row predicates. C) Lake Formation applies column, row, and cell filters uniformly across integrated engines using LF-TBAC. D) Macie discovers sensitive data but does not enforce access.
1 cards from the 8 in this chapter.
AWS Lake Formation?
Build secure data lakes on S3. Fine-grained access (table, column, row, cell), tag-based access control, cross-account sharing.
These are a sample. The full Data Security and Governance chapter runs 37 items with per-chapter progress tracking, on the web and in the iOS app.
Open AWS Data Engineer Associate in CoStudy →