exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 183 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 183
Topic #: 1
[All Professional Machine Learning Engineer Questions]

You are training an ML model on a large dataset. You are using a TPU to accelerate the training process. You notice that the training process is taking longer than expected. You discover that the TPU is not reaching its full capacity. What should you do?

  • A. Increase the learning rate
  • B. Increase the number of epochs
  • C. Decrease the learning rate
  • D. Increase the batch size
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
fitri001
Highly Voted 6 months, 2 weeks ago
Selected Answer: D
A common reason for underutilized TPUs is a small batch size. TPUs are designed for high throughput, and feeding them small batches doesn't leverage their full potential. Try increasing the batch size while monitoring model performance. A larger batch size can lead to faster training but might also affect accuracy. Experiment to find the optimal balance.
upvoted 5 times
...
36bdc1e
Most Recent 9 months, 3 weeks ago
D taking big batch size allows to use more memory and decrease the train time
upvoted 1 times
...
BlehMaks
9 months, 3 weeks ago
Selected Answer: D
Batch size is too small because of sharding https://cloud.google.com/tpu/docs/performance-guide
upvoted 1 times
...
pikachu007
9 months, 3 weeks ago
Selected Answer: D
D, the bigger the batch size, the more resource is taken up
upvoted 2 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