devHọc Dev

Week 2 - Day 4: Week 2 Review Quiz

Week 2 – Day 4

50 questions0s
See the answer and explanation right after each question
1
A large fact table frequently joins with dim_customer on customer_id. What is the optimal distribution style for this pair of tables?
2
A dimension table with 8,000 rows that rarely changes and joins with many fact tables. Which distribution style?
3
Queries filtering on a date range over a large table are slow. The main improvement is:
4
After many UPDATE/DELETE batches, a table is bloated and queries are slow. Which operation reclaims space and re-sorts?
5
You need to load Kinesis Data Streams data into Redshift in near real time, without going through S3. Which feature?
6
An analytics workload runs only a few irregular hours per day, and there is no DBA. What is the best choice for cost/operations?
7
Five years of rarely queried historical data is taking up space in Redshift. What is the "most cost-effective" architecture that still lets you query it when needed?
8
At peak hours, hundreds of analysts have queries queuing up; off-hours the cluster is idle. Which feature fits?
9
You want to automatically abort queries that scan more than 500M rows or run longer than 30 minutes. Which feature?
10
Athena charges based on:
11
Which combination of measures reduces Athena cost most effectively?
12
Block queries that scan more than 1TB and alert on spending per team in Athena. Which feature?
13
An Iceberg table on Athena gets gradually slower because of thousands of small files. Which command fixes this?
14
You need to analyze an entire 1TB DynamoDB table with Athena daily without affecting production. What is the right approach?
15
An application writing with the current date as the partition key gets throttled even though total capacity is more than enough. The cause?
16
You need full-text search with typo handling on a product catalog + log analytics dashboards. Which store?
17
Logs need to be hot for 7 days and occasionally read up to 90 days on OpenSearch, at low cost. Solution?
18
Match correctly: (1) key-value serving <10ms; (2) BI SQL with high concurrency; (3) cheap source of truth for any format.
19
You need to know who changed a bucket policy last week. Which service?
20
Which metric alerts you that a Kinesis consumer is falling behind?
21
You want an SNS notification whenever any Glue job FAILED, without modifying the jobs. The standard approach?
22
To audit "who read objects in the PII bucket", what do you need to configure?
23
In a Glue ETL job, you want records that violate rules to be split off to an S3 quarantine while clean data continues. What do you use?
24
Which DQDL rule detects "today's data volume is abnormally low compared to history"?
25
Business users need to search for datasets, understand their meaning, request access through a workflow, and view lineage. Which service?
26
A job accidentally overwrote an Iceberg table. What is the fastest way to recover?
27
A Glue job in a private subnet reads S3 through a NAT gateway and incurs large processing charges. Solution?
28
CloudWatch Logs cost keeps growing indefinitely. A common cause?
29
A Kinesis workload runs steadily at 8MB/s around the clock. Which configuration is cheaper?
30
You want to allocate AWS costs by team/data product. What is the right setup?
31
Most AWS event sources (S3 events, SQS standard, Kinesis) have a default delivery semantics of:
32
Incremental loads into Redshift, where source files are sometimes resent. What is the standard deduplication pattern?
33
One corrupted data message causes Lambda to retry forever, clogging SQS. The correct configuration?
34
Which condition is NOT required for a safe backfill of one day of data?
35
Requirement: audit every use of the key to decrypt data and control the key policy. Which S3 encryption option?
36
An SSE-KMS bucket receiving millions of objects/day makes KMS request charges spike. Solution?
37
In envelope encryption, the data is encrypted directly with:
38
Force all bucket access to use TLS. How do you enforce it?
39
500 tables, 30 teams, new tables every week: permissions are managed scalably by:
40
Analysts may only see rows with region='APAC' and must not see the salary column. Which feature?
41
You share a table with another account through Lake Formation; the data stays in the source account. What does the recipient need to create to query it with Athena?
42
Which mechanism carries Lake Formation cross-account shares?
43
Find and alert on PII in an S3 data lake. Which service?
44
The database password for a Glue connection needs automatic rotation every 30 days. Where do you store it?
45
Same Redshift table: the fraud team sees full card numbers, support sees only the last 4 digits. Which feature?
46
Analytics needs to join by user and count distinct, but must not expose real emails, and recovery is not needed. Which technique?
47
Transaction logs must be immutable for 7 years, and no one can delete them, not even admins. Configuration?
48
A bucket may only be accessed from the company VPC over a private path. The correct configuration set?
49
You need a history of resource configuration changes and continuous compliance evaluation (e.g., "buckets must be encrypted"). Which service?
50
"Who ran which SQL statement on Redshift last month" comes from: