0
0
GCPcloud~10 mins

Security Command Center overview 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 enable Security Command Center for a GCP project.

GCP
gcloud scc settings [1] --organization=123456789
Drag options to blanks, or click blank then click option'
Aactivate
Bstart
Cenable
Dinit
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'activate' instead of 'enable' causes an error.
2fill in blank
medium

Complete the code to list all findings in Security Command Center.

GCP
gcloud scc findings list --source=[1] --organization=123456789
Drag options to blanks, or click blank then click option'
Asource
Bsource-id
Csource_id
Dsource-name
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'source_id' instead of 'source' causes the command to fail.
3fill in blank
hard

Fix the error in the command to create a Security Command Center source.

GCP
gcloud scc sources [1] --organization=123456789 --display-name="My Source"
Drag options to blanks, or click blank then click option'
Aadd
Bcreate
Cnew
Dmake
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'add' or 'new' causes an unknown command error.
4fill in blank
hard

Fill both blanks to filter findings by severity and state.

GCP
gcloud scc findings list --organization=123456789 --filter='severity=[1] AND state=[2]'
Drag options to blanks, or click blank then click option'
AHIGH
BACTIVE
COPEN
DCRITICAL
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'OPEN' as state is invalid; correct is 'ACTIVE'.
5fill in blank
hard

Fill all three blanks to create a notification config for Security Command Center.

GCP
gcloud scc notification-configs create [1] --organization=123456789 --pubsub-topic=[2] --description=[3]
Drag options to blanks, or click blank then click option'
Amy-notify-config
Bprojects/my-project/topics/my-topic
C"Alerts for SCC findings"
Ddefault-config
Attempts:
3 left
💡 Hint
Common Mistakes
Using a wrong topic format or missing quotes around description.