Prepare-se para a certificação AWS Certified Data Engineer – Associate (DEA-C01) com simulados completos, questões atualizadas, respostas comentadas e uma experiência semelhante ao exame oficial da AWS.
Pagamento seguro Acesso imediato PC, tablet e celular Foco em certificações de TI
Questões 11–15 de 15 (com resposta)
Clique em "Ver resposta" para revelar o gabarito e a explicação, e participe da discussão da comunidade em cada questão.
Quer praticar como na prova? Use o teste gratuito (15 questões após cadastro rápido).
A car sales company maintains data about cars that are listed for sale in an area. The company receives data about new car listings from vendors who upload the data daily as compressed files into Amazon S3. The compressed files are up to 5 KB in size. The company wants to see the most up-to- date listings as soon as the data is uploaded to Amazon S3. A data engineer must automate and orchestrate the data processing workflow of the listings to feed a dashboard. The data engineer must also provide the ability to perform one-time queries and analytical reporting. The query solution must be scalable. Which solution will meet these requirements MOST cost-effectively?
AUse an Amazon EMR cluster to process incoming data. Use AWS Step Functions to orchestrate workflows. Use Apache Hive for one-time queries and analytical reporting. Use Amazon OpenSearch Service to bulk ingest the data into compute optimized instances. Use OpenSearch Dashboards in OpenSearch Service for the dashboard.
BUse a provisioned Amazon EMR cluster to process incoming data. Use AWS Step Functions to orchestrate workflows. Use Amazon Athena for one-time queries and analytical reporting. Use Amazon QuickSight for the dashboard.
CUse AWS Glue to process incoming data. Use AWS Step Functions to orchestrate workflows. Use Amazon Redshift Spectrum for one-time queries and analytical reporting. Use OpenSearch Dashboards in Amazon OpenSearch Service for the dashboard.
DUse AWS Glue to process incoming data. Use AWS Lambda and S3 Event Notifications to orchestrate workflows. Use Amazon Athena for one-time queries and analytical reporting. Use Amazon QuickSight for the dashboard.Correta
Resposta correta:D
Explicação
Explanation: For processing the incoming car listings in a cost-effective, scalable, and automated way, the ideal approach involves using AWS Glue for data processing, AWS Lambda with S3 Event Notifications for orchestration, Amazon Athena for one-time queries and analytical reporting, and Amazon QuickSight for visualization on the dashboard. Let's break this down: AWS Glue: This is a fully managed ETL (Extract, Transform, Load) service that automatically processes the incoming data files. Glue is serverless and supports diverse data sources, including Amazon S3 and Redshift. AWS Lambda and S3 Event Notifications: Using Lambda and S3 Event Notifications allows near real- time triggering of processing workflows as soon as new data is uploaded into S3. This approach is event-driven, ensuring that the listings are processed as soon as they are uploaded, reducing the latency for data processing. Amazon Athena: A serverless, pay-per-query service that allows interactive queries directly against data in S3 using standard SQL. It is ideal for the requirement of one-time queries and analytical reporting without the need for provisioning or managing servers. Amazon QuickSight: A business intelligence tool that integrates with a wide range of AWS data sources, including Athena, and is used for creating interactive dashboards. It scales well and provides real-time insights for the car listings. This solution (Option D) is the most cost-effective, because both Glue and Athena are serverless and priced based on usage, reducing costs when compared to provisioning EMR clusters in the other options. Moreover, using Lambda for orchestration is more cost-effective than AWS Step Functions due to its lightweight nature. Reference: AWS Glue Documentation Amazon Athena Documentation Amazon QuickSight Documentation S3 Event Notifications and Lambda
A company needs to store semi-structured transactional data in a serverless database. The application writes data infrequently but reads it frequently, with millisecond retrieval required.
AStore the data in an Amazon S3 Standard bucket. Enable S3 Transfer Acceleration.
BStore the data in an Amazon S3 Apache Iceberg table. Enable S3 Transfer Acceleration.
CStore the data in an Amazon RDS for MySQL cluster. Configure RDS Optimized Reads.
DStore the data in an Amazon DynamoDB table. Configure a DynamoDB Accelerator (DAX) cache.Correta
Resposta correta:D
Explicação
Explanation: Amazon DynamoDB is a serverless, low-latency, NoSQL database ideal for semi-structured data. Adding DynamoDB Accelerator (DAX) provides microsecond response times for read-heavy workloads. "For applications requiring millisecond or sub-millisecond reads with serverless operation, use DynamoDB with DAX caching." Ace the AWS Certified Data Engineer - Associate Certification - version 2 - apple.pdf
A data engineer maintains custom Python scripts that perform a data formatting process that many AWS Lambda functions use. When the data engineer needs to modify the Python scripts, the data engineer must manually update all the Lambda functions. The data engineer requires a less manual way to update the Lambda functions. Which solution will meet this requirement?
AStore a pointer to the custom Python scripts in the execution context object in a shared Amazon S3 bucket.
BPackage the custom Python scripts into Lambda layers. Apply the Lambda layers to the Lambda functions.Correta
CStore a pointer to the custom Python scripts in environment variables in a shared Amazon S3 bucket.
DAssign the same alias to each Lambda function. Call reach Lambda function by specifying the function's alias.
Resposta correta:B
Explicação
Explanation: Lambda layers are a way to share code and dependencies across multiple Lambda functions. By packaging the custom Python scripts into Lambda layers, the data engineer can update the scripts in one place and have them automatically applied to all the Lambda functions that use the layer. This reduces the manual effort and ensures consistency across the Lambda functions. The other options are either not feasible or not efficient. Storing a pointer to the custom Python scripts in the execution context object or in environment variables would require the Lambda functions to download the scripts from Amazon S3 every time they are invoked, which would increase latency and cost. Assigning the same alias to each Lambda function would not help with updating the Python scripts, as the alias only points to a specific version of the Lambda function code. Reference: AWS Lambda layers AWS Certified Data Engineer - Associate DEA-C01 Complete Study Guide, Chapter 3: Data Ingestion and Transformation, Section 3.4: AWS Lambda
A data engineer needs to debug an AWS Glue job that reads from Amazon S3 and writes to Amazon Redshift. The data engineer enabled the bookmark feature for the AWS Glue job. The data engineer has set the maximum concurrency for the AWS Glue job to 1. The AWS Glue job is successfully writing the output to Amazon Redshift. However, the Amazon S3 files that were loaded during previous runs of the AWS Glue job are being reprocessed by subsequent runs. What is the likely reason the AWS Glue job is reprocessing the files?
AThe AWS Glue job does not have the s3:GetObjectAcl permission that is required for bookmarks to work correctly.Correta
BThe maximum concurrency for the AWS Glue job is set to 1.
CThe data engineer incorrectly specified an older version of AWS Glue for the Glue job.
DThe AWS Glue job does not have a required commit statement.
Resposta correta:A
Explicação
Explanation: The issue described is that the AWS Glue job is reprocessing files from previous runs despite the bookmark feature being enabled. Bookmarks in AWS Glue allow jobs to keep track of which files or data have already been processed to avoid reprocessing. The most likely reason for reprocessing the files is missing S3 permissions, specifically s3 s3 is a permission required by AWS Glue when bookmarks are enabled to ensure Glue can retrieve metadata from the files in S3, which is necessary for the bookmark mechanism to function correctly. Without this permission, Glue cannot track which files have been processed, resulting in reprocessing during subsequent runs. Concurrency settings (Option B) and the version of AWS Glue (Option C) do not affect the bookmark behavior. Similarly, the lack of a commit statement (Option D) is not applicable in this context, as Glue handles commits internally when interacting with Redshift and S3. Thus, the root cause is likely related to insufficient permissions on the S3 bucket, specifically s3 , which is required for bookmarks to work as expected. Reference: AWS Glue Job Bookmarks Documentation AWS Glue Permissions for Bookmarks
A data engineer needs to deploy a complex pipeline. The stages of the pipeline must run scripts, but only fully managed and serverless services can be used.
ADeploy AWS Glue jobs and workflows. Use AWS Glue to run the jobs and workflows on a schedule.Correta
BUse Amazon MWAA to build and schedule the pipeline.
CDeploy the script to EC2. Use EventBridge to schedule it.
DUse AWS Glue DataBrew and EventBridge to run on a schedule.
Resposta correta:A
Explicação
Explanation: AWS Glue is a fully managed and serverless ETL platform that supports scripts in PySpark or Python shell jobs. Workflows in Glue orchestrate multiple job stages without infrastructure management. "Use AWS Glue Workflows to build and orchestrate complex multi-stage ETL pipelines using serverless AWS Glue jobs." Ace the AWS Certified Data Engineer - Associate Certification - version 2 - apple.pdf This meets the "serverless only" and "runs scripts" requirements precisely.
Pronto para a prática real?
Teste 15 questões no player com interface de prova — cronômetro, navegação e revisão. Depois garanta acesso a todas as 289 questões.