Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Cloud Developer practice bank has an additional 608 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
You are configuring an IDE-based AI coding assistant (such as VS Code or Cursor IDE) for a development team building a Python microservices application on Google Cloud. Your team needs the assistant to meet the following requirements:
How should you configure the IDE's Model Context Protocol (MCP) integration?
roles/mcp.toolUser because Google Cloud remote MCP servers bypass IAM.The Policy Analyzer and Policy Troubleshooter remote MCP servers expose specialized Identity and Access Management tools to AI agents. Policy Analyzer helps agents audit and analyze IAM policies across projects and resources to answer who has access to what, while Policy Troubleshooter provides tools to diagnose IAM permission denials and policy evaluation errors.
roles/mcp.toolUser) role on the target project so developers and agents can invoke MCP tools. Omitting this role causes authentication and authorization failures from the IDE.roles/mcp.toolUser and support fine-grained IAM allow/deny policies; only non-Google Cloud Google remote MCP servers omit the roles/mcp.toolUser requirement.roles/mcp.toolUser, connecting to any Google Cloud MCP server requires the appropriate product-specific IAM roles for the underlying resources.Your primary task was diagnosing IAM permission errors or auditing access policies across a project, and you properly granted roles/mcp.toolUser alongside the required Policy Intelligence IAM permissions.
The Developer Connect remote MCP server allows AI coding assistants to interact uniformly with Git repositories hosted on GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise once linked to Developer Connect. It enables agents to read commits, inspect diffs, check blame history, and open or comment on pull requests without managing local SCM credentials. Model Armor is a Google Cloud security service that screens LLM prompts and MCP tool calls and responses using configurable filters such as prompt injection detection, malicious URL filtering, and Sensitive Data Protection (SDP) de-identification.
The primary goal were automating pull request reviews, reading commit histories, and inspecting diffs across linked Git repositories—while leaving Sensitive Data Protection de-identification turned off in Model Armor to preserve code integrity.
Developers can build and host custom MCP servers on Cloud Run using official MCP language SDKs or FastMCP to expose internal APIs or custom workflows. In the Model Context Protocol architecture, stdio (standard input/output) transport is designed exclusively for local MCP servers running on the same machine as the MCP host, whereas remote servers hosted on cloud platforms communicate over network-based HTTP endpoints.
roles/owner) credentials grants unrestricted permissions across the entire project, creating unnecessary security risk if the AI agent executes unintended actions. Best practice is to use service account impersonation with minimal scoped roles such as roles/mcp.toolUser.You needed to expose proprietary internal business APIs not covered by Google Cloud managed MCP servers, deployed the custom server on Cloud Run using Streamable HTTP (not stdio), and enforced least-privilege IAM authentication.
roles/mcp.toolUser IAM role.The App Design Center and Gemini Cloud Assist remote Model Context Protocol (MCP) servers expose managed Google Cloud infrastructure design, inspection, and security assessment capabilities to AI applications. Within an IDE such as VS Code or Cursor IDE, the MCP host uses an embedded MCP client to communicate with these remote servers over Streamable HTTP endpoints (https://designcenter.googleapis.com/mcp and https://geminicloudassist.googleapis.com/mcp) once their respective APIs are enabled.
roles/mcp.toolUser IAM role and using service account impersonation with short-lived credentials avoids relying on broad personal user permissions.Combining App Design Center and Gemini Cloud Assist remote MCP servers directly addresses both code-driven architecture generation and live infrastructure inspection, whereas other MCP servers focus narrowly on source control or IAM auditing. Pairing Streamable HTTP with toolsets and service account impersonation delivers the highest security and agent performance for an IDE environment.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated