Courseiva
Deploying and Implementing a Cloud SolutionmediumMultiple ChoiceObjective-mapped

Google ACE Deploying and Implementing a Cloud Solution Practice Question

An organization wants to use Cloud Storage to host a static website. The bucket name must match the domain name. They already own the domain 'example.com' and want to serve the site from 'www.example.com'. Which bucket name should they create?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

www.example.com

To host a website with a custom domain using Cloud Storage, you must use a bucket name that matches the domain (or subdomain). For 'www.example.com', the bucket must be named 'www.example.com'. For the apex domain, it would be 'example.com'.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • example.com

    Why it's wrong here

    Using example.com as the bucket name would map the bucket to the apex domain, not the www subdomain required by the static site URL. Cloud Storage custom domain configuration demands an exact bucket-to-hostname match, so a bucket named example.com would only work if you intended to serve from the bare apex domain instead of www.example.com. Since the site is accessed via www, this bucket name is incorrect.

  • www_example_com

    Why it's wrong here

    Bucket names for custom domains must comply with DNS hostname rules, which means lowercase letters, numbers, hyphens, and dots are allowed—but underscores are not. The name www_example_com contains underscores, which are invalid in DNS hostnames and would cause TLS certificate validation and domain mapping to fail. Thus it cannot be used as a Cloud Storage bucket name for a custom domain.

  • example-com-bucket

    Why it's wrong here

    Bucket names like example-com-bucket do not match the exact hostname www.example.com because they substitute hyphens for the dot separator. Cloud Storage requires the bucket name to be identical to the domain (or subdomain) you want to serve; otherwise, the CNAME record pointing to c.storage.googleapis.com will not resolve to the correct bucket. Therefore, this arbitrary name will not work for hosting the static site on www.example.com.

  • www.example.com

    Why this is correct

    The bucket must be named exactly www.example.com to serve content from that custom domain. When you create a bucket with this name, verify the domain in Cloud Console, and add a CNAME record from www.example.com to c.storage.googleapis.com, Cloud Storage automatically maps the bucket to the hostname. This exact match is required for HTTPS and proper static site hosting.

About these practice questions

This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.