Docsity

AWS HPC AWS Certified Data Engineer Associate Practice Exam, Exams of Technology

Toggle sidebar
bg1
AWS HPC AWS Certified Data Engineer
Associate Practice Exam
**Question 1.** Which AWS service is best suited for continuous, real‑time ingestion of
clickstream data into an S3 data lake?
A) AWS DataSync
B) Amazon Kinesis Data Firehose
C) AWS Glue ETL
D) Amazon S3 Multipart Upload
Answer: B
Explanation: Kinesis Data Firehose streams data in near real‑time and can directly deliver to S3,
Redshift, or Elasticsearch, making it ideal for clickstream ingestion.
**Question 2.** A company needs to migrate a 10 TB on‑premises PostgreSQL database to
Amazon Aurora with minimal downtime. Which AWS service should they use?
A) AWS Database Migration Service (DMS) with CDC
B) AWS Snowball Edge
C) AWS DataSync
D) Amazon S3 Transfer Acceleration
Answer: A
Explanation: DMS supports one‑time migration and Change Data Capture (CDC) to keep source
and target in sync, enabling low‑downtime migrations.
**Question 3.** Which of the following is a primary advantage of storing analytics data in
Apache Parquet format on Amazon S3?
A) Enables row‑level security without additional services
B) Provides automatic data compression without configuration
C) Reduces query scan costs due to columnar storage
D) Allows direct updates of individual rows in S3
Answer: C
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d

Partial preview of the text

Download AWS HPC AWS Certified Data Engineer Associate Practice Exam and more Exams Technology in PDF only on Docsity!

Associate Practice Exam

Question 1. Which AWS service is best suited for continuous, real‑time ingestion of clickstream data into an S3 data lake? A) AWS DataSync B) Amazon Kinesis Data Firehose C) AWS Glue ETL D) Amazon S3 Multipart Upload Answer: B Explanation: Kinesis Data Firehose streams data in near real‑time and can directly deliver to S3, Redshift, or Elasticsearch, making it ideal for clickstream ingestion. Question 2. A company needs to migrate a 10 TB on‑premises PostgreSQL database to Amazon Aurora with minimal downtime. Which AWS service should they use? A) AWS Database Migration Service (DMS) with CDC B) AWS Snowball Edge C) AWS DataSync D) Amazon S3 Transfer Acceleration Answer: A Explanation: DMS supports one‑time migration and Change Data Capture (CDC) to keep source and target in sync, enabling low‑downtime migrations. Question 3. Which of the following is a primary advantage of storing analytics data in Apache Parquet format on Amazon S3? A) Enables row‑level security without additional services B) Provides automatic data compression without configuration C) Reduces query scan costs due to columnar storage D) Allows direct updates of individual rows in S Answer: C

Associate Practice Exam

Explanation: Parquet is a columnar format; Athena, Redshift Spectrum, and other query engines read only needed columns, lowering scan volume and cost. Question 4. When designing a DynamoDB table for a workload that queries orders by CustomerID and OrderDate, which key schema provides the most efficient access pattern? A) Partition key = OrderID, Sort key = CustomerID B) Partition key = CustomerID, Sort key = OrderDate C) Partition key = OrderDate, Sort key = OrderID D) Partition key = CustomerID, no sort key Answer: B Explanation: Using CustomerID as partition key groups all orders of a customer together; OrderDate as sort key enables range queries for a specific time period. Question 5. Which AWS feature lets you apply a Lambda function to transform objects as they are retrieved from Amazon S3 without moving the data? A) S3 Event Notifications B) S3 Object Lambda C) S3 Batch Operations D) S3 Transfer Acceleration Answer: B Explanation: S3 Object Lambda invokes a Lambda function on GET requests, allowing on‑the‑fly transformation of S3 objects. Question 6. In Amazon Kinesis Data Streams, what is the purpose of a “shard”? A) To store a complete copy of the stream for backup B) To define the maximum data retention period C) To provide a unit of capacity for read/write throughput

Associate Practice Exam

Question 9. Which AWS service can be used to orchestrate a workflow that triggers a Glue ETL job, waits for its completion, then starts a Redshift COPY command? A) Amazon Managed Workflows for Apache Airflow (MWAA) B) AWS Step Functions C) AWS Batch D) Amazon EventBridge Scheduler Answer: B Explanation: Step Functions can coordinate multiple services as a state machine, including waiting for Glue job success before proceeding. Question 10. To enforce column‑level security on a data lake stored in Amazon S3, which AWS service should be used? A) AWS IAM policies on S3 bucket B) AWS Lake Formation with column‑level permissions C) Amazon S3 Access Points D) AWS Secrets Manager Answer: B Explanation: Lake Formation provides fine‑grained, column‑level access control for data stored in S3. Question 11. Which Amazon S3 storage class is most appropriate for infrequently accessed data that must be retained for 30 days before moving to archival storage? A) S3 Standard B) S3 Intelligent‑Tiering C) S3 Standard‑IA D) S3 Glacier Deep Archive Answer: C

Associate Practice Exam

Explanation: S3 Standard‑IA is designed for data accessed less frequently but requires rapid retrieval, with lower storage cost than Standard. Question 12. When using AWS Glue Crawlers, what is the primary purpose of a “job bookmark”? A) To store the crawler’s last successful run timestamp B) To prevent re‑processing of already processed data in incremental jobs C) To bookmark the location of schema changes in the Data Catalog D) To track IAM role usage across multiple crawlers Answer: B Explanation: Job bookmarks enable incremental processing by recording which data has already been processed. Question 13. Which of the following is a recommended practice to avoid the “small files problem” in an S3 data lake used by Athena? A) Store each record as a separate JSON file B) Use Glue or EMR to compact files into larger Parquet files C) Enable S3 Transfer Acceleration for all uploads D) Set S3 bucket versioning to true Answer: B Explanation: Consolidating many small files into larger columnar files reduces the number of objects Athena must list and scan, improving performance. Question 14. A data pipeline must ingest data from an on‑premises Oracle database into Amazon S3 daily. Which service provides the most straightforward solution? A) AWS DataSync B) AWS Snowball Edge

Associate Practice Exam

A) To provide a private DNS name for Glue API calls within the VPC B) To encrypt data in transit between Glue and S C) To enable Glue jobs to run on private subnets without internet access D) To increase Glue job concurrency limits Answer: C Explanation: An Interface VPC Endpoint allows Glue to access its API privately from within a VPC, eliminating the need for internet connectivity. Question 18. For a serverless analytics workload that needs to query data stored in S3 with ad‑hoc SQL, which service should be used to avoid managing any compute infrastructure? A) Amazon Redshift Serverless B) Amazon Athena C) AWS Glue ETL (serverless) D) Amazon EMR on Serverless Spark Answer: B Explanation: Athena provides on‑demand, serverless SQL querying directly against S3 data. Question 19. Which AWS service can be used to automatically discover, classify, and protect sensitive PII data stored in Amazon S3? A) AWS GuardDuty B) AWS Macie C) AWS Config D) AWS Inspector Answer: B Explanation: Amazon Macie uses machine learning to identify and protect sensitive data such as PII in S3.

Associate Practice Exam

Question 20. When configuring Amazon DynamoDB’s provisioned capacity mode, which metric should you monitor to determine if you need to increase read capacity? A) ConsumedWriteCapacityUnits B) ThrottledWriteRequests C) ConsumedReadCapacityUnits D) TableItemCount Answer: C Explanation: ConsumedReadCapacityUnits indicates the amount of read throughput used; sustained high usage may require scaling up. Question 21. Which AWS service provides a managed, highly available Apache Kafka- compatible streaming platform? A) Amazon Kinesis Data Streams B) Amazon MSK (Managed Streaming for Apache Kafka) C) AWS EventBridge D) Amazon SQS Answer: B Explanation: Amazon MSK offers a fully managed Apache Kafka service. Question 22. An organization needs to enforce that only specific IAM roles can write objects to a particular S3 bucket, while allowing public read access. Which policy component should be used? A) Bucket ACL with “public-read” and “private” grants B) Bucket policy with Deny for all principals except the allowed roles C) IAM policy attached to the roles granting PutObject only D) S3 Access Point with whitelist of roles

Associate Practice Exam

