nerdexam
Amazon

DAS-C01 · Question #74

A media company has been performing analytics on log data generated by its applications. There has been a recent increase in the number of concurrent analytics jobs running, and the overall…

The correct answer is C. Increase the read capacity units (RCUs) for the shared Amazon DynamoDB table. When EMRFS consistent view is enabled, EMR uses a shared Amazon DynamoDB table to track S3 object metadata and ensure read-after-write consistency. As the number of concurrent EMR clusters and jobs increases, all clusters read from and write to this same DynamoDB table, which…

Processing

Question

A media company has been performing analytics on log data generated by its applications. There has been a recent increase in the number of concurrent analytics jobs running, and the overall performance of existing jobs is decreasing as the number of new jobs is increasing. The partitioned data is stored in Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA) and the analytic processing is performed on Amazon EMR clusters using the EMR File System (EMRFS) with consistent view enabled. A data analyst has determined that it is taking longer for the EMR task nodes to list objects in Amazon S3. Which action would MOST likely increase the performance of accessing log data in Amazon S3?

Options

  • AUse a hash function to create a random string and add that to the beginning of the object prefixes
  • BUse a lifecycle policy to change the S3 storage class to S3 Standard for the log data.
  • CIncrease the read capacity units (RCUs) for the shared Amazon DynamoDB table.
  • DRedeploy the EMR clusters that are running slowly to a different Availability Zone.

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    81% (25)
  • D
    6% (2)

Explanation

When EMRFS consistent view is enabled, EMR uses a shared Amazon DynamoDB table to track S3 object metadata and ensure read-after-write consistency. As the number of concurrent EMR clusters and jobs increases, all clusters read from and write to this same DynamoDB table, which can exhaust the provisioned Read Capacity Units (RCUs). The symptom-task nodes taking longer to list S3 objects-is a DynamoDB throughput bottleneck, not an S3 prefix or storage class problem. Increasing RCUs gives the shared consistency table enough throughput to serve all concurrent clusters. Changing the S3 storage class (B) or moving to another AZ (D) would not resolve a DynamoDB capacity constraint, and a hash prefix (A) helps with S3 PUT throttling, not DynamoDB reads.

Topics

#EMRFS#Consistent View#DynamoDB Performance#S3 Data Access

Community Discussion

No community discussion yet for this question.

Full DAS-C01 Practice