D2: Running Coding Agents in Secure Sandboxes
Google Cloud Professional Agentic Architect exam practice questions · 10 flashcards
Question
Why run coding agents in sandboxes?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Running Coding Agents in Secure Sandboxes practice questions and answers
- Why run coding agents in sandboxes?They execute commands; isolation limits damage from mistakes or malicious input.
- How can Cloud Workstations help?Managed, isolated dev environments with controlled networking and IAM.
- How can GKE provide sandboxes?Isolated pods (e.g. gVisor-based sandboxes) with resource and network limits.
- How does Antigravity add safety?Terminal command policies, approval settings and controlled browser/tool access.
- What is network egress control for sandboxes?Restricting outbound connections to prevent data exfiltration.
- Why use ephemeral sandboxes?Fresh environments reduce persistence of compromises and leaked secrets.
- Should coding agents have production credentials?No; use least-privilege, non-production credentials.
- Why require approval for destructive commands?Prevent irreversible actions like deleting data or force pushes.
- How do you protect secrets in sandboxes?Use Secret Manager, avoid plaintext env files, and block agent access to secret files.
- What is a key risk of unsandboxed agents?Prompt injection causing harmful commands on your machine or network.