0
0
GCPcloud~10 mins

Artifact Registry creation 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 an Artifact Registry repository with the correct location.

GCP
gcloud artifacts repositories create my-repo --repository-format=docker --location=[1]
Drag options to blanks, or click blank then click option'
Aus-central1
Beurope-west1
Casia-east1
Dglobal
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'global' as location which is not supported for Artifact Registry.
Choosing a location not supported by Artifact Registry.
2fill in blank
medium

Complete the code to specify the repository format as Docker.

GCP
gcloud artifacts repositories create my-repo --repository-format=[1] --location=europe-west1
Drag options to blanks, or click blank then click option'
Apython
Bnpm
Cmaven
Ddocker
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a format that does not match the intended package type.
Using 'maven' or 'npm' when creating a Docker repository.
3fill in blank
hard

Fix the error in the command to create a Docker repository named 'my-repo'.

GCP
gcloud artifacts repositories create [1] --repository-format=docker --location=europe-west1
Drag options to blanks, or click blank then click option'
Amy-repo
Bmy_repo
Cmyrepo
Dmy repo
Attempts:
3 left
💡 Hint
Common Mistakes
Using spaces in the repository name.
Using underscores which are not recommended.
4fill in blank
hard

Fill both blanks to create a Docker repository with description and location.

GCP
gcloud artifacts repositories create my-repo --repository-format=[1] --location=[2] --description="Docker images repository"
Drag options to blanks, or click blank then click option'
Adocker
Bmaven
Cus-central1
Deurope-west1
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing repository format and location values.
Using an unsupported location.
5fill in blank
hard

Fill all three blanks to create a Docker repository with location, description, and format.

GCP
gcloud artifacts repositories create [1] --repository-format=[2] --location=[3] --description="Repository for container images"
Drag options to blanks, or click blank then click option'
Amy-repo
Bdocker
Cus-central1
Dmaven
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid repository name.
Choosing the wrong repository format.
Selecting an unsupported location.