B) S3 Transfer Acceleration C) S3 Replication D) S3 Batch Operations Answer: A Explanation: S3 Event Notifications can trigger Lambda functions when objects are created, removed, or modified. Question 26. In Amazon EMR, which of the following components is responsible for coordinating the execution of Spark jobs across the cluster? A) YARN ResourceManager B) EMRFS C) Hadoop NameNode D) Apache Hive Metastore Answer: A Explanation: YARN ResourceManager schedules and manages resources for Spark, MapReduce, and other applications on EMR. Question 27. Which of the following best describes the “fan‑out” pattern in Amazon Kinesis Data Streams? A) Multiple producers write to a single shard B) A single shard is read by multiple consumer applications via enhanced fan‑out C) Data is replicated across multiple streams for redundancy D) Shards are automatically split when throughput exceeds limits Answer: B Explanation: Enhanced fan‑out provides each consumer its own read throughput, allowing many consumers to read from the same shard concurrently.

Associate Practice Exam

Question 28. Which AWS service can be used to create a data lake that automatically registers metadata for S3 objects and provides fine‑grained access control? A) AWS Glue Data Catalog only B) Amazon Athena C) AWS Lake Formation D) Amazon Redshift Spectrum Answer: C Explanation: Lake Formation builds on the Glue Data Catalog and adds permission management, data lake creation, and sharing capabilities. Question 29. A data pipeline writes processed files to an S3 bucket and then triggers a downstream job. Which mechanism provides at‑least‑once delivery semantics for the trigger? A) S3 Event Notification with SNS B) S3 Event Notification with SQS C) S3 Event Notification directly to Lambda D) S3 Replication to another bucket Answer: B Explanation: S3 → SQS guarantees at‑least‑once delivery; the downstream consumer can poll the queue and handle retries. Question 30. Which of the following is a primary benefit of using Amazon Redshift Serverless over a provisioned Redshift cluster? A) Ability to run on Spot Instances B) Automatic scaling of compute based on query load without managing clusters C) Direct integration with Amazon RDS for transactional workloads D) Unlimited storage without cost concerns Answer: B

Associate Practice Exam

C) Transition to Glacier D) Delete marker creation Answer: C Explanation: The “Transition” action can specify moving objects to Glacier after a defined number of days. Question 34. Which AWS service provides a managed environment for Apache Airflow, facilitating complex DAG‑based orchestration of data pipelines? A) AWS Step Functions B) Amazon Managed Workflows for Apache Airflow (MWAA) C) AWS Glue Workflows D) Amazon EventBridge Scheduler Answer: B Explanation: MWAA is a fully managed Apache Airflow service. Question 35. In AWS Glue, which of the following options allows you to run a job without provisioning any workers explicitly? A) Glue Spark UI B) Glue Serverless (AWS Glue 3.0) with “Auto Scaling” enabled C) Glue Job Bookmark D) Glue Development Endpoint Answer: B Explanation: Glue Serverless (AWS Glue 3.0) can automatically allocate and scale workers based on job requirements. Question 36. Which of the following is a key difference between Amazon S3 Select and Amazon Athena?

Associate Practice Exam

A) S3 Select can query data across multiple buckets, Athena cannot B) Athena supports SQL, while S3 Select only supports simple expressions C) S3 Select reads only a subset of an object’s data, reducing data scanned per request D) Athena stores query results in DynamoDB by default Answer: C Explanation: S3 Select enables retrieval of a subset of object data (e.g., specific columns), reducing data transfer and cost. Question 37. Which IAM policy element is used to restrict access to a specific Amazon Redshift cluster based on its ARN? A) Resource B) Condition C) Action D) Principal Answer: A Explanation: The “Resource” element specifies the ARN of the Redshift cluster to which the policy applies. Question 38. A data engineer needs to run a Python script that reads from S3, transforms data, and writes back to S3, triggered by an S3 upload event. Which compute service is most cost‑effective? A) Amazon EC2 on‑demand instance B) AWS Lambda C) AWS Glue Spark job D) Amazon EMR on Spot Instances Answer: B

Associate Practice Exam

D) Instance Store (local SSD) attached to core nodes Answer: D Explanation: Instance Store (local SSD) offers the fastest, low‑latency storage, suitable for temporary shuffle data in Spark. Question 42. Which AWS service provides a fully managed, searchable analytics engine based on the OpenSearch (formerly Elasticsearch) project? A) Amazon CloudSearch B) Amazon OpenSearch Service C) Amazon Athena D) AWS Glue DataBrew Answer: B Explanation: Amazon OpenSearch Service is the managed service for OpenSearch/Elasticsearch workloads. Question 43. Which of the following statements about Amazon Kinesis Data Firehose delivery stream buffering is true? A) Buffering can be configured only by size, not time B) The stream automatically scales shards based on buffer size C) Buffer interval and size together determine when data is delivered to the destination D) Firehose does not support compression of data before delivery Answer: C Explanation: Firehose buffers incoming records based on size and/or time interval before delivering to the destination. Question 44. To enforce that only a specific set of AWS accounts can read from a shared S data lake, which AWS feature should be used?

Associate Practice Exam

A) S3 Bucket Policy with “aws:PrincipalOrgID” condition B) S3 Access Points with VPC restrictions C) AWS Lake Formation cross‑account data sharing D) IAM Role delegation with AssumeRole Answer: C Explanation: Lake Formation enables fine‑grained, cross‑account sharing of data lake resources. Question 45. Which of the following is a primary benefit of using Amazon Redshift Spectrum over loading data into Redshift tables? A) Faster query performance for small datasets B) No need to manage Redshift cluster storage capacity for external data C) Automatic data compression of external files D) Ability to execute stored procedures on external data Answer: B Explanation: Redshift Spectrum queries data directly in S3, so you don’t need to store the data in Redshift’s managed storage. Question 46. When configuring an AWS Glue connection to a PostgreSQL database inside a VPC, which component must be correctly set to allow network traffic? A) S3 bucket policy B) Security Group inbound rules for PostgreSQL port (5432) C) IAM role attached to the Glue job D) KMS key policy for encryption Answer: B Explanation: The security group must allow inbound traffic on the PostgreSQL port from the Glue job’s ENIs.

Associate Practice Exam

Answer: A Explanation: SQS can be configured as a dead‑letter queue to capture messages that failed processing. Question 50. To reduce the cost of storing rarely accessed archival data in Amazon S3, which combination of storage class and lifecycle policy is most appropriate? A) Store in S3 Standard‑IA and transition to Glacier after 30 days B) Store in S3 Glacier Deep Archive directly C) Store in S3 Intelligent‑Tiering and let AWS move data automatically D) Store in S3 Standard and delete after 365 days Answer: B Explanation: Glacier Deep Archive provides the lowest storage cost for data that is accessed very infrequently. Question 51. Which AWS service provides a visual interface for building, testing, and deploying data pipelines using drag‑and‑drop components? A) AWS Glue Studio B) Amazon EMR Studio C) AWS Step Functions Workflow Studio D) Amazon Managed Workflows for Apache Airflow (MWAA) UI Answer: C Explanation: Step Functions Workflow Studio offers a visual drag‑and‑drop interface for building state machine workflows. Question 52. In Amazon DynamoDB, what is the effect of enabling “Auto Scaling” for a table’s read capacity? A) DynamoDB automatically adds global secondary indexes as needed

Associate Practice Exam

B) DynamoDB adjusts provisioned read capacity based on traffic patterns C) DynamoDB switches the table to On‑Demand mode during spikes D) DynamoDB replicates the table across multiple regions automatically Answer: B Explanation: Auto Scaling monitors utilization and adjusts provisioned capacity up or down within set limits. Question 53. Which of the following is the most appropriate method to securely share a dataset stored in S3 with an external partner without granting them direct bucket access? A) Create a pre‑signed URL with expiration B) Use AWS Resource Access Manager (RAM) to share the bucket C) Enable public read access on the bucket D) Copy the data to a separate bucket owned by the partner Answer: A Explanation: A pre‑signed URL provides time‑limited, secure access to specific objects without exposing bucket permissions. Question 54. Which AWS service can be used to monitor the health of an Amazon EMR cluster and trigger automatic termination if a critical metric exceeds a threshold? A) Amazon CloudWatch Alarms with EC2 actions B) AWS Config Rules C) Amazon EventBridge Scheduler D) AWS Systems Manager State Manager Answer: A Explanation: CloudWatch alarms can be configured to invoke EC2 actions (e.g., terminate instances) when EMR metrics breach thresholds.