nerdexam
Amazon

DEA-C01 · Question #290

A company needs to use an Aws Glue PySpark job to read specific data from an Amazon DynamoDB table. The company knows the partition key values for the required records. The existing processing logic…

The correct answer is D. Perform a query on the DynamoDB table in the AWS Glue job. Use the partition key in the key. A DynamoDB Query that uses the partition key in the key condition expression reads only the items in the specified partition(s), which minimizes consumed RCUs compared with any Scan- based approach. The job can then convert the query results into a DynamicFrame to satisfy the…

Data Ingestion and Transformation

Question

A company needs to use an Aws Glue PySpark job to read specific data from an Amazon DynamoDB table. The company knows the partition key values for the required records. The existing processing logic of the AWS Glue PySpark job requires the data to be in DynamicFrame format. The company needs a solution to ensure that the job reads only the specified data. Which solution will meet this requirement with the MINIMUM number of read capacity units (RCUs)?

Options

  • AUse the AWS Glue DynamoDB ETL connector to read the DynamoDB table. Use the filter option
  • BPerform a query on the DynamoDB table in the AWS Glue job by using only the sort key in the
  • CPerform a scan on the DynamoDB table in the Aws Glue job. Put the data into a DynamicFrame.
  • DPerform a query on the DynamoDB table in the AWS Glue job. Use the partition key in the key

How the community answered

(49 responses)
  • A
    2% (1)
  • B
    14% (7)
  • C
    8% (4)
  • D
    76% (37)

Explanation

A DynamoDB Query that uses the partition key in the key condition expression reads only the items in the specified partition(s), which minimizes consumed RCUs compared with any Scan- based approach. The job can then convert the query results into a DynamicFrame to satisfy the existing processing logic.

Topics

#AWS Glue#DynamoDB#Data Querying#Cost Optimization

Community Discussion

No community discussion yet for this question.

Full DEA-C01 Practice