0
0
GCPcloud~10 mins

Custom domains in GCP - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a custom domain mapping in Google Cloud App Engine.

GCP
gcloud app domain-mappings create [1] --certificate-management=auto
Drag options to blanks, or click blank then click option'
Aexample.com
Bmyapp.appspot.com
Cdefault
Dappengine.google.com
Attempts:
3 left
💡 Hint
Common Mistakes
Using the default appspot domain instead of a custom domain.
Using Google internal URLs instead of your domain.
2fill in blank
medium

Complete the code to verify domain ownership using Google Cloud CLI.

GCP
gcloud domains verify [1]
Drag options to blanks, or click blank then click option'
Adefault
Bproject-id
Cexample.com
Dappengine
Attempts:
3 left
💡 Hint
Common Mistakes
Using project ID or other unrelated strings instead of the domain name.
Trying to verify the default appspot domain.
3fill in blank
hard

Fix the error in the command to list domain mappings for your app.

GCP
gcloud app domain-mappings [1]
Drag options to blanks, or click blank then click option'
Ashow
Blist
Cdescribe
Dget
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'show' or 'describe' without specifying a domain.
Using 'get' which is not a valid subcommand here.
4fill in blank
hard

Fill both blanks to create a domain mapping with a specific SSL certificate.

GCP
gcloud app domain-mappings create [1] --certificate-id=[2]
Drag options to blanks, or click blank then click option'
Aexample.com
B1234567890abcdef
Cmyapp.appspot.com
Ddefault
Attempts:
3 left
💡 Hint
Common Mistakes
Using the default appspot domain instead of your custom domain.
Using a certificate ID that does not exist or is invalid.
5fill in blank
hard

Fill all three blanks to update a domain mapping to use managed SSL and specify the domain.

GCP
gcloud app domain-mappings update [1] --certificate-management=[2] --project=[3]
Drag options to blanks, or click blank then click option'
Aexample.com
Bauto
Cmy-gcp-project
Dmanual
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'manual' instead of 'auto' for certificate management when you want automatic SSL.
Forgetting to specify the project ID if working with multiple projects.