exam questions

Exam Associate Data Practitioner All Questions

View all questions & answers for the Associate Data Practitioner exam

Exam Associate Data Practitioner topic 1 question 59 discussion

Actual exam question from Google's Associate Data Practitioner
Question #: 59
Topic #: 1
[All Associate Data Practitioner Questions]

You have a Dataproc cluster that performs batch processing on data stored in Cloud Storage. You need to schedule a daily Spark job to generate a report that will be emailed to stakeholders. You need a fully-managed solution that is easy to implement and minimizes complexity. What should you do?

  • A. Use Cloud Composer to orchestrate the Spark job and email the report.
  • B. Use Dataproc workflow templates to define and schedule the Spark job, and to email the report.
  • C. Use Cloud Run functions to trigger the Spark job and email the report.
  • D. Use Cloud Scheduler to trigger the Spark job, and use Cloud Run functions to email the report.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
n2183712847
1 month, 3 weeks ago
Selected Answer: B
dataproc worker template will work the best.
upvoted 1 times
...
n2183712847
1 month, 4 weeks ago
Selected Answer: B
The best option is B. Dataproc workflow templates. Option B is best because workflow templates are built into Dataproc for simple Spark job scheduling. Option A (Composer) is incorrect because Composer is too complex for this simple task. Option C (Cloud Run trigger) is incorrect because Cloud Run is not for Dataproc job management. Option D (Cloud Scheduler + Cloud Run) is incorrect because it's more complex than workflow templates. Therefore, Option B, workflow templates, is the easiest and most direct solution.
upvoted 2 times
...
SaquibHerman
2 months, 1 week ago
Selected Answer: A
Dataproc Workflow Templates are excellent for defining and scheduling Spark jobs, but they do not natively support emailing reports.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago