
Answer-first summary for fast verification
Answer: Cloud Run, which enables the deployment of containerized applications that can serve web content, including D3.js visualizations, with automatic scaling and no server management required.
The optimal Google Cloud service for deploying custom visualizations with JavaScript libraries like D3.js, under the given constraints, is **Cloud Run**. Here's why: - **Cloud Run** enables the deployment of containerized applications capable of serving web content, including D3.js visualizations. It's serverless, eliminating the need for server management, and scales automatically, making it ideal for web applications and APIs. Other options are less suitable: - **App Engine** can host web applications but is limited by its runtime environments, making **Cloud Run** more flexible for custom visualizations. - **Cloud Functions** is designed for event-driven serverless functions, not for hosting complex web applications. - **Cloud Data Studio** (now Looker Studio) is a managed tool for data visualization and reporting, offering less flexibility for highly custom D3.js visualizations compared to **Cloud Run**.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are tasked with deploying a web application that features custom visualizations built using JavaScript libraries such as D3.js. The application must be highly scalable, cost-effective, and require minimal infrastructure management. Additionally, the solution should support custom domains and automatic scaling based on traffic. Which Google Cloud service is the BEST choice for this scenario? Choose one correct option.
A
Cloud Functions, as it allows for serverless execution of code in response to events without the need for server management.
B
Cloud Run, which enables the deployment of containerized applications that can serve web content, including D3.js visualizations, with automatic scaling and no server management required.
C
App Engine, a fully managed platform that allows for the deployment of web applications with built-in services and automatic scaling.
D
Cloud Data Studio (now Looker Studio), a managed tool for creating and sharing interactive dashboards and reports.