Google Professional Agentic Architect - Professional Agentic Architect Exam
Page: 3 / 15
Total 75 questions
Question #11 (Topic: Exam A)
Your organization maintains an internal service registry that lists the endpoints exposed by various teams across the organization. Endpoints are added and removed throughout the day. Your team uses Antigravity to write client code against the endpoints. You discover that the agent is generating code referencing stale, decommissioned endpoints. You need Antigravity to dynamically verify active endpoints from the registry in real time while generating code. What should you do?
A. Create an MCP server, and connect Antigravity to the registry using the MCP.
B. Define a custom Antigravity subagent whose role is endpoint lookup.
C. Add the endpoint list to an Antigravity workspace rule.
D. Add an Antigravity PostToolUse hook that checks generated calls against the registry.
Answer: A
Question #12 (Topic: Exam A)
Your team uses Antigravity coding agent for both app development and infrastructure as code (IaC) provisioning. Your organization maintains an extensive internal infrastructure style guide that the agent currently includes in the persistent workspace configuration, causing context window congestion and degrading reasoning performance during noninfrastructure coding tasks. You need to configure the agent to automatically load and follow the style guide only when infrastructure tasks are initiated. What should you do?
A. Create a custom skill with the style guide containing a SKILL.md file that defines activation criteria in its frontmatter.
B. Add the style guide to the global system instructions within the Antigravity agent settings.
C. Add the style guide as a documentation resource by deploying an MCP server for the agent.
D. Add the style guide to a .gemini/rules file in the root of the project workspace.
Answer: A
Question #13 (Topic: Exam A)
You are configuring custom coding agents using Antigravity for an enterprise engineering team. You discover that the agent frequently attempts to execute unauthorized terminal commands despite instructions in the project’s markdown context files specifying command boundaries. You need to enforce strict, deterministic guardrails that validate shell command arguments prior to tool execution. What should you do?
A. Define a specialized Antigravity subagent in the .agents/subagents/ directory configured with a review prompt to evaluate and approve terminal commands prior to delegating execution.
B. Configure an Antigravity PreToolUse hook in a .agents/hooks.json file to run a script that sends the command string to a remote LLM API for a semantic safety review.
C. Update the Antigravity workspace rule activation mode to ‘Always On’ in the .agents/rules/ directory to ensure system instructions for command boundary checking are prepended to every conversation turn.
D. Configure an Antigravity PreToolUse hook in a .agents/hooks.json file to run a validation script to inspect command line flags from stdin.
Answer: D
Question #14 (Topic: Exam A)
You are customizing enterprise coding workflows by augmenting Antigravity CLI with Agents CLI. Your team needs to package reusable agent capabilities and safety guardrails across developer workspaces while executing automated verifications before cloud deployment. You also need to maintain consistent governance and agent behavior across all local workspaces. What should you do?
A. Transform system instructions into workspace context files, and use the agents-cli run command to validate behaviors before attaching them to Agent Gateway.
B. Define persona subagents into workspace configuration files, and use the agents-cli deploy command to validate behaviors before publishing them to Agent Registry.
C. Convert the agent capabilities into shareable Agent Skills, and use the agents-cli eval command to validate behaviors before publishing them to Agent Registry.
D. Deploy guardrails as server-side workspace hooks, and use the agents-cli scaffold command to validate behaviors before storing them in Model Armor.
Answer: C
Question #15 (Topic: Exam A)
You are configuring Claude Code on Google Cloud to help developers refactor microservices. You created a custom tool service using an MCP server that runs locally through standard input/output (stdio). You need to configure Claude Code so the coding agent automatically discovers and executes the tools exposed by the MCP server during interactive sessions. What should you do?
A. Export the tool function signatures as a JSON-encoded string in the CLAUDE_CODE_TOOLS environment variable before launching the CLI.
B. Define the custom tool definitions in a SKILLS.md file in the project’s root directory.
C. Add the MCP server command field with executable code and arguments under the mcpServers object in the .claude.json file.
D. Register the MCP server to Agent Registry using Claude Code console.
Answer: C