0
0
GCPcloud~5 mins

Artifact Registry creation in GCP - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Artifact Registry in Google Cloud?
Artifact Registry is a service in Google Cloud that stores and manages container images and language packages securely and reliably.
Click to reveal answer
beginner
Which command creates a new Artifact Registry repository in Google Cloud?
The command is: <br>gcloud artifacts repositories create REPOSITORY_NAME --repository-format=FORMAT --location=LOCATION<br>Replace REPOSITORY_NAME, FORMAT (like docker), and LOCATION with your values.
Click to reveal answer
intermediate
Why do you specify a location when creating an Artifact Registry repository?
The location defines where your artifacts are stored physically, which affects latency and compliance with data regulations.
Click to reveal answer
intermediate
What repository formats can Artifact Registry support?
Artifact Registry supports formats like Docker images, Maven packages, npm packages, Python packages, and more.
Click to reveal answer
intermediate
What IAM role is typically needed to create an Artifact Registry repository?
The role 'roles/artifactregistry.admin' or equivalent permissions are needed to create and manage Artifact Registry repositories.
Click to reveal answer
Which gcloud command option specifies the repository format when creating an Artifact Registry repository?
A--format-repository
B--repository-format
C--repo-format
D--format
What is the default location if none is specified when creating an Artifact Registry repository?
Aglobal
Bus-east1
Cus-central1
DNo default; location is required
Which of these is NOT a supported repository format in Artifact Registry?
ARubyGems
Bnpm
CMaven
DDocker
What IAM role allows a user to create Artifact Registry repositories?
Aroles/storage.objectViewer
Broles/compute.admin
Croles/artifactregistry.admin
Droles/viewer
Which Google Cloud service is Artifact Registry replacing?
AContainer Registry
BCloud Storage
CCloud Build
DCloud Functions
Explain the steps to create an Artifact Registry repository in Google Cloud.
Think about the command and required options.
You got /5 concepts.
    Describe why choosing the right location for an Artifact Registry repository is important.
    Consider performance and legal reasons.
    You got /4 concepts.