0
0
GCPcloud~10 mins

SSL certificates management 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 managed SSL certificate resource in GCP.

GCP
gcloud compute ssl-certificates create my-ssl-cert --[1]=example.com
Drag options to blanks, or click blank then click option'
Aregion
Bproject
Cdomains
Dname
Attempts:
3 left
💡 Hint
Common Mistakes
Using --name instead of --domains
Using --project or --region which are unrelated here
2fill in blank
medium

Complete the code to list all SSL certificates in your GCP project.

GCP
gcloud compute ssl-certificates [1]
Drag options to blanks, or click blank then click option'
Acreate
Blist
Cdescribe
Ddelete
Attempts:
3 left
💡 Hint
Common Mistakes
Using describe which shows details for one certificate
Using create or delete which modify resources
3fill in blank
hard

Fix the error in the command to delete an SSL certificate named 'old-cert'.

GCP
gcloud compute ssl-certificates [1] old-cert
Drag options to blanks, or click blank then click option'
Adelete
Bdrop
Cdestroy
Dremove
Attempts:
3 left
💡 Hint
Common Mistakes
Using remove, destroy, or drop which are not valid gcloud commands
4fill in blank
hard

Fill both blanks to create a self-managed SSL certificate with a certificate file and private key file.

GCP
gcloud compute ssl-certificates create my-self-managed-cert --certificate=[1] --[2]=my-key.pem
Drag options to blanks, or click blank then click option'
Acert.pem
Bprivate-key
Ckey
Dcertificate
Attempts:
3 left
💡 Hint
Common Mistakes
Using --private-key instead of --key
Confusing certificate file with key file
5fill in blank
hard

Fill all three blanks to describe an SSL certificate named 'my-cert' in detail.

GCP
gcloud compute ssl-certificates [1] my-cert --[2] json --format=[3]
Drag options to blanks, or click blank then click option'
Adescribe
Bformat
Cjson
Dlist
Attempts:
3 left
💡 Hint
Common Mistakes
Using list instead of describe
Using --output instead of --format
Using output values other than json