- Which of the following best describes Infrastructure as Code (IaC)?
View Answer
Correct answer: A — Managing infrastructure through code and automation
- Which of the following is true about declarative IaC?
View Answer
Correct answer: B — It defines desired state of infrastructure
- Which of the following is true about imperative IaC?
View Answer
Correct answer: B — It specifies exact steps to achieve configuration
- Terraform is primarily used for:
View Answer
Correct answer: B — Provisioning infrastructure across multiple providers
- Which of the following is true about Ansible?
View Answer
Correct answer: B — It automates configuration management using YAML playbooks
- Which of the following is true about Puppet?
View Answer
Correct answer: B — It uses a declarative language for configuration management
- Chef uses:
View Answer
Correct answer: B — Ruby-based DSL for configuration management
- Which of the following is true about IaC benefits?
View Answer
Correct answer: B — Consistency, repeatability, and automation
- Which of the following is true about Terraform state files?
View Answer
Correct answer: B — They track infrastructure resources managed by Terraform
- Which of the following is true about Ansible inventory?
View Answer
Correct answer: B — It defines hosts and groups for automation
- What will be printed?
1 echo "Eduinq IaC Test" View Answer
Correct answer: B — Eduinq IaC Test
- Which of the following is true about Puppet manifests?
View Answer
Correct answer: B — They define desired state of resources using Puppet DSL
- Which of the following is true about Chef cookbooks?
View Answer
Correct answer: B — They package recipes and resources for configuration
- Which of the following is true about Terraform modules?
View Answer
Correct answer: B — They allow reuse of infrastructure code
- Which of the following is true about Ansible roles?
View Answer
Correct answer: B — They organize playbooks into reusable components
- Which of the following is true about IaC testing?
View Answer
Correct answer: B — It validates infrastructure code before deployment
- Which of the following is true about Terraform providers?
View Answer
Correct answer: B — They enable interaction with cloud platforms and services
- Which of the following is true about Ansible playbooks?
View Answer
Correct answer: B — They define automation tasks in YAML
- Which of the following is true about Puppet modules?
View Answer
Correct answer: B — They package manifests and resources for reuse
- Which of the following is true about Chef recipes?
View Answer
Correct answer: B — They define configuration tasks in Ruby DSL
- Which of the following is true about Terraform plan command?
View Answer
Correct answer: A — It shows the execution plan before applying changes
- Which of the following is true about Ansible ad-hoc commands?
View Answer
Correct answer: C — They store secrets only
- Puppet agents communicate with:
View Answer
Correct answer: C — Secrets manager
- Which of the following is true about Chef nodes?
View Answer
Correct answer: C — They store secrets only
- Terraform apply command is used to:
View Answer
Correct answer: C — Store secrets only
- Which of the following is true about Ansible Galaxy?
View Answer
Correct answer: C — It stores secrets only
- Puppet facts provide:
View Answer
Correct answer: C — Secrets storage only
- Which of the following is true about Chef Supermarket?
View Answer
Correct answer: C — It stores secrets only
- Terraform workspaces allow:
View Answer
Correct answer: C — Managing multiple state files for environments
- Which of the following is true about Ansible Vault?
View Answer
Correct answer: C — Logs monitoring only
- What will be printed?
1 echo "Eduinq IaC Advanced" View Answer
Correct answer: D — Error
- Which of the following is true about Puppet Hiera?
View Answer
Correct answer: C — Hierarchical configuration data management
- Chef knife tool is used to:
View Answer
Correct answer: C — Store secrets only
- Which of the following is true about Terraform remote backends?
View Answer
Correct answer: C — Store state files in remote storage systems
- Ansible dynamic inventory allows:
View Answer
Correct answer: C — Automatic discovery of hosts from cloud providers
- Which of the following is true about Puppet environments?
View Answer
Correct answer: C — Separate configurations for development, testing, production
- Chef data bags are used to:
View Answer
Correct answer: C — Store global variables and configuration data
- Which of the following is true about Terraform provisioners?
View Answer
Correct answer: C — Execute scripts or commands after resource creation
- Ansible handlers are triggered by:
View Answer
Correct answer: C — Notifications from tasks when changes occur
- Which of the following is true about Puppet catalog?
View Answer
Correct answer: C — Compiled configuration applied to nodes
- Chef roles define:
View Answer
Correct answer: C — Sets of configurations applied to nodes
- Which of the following is true about Terraform variables?
View Answer
Correct answer: C — Parameterize configurations for flexibility
- Ansible templates use:
View Answer
Correct answer: C — Jinja2 for dynamic file generation
- Which of the following is true about Puppet reports?
View Answer
Correct answer: C — Provide information about node runs and status
- Chef environments allow:
View Answer
Correct answer: C — Define settings for dev, test, prod
- Which of the following is true about Terraform outputs?
View Answer
Correct answer: C — Display values after resource creation
- Ansible tags allow:
View Answer
Correct answer: C — Selectively run specific tasks in playbooks
- Which of the following is true about Puppet node definitions?
View Answer
Correct answer: C — Assign configurations to specific nodes
- Chef policyfiles are used to:
View Answer
Correct answer: C — Define node configurations in a single file
- Which of the following best describes Infrastructure as Code overall?
View Answer
Correct answer: C — Automating infrastructure management with code, tools, and policies