0
0
GCPcloud~10 mins

Certificate Authority Service 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 new Certificate Authority in Google Cloud.

GCP
gcloud privateca certificate-authorities create my-ca --location=[1] --pool=my-pool
Drag options to blanks, or click blank then click option'
Asouthamerica-east1
Beurope-west1
Casia-east1
Dus-central1
Attempts:
3 left
💡 Hint
Common Mistakes
Using a region where the service is not available.
Leaving the location blank.
2fill in blank
medium

Complete the code to issue a new certificate from an existing Certificate Authority.

GCP
gcloud privateca certificates create my-cert --certificate-authority=my-ca --location=us-central1 --certificate-config=[1]
Drag options to blanks, or click blank then click option'
Aconfig.yaml
Bconfig.json
Cconfig.txt
Dconfig.xml
Attempts:
3 left
💡 Hint
Common Mistakes
Using a YAML or XML file instead of JSON.
Using a text file without proper JSON structure.
3fill in blank
hard

Fix the error in the command to revoke a certificate by completing the missing flag.

GCP
gcloud privateca certificates revoke my-cert --certificate-authority=my-ca --location=us-central1 [1]=KEY_COMPROMISE
Drag options to blanks, or click blank then click option'
A--reason
B--cause
C--status
D--type
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect flags like --cause or --type.
Omitting the reason flag entirely.
4fill in blank
hard

Fill both blanks to create a certificate revocation list (CRL) and specify its maximum size.

GCP
gcloud privateca crl-pools create my-crl-pool --location=us-central1 --max-entries=[1] --description=[2]
Drag options to blanks, or click blank then click option'
A1000
B500
C"CRL for revoked certificates"
D"Certificate revocation list"
Attempts:
3 left
💡 Hint
Common Mistakes
Using a small number for max entries.
Not quoting the description string.
5fill in blank
hard

Fill all three blanks to define a certificate template with a specific key algorithm, key usage, and lifetime.

GCP
gcloud privateca templates create my-template --location=us-central1 --key-algorithm=[1] --key-usage=[2] --lifetime=[3]
Drag options to blanks, or click blank then click option'
ARSA_2048
Bdigital_signature
C8760h
DECDSA_P256
Attempts:
3 left
💡 Hint
Common Mistakes
Using RSA instead of ECDSA for key algorithm.
Using incorrect key usage values.
Setting lifetime in wrong units.