Flashcardsfor IT Certifications

D3: Protecting Compute Instance Metadata

Google Cloud Professional Cloud Security Engineer exam practice questions · 10 flashcards

Question
What is instance metadata?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Protecting Compute Instance Metadata practice questions and answers
  1. What is instance metadata?
    Key-value data and credentials served by the metadata server (169.254.169.254).
  2. Why not store secrets in metadata?
    Any process on the VM or users with metadata access can read it.
  3. Risk of SSRF with metadata?
    Attackers may fetch SA tokens from the metadata server.
  4. How to block project-wide SSH keys?
    block-project-ssh-keys=TRUE.
  5. Better alternative to metadata SSH keys?
    OS Login.
  6. GKE metadata protection?
    Workload Identity Federation for GKE uses the GKE metadata server, hiding node credentials.
  7. What is Shielded VM?
    Secure boot, vTPM and integrity monitoring.
  8. Who can modify metadata?
    Users with compute.instances.setMetadata permissions; restrict them.
  9. Startup scripts risk?
    Contain sensitive data visible in metadata; use Secret Manager instead.
  10. Legacy metadata endpoints?
    Disabled; only v1 with Metadata-Flavor header.