Question 120 of 307
Single answerYou've migrated a Hadoop job from an on-prem cluster to dataproc and GCS. Your Spark job is a complicated analytical workload that consists of many shuffling operations and initial data are parquet files (on average 200-400 MB size each). You see some degradation in performance after the migration to Dataproc, so you'd like to optimize for it. You need to keep in mind that your organization is very cost-sensitive, so you'd like to continue using Dataproc on preemptibles (with 2 non-preemptible workers only) for this workload.
What should you do?
AIncrease the size of your parquet files to ensure them to be 1 GB minimum.
BSwitch to TFRecords formats (appr. 200MB per file) instead of parquet files.
CSwitch from HDDs to SSDs, copy initial data from GCS to HDFS, run the Spark job and copy results back to GCS.
✓DSwitch from HDDs to SSDs, override the preemptible VMs configuration to increase the boot disk size.
✓
Correct Answer: D
Switch from HDDs to SSDs, override the preemptible VMs configuration to increase the boot disk size.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.