Question 12
Domain 2Which Google Cloud service would you use to build custom visualizations with JavaScript libraries like D3.js?
Correct answer: C
Explanation
Cloud Run is used to deploy and run containerized web applications, which makes it a fit for serving custom visualization apps built with JavaScript libraries like D3.js. It lets you package the app and expose it as a web service, so you can build interactive charts and dashboards with your own code.
Why each option is right or wrong
A. App Engine
B. Cloud Functions
C. Cloud Run
Cloud Run is the correct choice because it runs stateless containerized web apps over HTTP, which is exactly what you need to serve a custom JavaScript visualization app built with libraries such as D3.js. It supports request-based autoscaling and lets you deploy your own code and dependencies in a container, rather than being limited to a prebuilt BI or charting product.
D. Cloud Data Studio