Courseiva

Google PCA Manage and provision cloud infrastructure Practice Question

Which THREE of the following are best practices when using Deployment Manager to manage infrastructure? (Choose three.)

⚠ Common exam trap

The trap here is assuming that only YAML is supported or that raw API calls are acceptable for advanced use. Candidates may overlook that Deployment Manager supports Python and Jinja2, and that modularity via imports and composite types is encouraged.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Use templates to define resources modularly.

Option B is correct because Deployment Manager templates let you define resources modularly, so reusable building blocks (for example a VM template) can be instantiated multiple times with different properties instead of duplicating configuration. Option D is correct because imports allow a configuration or template to reference shared, external templates (such as a common network or firewall template), promoting reuse and consistent configuration across deployments. Option E is correct because composite types bundle multiple related resources into a single reusable type, which simplifies managing and repeating multi-resource patterns. Option A is not a best practice: raw REST API calls inside templates bypass the declarative template model and make configurations harder to maintain and reuse. Option C is not a best practice: Deployment Manager supports both YAML and Jinja/Python templates, so restricting yourself to only YAML configuration files unnecessarily limits templating and logic capabilities.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Use raw REST API calls in templates.

    Why it's wrong here

    Templates should declare resources through supported resource types so Deployment Manager manages state, dependencies and rollback; raw REST calls bypass that lifecycle. Direct API calls are tempting for unsupported features, but they belong in a custom provider, not embedded in templates.

  • ✓

    Use templates to define resources modularly.

    Why this is correct

    Templates decompose infrastructure into reusable, independently deployable modules, satisfying Deployment Manager's requirement for modular resource definitions. This enables consistent parameterised deployments across environments, reduces duplication, and supports version control of individual components rather than monolithic configurations.

  • ✗

    Use only YAML configuration files.

    Why it's wrong here

    Deployment Manager accepts Python (Jinja2) templates and YAML configs, so restricting to YAML alone discards the templating that enables reusable, parameterised deployments. YAML-only suits simple static resource definitions, but it cannot express the loops and conditionals larger infrastructures require.

  • ✓

    Use imports to reference shared configurations.

    Why this is correct

    Imports let a configuration reference shared templates and schemas from other files, so common definitions live in one place. This avoids copy-paste drift and enforces consistency, satisfying the best-practise goal of centralised, reusable infrastructure definitions across deployments.

  • ✓

    Use composite types to bundle related resources.

    Why this is correct

    Composite types let you bundle related resources into a single reusable unit, so a whole stack is created or updated together. This reduces duplication and drift, satisfying the modularity and consistency aims of Deployment Manager best practise.

Go deeper

Related to this question

About these practice questions

This PCA question is part of Courseiva's 807-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Google Cloud exam blueprint

This PCA practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.