My favorite:
https://stackoverflow.com/questions/1619834/what-is-the-difference-between-declarative-and-procedural-programming-paradigms
"Let me give you a real-world example: I need a cup of tea.
Procedural:
Go to kitchen
Get sugar, milk, and tea,
Mix them, and heat over the fire till it boils
Put that in a cup and bring it to me
Declarative:
Get me a cup of tea.
In a procedural language, you define the whole process and provide the steps how to do it. You just provide orders and define how the process will be served.
In a declarative language, you just set the command or order, and let it be on the system how to complete that order. You just need your result without digging into how it should be done."
https://k21academy.com/ansible/terraform-vs-ansible/#procdeural
Terraform follows the declarative approach, ensuring that if your defined environment suffers changes, it rectifies those changes. This tool attempts to reach the desired end state described by the sysadmin. Puppet also follows the declarative approach. With terraform, we can automatically describe the desired state and figure out how to move from one state to the next.
Ansible is of hybrid nature. It follows both declarative and procedural style configuration. It performs ad-hoc commands to implement procedural-style configurations. Please read the documentation of Ansible very carefully to get in-depth knowledge of its behavior. It’s important to know whether you need to add or subtract resources to get the desired result or need to indicate the resources required explicitly.
Puppet aims to be declarative, ansible is a hybrid of declarative and procedural! Answer is still what they are looking for but options to chose are wrong...
Answer is wrong: Ansible uses playbooks and is declaritive!
Declarative Not Procedural- Other configuration tools tend to be procedural do this and then do that and so on. Ansible works by you writing a description of the state of the machine that you want and then it takes steps to fulfil that description.
https://subramanisundaram.medium.com/ansible-infrastructure-automation-fc84ba9bd9da
https://www.google.com/search?q=is+puppet+declarative&oq=puppet+is+decla&aqs=edge.1.69i57j0i22i30l8.4390j0j1&sourceid=chrome&ie=UTF-8 puppet is declarative.
upvoted 1 times
...
...
This section is not available anymore. Please use the main Exam Page.350-401 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
HungarianDish_111
Highly Voted 1 year, 9 months agoeearmani
1 year ago[Removed]
Most Recent 7 months agoJasper
10 months agoCCNPWILL
1 year, 2 months agoXDR
1 year, 8 months agoStefanOT2
1 year, 11 months agokthekillerc
3 years, 3 months agoRockford
3 years, 7 months agoRockford
3 years, 7 months agoRockford
3 years, 7 months agoXerath
2 years ago