You are working on a niche product in the image recognition domain. Your team has developed a model that is dominated by custom C++ TensorFlow ops your team has implemented. These ops are used inside your main training loop and are performing bulky matrix multiplications. It currently takes up to several days to train a model. You want to decrease this time significantly and keep the cost low by using an accelerator on Google Cloud. What should you do?
Suggested Answer: B
Get Premium Professional Data Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
AM
Amie
1 year ago
D is a waste of resources, just upgrade to TPUs or GPUs instead!
LO
Lorean
1 year ago
Wait, can you really just switch to TPUs without any changes? Sounds risky!
ER
Erasmo
1 year ago
A seems too optimistic, you’ll need adjustments for TPUs.
TE
Temeka
1 year ago
I think C could be a good option too, but it might be slower.
SH
Sherell
1 year ago
Definitely go with B, TPUs need those custom ops to work well!
AN
Annabelle
1 year ago
Staying on CPUs seems like a bad idea, but I wonder if increasing the cluster size could help at all. It feels like a last resort option.
HU
Huey
1 year ago
I'm leaning towards using Cloud GPUs since they might be easier to integrate with custom ops, but I’m not completely confident about the performance compared to TPUs.
RE
Rebecka
1 year ago
I think we practiced a question where we had to implement GPU kernel support for custom ops before using TPUs. That might be necessary here too.
NI
Nichelle
1 year ago
I remember we discussed how TPUs can significantly speed up training, but I'm not sure if they can work with custom C++ ops without modifications.
ST
Stephen
1 year ago
I think the key here is that the R programmers are tasked with copying the data. That sounds like the Extract phase to me, where they'd use their R skills to pull the data from the source system.
CH
Chantay
1 year ago
Ah, this is a good one. I remember discussing subscriber keys and data deduplication in class. I'm feeling confident I can nail this.
JE
Jesusa
1 year ago
I recall a similar question where the focus was on application settings, and I'm pretty confident that it was about using the global policy.