Free DEA-C01 Exam Braindumps (page: 28)

Page 27 of 53

A data engineer creates an AWS Lambda function that an Amazon EventBridge event will invoke. When the data engineer tries to invoke the Lambda function by using an EventBridge event, an AccessDeniedException message appears.
How should the data engineer resolve the exception?

  1. Ensure that the trust policy of the Lambda function execution role allows EventBridge to assume the execution role.
  2. Ensure that both the IAM role that EventBridge uses and the Lambda function's resource-based policy have the necessary permissions.
  3. Ensure that the subnet where the Lambda function is deployed is configured to be a private subnet.
  4. Ensure that EventBridge schemas are valid and that the event mapping configuration is correct.

Answer(s): B



A company uses a data lake that is based on an Amazon S3 bucket. To comply with regulations, the company must apply two layers of server-side encryption to files that are uploaded to the S3 bucket. The company wants to use an AWS Lambda function to apply the necessary encryption.
Which solution will meet these requirements?

  1. Use both server-side encryption with AWS KMS keys (SSE-KMS) and the Amazon S3 Encryption Client.
  2. Use dual-layer server-side encryption with AWS KMS keys (DSSE-KMS).
  3. Use server-side encryption with customer-provided keys (SSE-C) before files are uploaded.
  4. Use server-side encryption with AWS KMS keys (SSE-KMS).

Answer(s): B



A data engineer notices that Amazon Athena queries are held in a queue before the queries run.
How can the data engineer prevent the queries from queueing?

  1. Increase the query result limit.
  2. Configure provisioned capacity for an existing workgroup.
  3. Use federated queries.
  4. Allow users who run the Athena queries to an existing workgroup.

Answer(s): B



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?

  1. The AWS Glue job does not have the s3:GetObjectAcl permission that is required for bookmarks to work correctly.
  2. The maximum concurrency for the AWS Glue job is set to 1.
  3. The data engineer incorrectly specified an older version of AWS Glue for the Glue job.
  4. The AWS Glue job does not have a required commit statement.

Answer(s): D






Post your Comments and Discuss Amazon DEA-C01 exam with other Community members:

DEA-C01 Discussions & Posts