nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #59

You plan to make a simple HTML application available on the internet. This site keeps information about FAQs for your application. The application is static and contains images, HTML, CSS, and…

The correct answer is A. Upload your application to Cloud Storage. Cloud Storage supports static website hosting natively. You simply create a bucket, upload your files, set the bucket to public, and configure it as a website by specifying the main page and error page. This is a minimal-step, serverless, and cost-effective solution for serving…

Deploying Applications

Question

You plan to make a simple HTML application available on the internet. This site keeps information about FAQs for your application. The application is static and contains images, HTML, CSS, and Javascript. You want to make this application available on the internet with as few steps as possible. What should you do?

Options

  • AUpload your application to Cloud Storage.
  • BUpload your application to an App Engine environment.
  • CCreate a Compute Engine instance with Apache web server installed. Configure Apache web
  • DContainerize your application first. Deploy this container to Google Kubernetes Engine (GKE) and

How the community answered

(28 responses)
  • A
    93% (26)
  • C
    4% (1)
  • D
    4% (1)

Explanation

Cloud Storage supports static website hosting natively. You simply create a bucket, upload your files, set the bucket to public, and configure it as a website by specifying the main page and error page. This is a minimal-step, serverless, and cost-effective solution for serving static content. Option B (App Engine) adds unnecessary complexity with deployment configuration files and runtime setup. Option C (Compute Engine with Apache) requires provisioning a VM, installing and configuring a web server, and ongoing maintenance. Option D (GKE) involves containerization, cluster creation, and Kubernetes configuration, which is drastically over-engineered for a static site.

Topics

#Static Site Hosting#Cloud Storage#Application Deployment#Google Cloud Fundamentals

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice