ASSOCIATE-CLOUD-ENGINEER · Question #77
You have been asked to automate the infrastructure deployment using Google Deployment Manager service. Which all formats do Deployment manager template supports?
The correct answer is B. YAML D. Python. Google Cloud Deployment Manager templates support both YAML for configuration and Python for more dynamic, programmatic definitions.
Question
Options
- AJSON
- BYAML
- CPowershell
- DPython
How the community answered
(35 responses)- A3% (1)
- B91% (32)
- C6% (2)
Why each option
Google Cloud Deployment Manager templates support both YAML for configuration and Python for more dynamic, programmatic definitions.
While JSON is a data serialization format, YAML is the standard configuration language for Deployment Manager templates, and Python can generate JSON.
YAML is the primary configuration language for Deployment Manager, used to define the desired state of resources.
Powershell is a scripting language primarily used in Microsoft environments and is not a supported templating language for Google Cloud Deployment Manager.
Python is used for creating template files that allow for programmatic logic, enabling dynamic resource generation and complex configurations within Deployment Manager deployments.
Concept tested: Deployment Manager template languages
Source: https://cloud.google.com/deployment-manager/docs/fundamentals/templates
Topics
Community Discussion
No community discussion yet for this question.