
Answer-first summary for fast verification
Answer: Jinja2 templates offer simplicity and use YAML syntax, but are less powerful compared to Python templates., Python templates provide the ability to programmatically create or manage templates, making them more powerful.
Cloud Deployment Manager supports templates written in either Python 2.7 or Jinja2. Python templates are more powerful, enabling programmatic creation and management of templates, ideal for those familiar with Python. Jinja2, while simpler and using YAML syntax, is less powerful, suited for straightforward templates without Python complexity. Reference: https://cloud.google.com/deployment-manager/docs/step-by-step-guide/create-a-template
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
What are two correct statements regarding the choices available for Cloud Deployment Manager templates?
A
Jinja2 templates offer simplicity and use YAML syntax, but are less powerful compared to Python templates.
B
Python templates provide the ability to programmatically create or manage templates, making them more powerful.
C
Jinja2 is more powerful than Python and allows for programmatic template management.
D
Python is simpler than Jinja2 and uses the same syntax as YAML.