Cisco CCNA 200-301 Ansible, Terraform and JSON Practice Test
Topic 44 focuses on Ansible, Terraform and JSON for the Cisco Certified Network Associate (CCNA) certification and the 200-301 exam, using Cisco networking and Cisco IOS concepts where relevant. For broader exam preparation, review the Cisco CCNA 200-301 Exam Dumps page. Each question includes a concise explanation of the correct answer and the technical reason the other choices are incorrect.
Question 1
Which automation tool commonly uses agentless remote access and declarative task definitions to configure systems?
Correct Answer: D
Correct Answer
Answer D is correct because the selected answer describes an automation tool that commonly uses agentless remote access and declarative task definitions to configure systems.
Incorrect Answers
Answer A is incorrect because the “JSON” option describes a different concept: a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Answer B is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer C is incorrect because the “Ansible module” option describes a different concept: a reusable unit of Ansible functionality that performs a specific task against a managed system.
Question 2
Which YAML file defines one or more plays and tasks to execute against managed hosts?
Correct Answer: A
Correct Answer
Answer A is correct because the selected answer describes a YAML file that defines one or more plays and tasks to execute against managed hosts.
Incorrect Answers
Answer B is incorrect because the “terraform apply” option describes a different concept: the terraform apply command executes an approved Terraform plan to create, change, or remove managed infrastructure.
Answer C is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer D is incorrect because the “Ansible inventory” option describes a different concept: a definition of the hosts and groups that Ansible can target.
Question 3
Which definition of the hosts and groups Ansible can target?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes a definition of the hosts and groups that Ansible can target.
Incorrect Answers
Answer A is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer B is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer D is incorrect because the “terraform init” option describes a different concept: the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Question 4
Which reusable unit of Ansible functionality performs a specific task against a managed system?
Correct Answer: D
Correct Answer
Answer D is correct because the selected answer describes a reusable unit of Ansible functionality that performs a specific task against a managed system.
Incorrect Answers
Answer A is incorrect because the “terraform apply” option describes a different concept: the terraform apply command executes an approved Terraform plan to create, change, or remove managed infrastructure.
Answer B is incorrect because the “YAML” option describes a different concept: a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Answer C is incorrect because the “Ansible inventory” option describes a different concept: a definition of the hosts and groups that Ansible can target.
Question 5
What is a human-readable data-serialization format commonly used for Ansible playbooks and configuration data?
Correct Answer: D
Correct Answer
Answer D is correct because the selected answer describes a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Incorrect Answers
Answer A is incorrect because the “Terraform” option describes a different concept: an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Answer B is incorrect because the “Ansible module” option describes a different concept: a reusable unit of Ansible functionality that performs a specific task against a managed system.
Answer C is incorrect because the “Ansible” option describes a different concept: an automation tool that commonly uses agentless remote access and declarative task definitions to configure systems.
Question 6
Which infrastructure-as-code tool uses declarative configuration to create and manage infrastructure through providers?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Incorrect Answers
Answer A is incorrect because the “YAML” option describes a different concept: a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Answer B is incorrect because the “Terraform provider” option describes a different concept: a plugin that lets Terraform interact with a specific platform, API, or service.
Answer D is incorrect because the “Ansible” option describes a different concept: an automation tool that commonly uses agentless remote access and declarative task definitions to configure systems.
Question 7
Which plugin lets Terraform interact with a specific platform, API, or service?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes a plugin that lets Terraform interact with a specific platform, API, or service.
Incorrect Answers
Answer A is incorrect because the “terraform init” option describes a different concept: the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Answer B is incorrect because the “JSON” option describes a different concept: a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Answer D is incorrect because the “terraform plan” option describes a different concept: the terraform plan command previews the changes Terraform proposes to make to reach the declared desired state.
Question 8
Which term describes data Terraform maintains to map declared resources to real infrastructure and track current managed state?
Correct Answer: D
Correct Answer
Answer D is correct because it describes data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Incorrect Answers
Answer A is incorrect because the “Terraform” option describes a different concept: an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Answer B is incorrect because the “terraform apply” option describes a different concept: the terraform apply command executes an approved Terraform plan to create, change, or remove managed infrastructure.
Answer C is incorrect because the “JSON” option describes a different concept: a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Question 9
Which model in which the desired end state is described and the tool determines actions required to reach state?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes a model in which the desired end state is described and the tool determines actions required to reach that state.
Incorrect Answers
Answer A is incorrect because the “Terraform” option describes a different concept: an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Answer B is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer D is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Question 10
Which structured text data format represents objects with name-value pairs and arrays with ordered values?
Correct Answer: D
Correct Answer
Answer D is correct because the selected answer describes a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Incorrect Answers
Answer A is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer B is incorrect because the “JSON number” option describes a different concept: a JSON number represents a numeric value and is written without quotation marks.
Answer C is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Question 11
A JSON value uses braces to contain name-value pairs. Which JSON structure is represented?
Correct Answer: B
Correct Answer
Answer B is correct because the selected answer describes a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Incorrect Answers
Answer A is incorrect because the “JSON null” option describes a different concept: JSON null is the literal null and represents an explicitly empty or absent value.
Answer C is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Answer D is incorrect because the “JSON number” option describes a different concept: a JSON number represents a numeric value and is written without quotation marks.
Question 12
A JSON value uses square brackets around an ordered list. Which JSON structure is represented?
Correct Answer: D
Correct Answer
Answer D is correct because the selected answer describes a JSON array is enclosed in square brackets and contains an ordered list of values.
Incorrect Answers
Answer A is incorrect because the “JSON” option describes a different concept: a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Answer B is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer C is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Question 13
A JSON value contains text enclosed in double quotation marks. Which data type does this syntax represent?
Correct Answer: B
Correct Answer
Answer B is correct because the selected answer describes a JSON string is text enclosed in double quotation marks.
Incorrect Answers
Answer A is incorrect because the “JSON null” option describes a different concept: JSON null is the literal null and represents an explicitly empty or absent value.
Answer C is incorrect because the “terraform plan” option describes a different concept: the terraform plan command previews the changes Terraform proposes to make to reach the declared desired state.
Answer D is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Question 14
A valid JSON numeric value is written without quotation marks. Which JSON data type is being used?
Correct Answer: B
Correct Answer
Answer B is correct because the selected answer describes a JSON number represents a numeric value and is written without quotation marks.
Incorrect Answers
Answer A is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer C is incorrect because the “JSON null” option describes a different concept: JSON null is the literal null and represents an explicitly empty or absent value.
Answer D is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Question 15
Which JSON data type uses the lowercase literals true and false?
Correct Answer: C
Correct Answer
Answer C is correct because JSON Boolean values are the lowercase literals true and false.
Incorrect Answers
Answer A is incorrect because the “JSON” option describes a different concept: a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Answer B is incorrect because the “JSON array” option describes a different concept: a JSON array is enclosed in square brackets and contains an ordered list of values.
Answer D is incorrect because the “Declarative configuration” option describes a different concept: a model in which the desired end state is described and the tool determines actions required to reach that state.
Question 16
Which JSON literal represents an explicitly empty or absent value?
Correct Answer: A
Correct Answer
Answer A is correct because JSON null is the literal null and represents an explicitly empty or absent value.
Incorrect Answers
Answer B is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Answer C is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer D is incorrect because the “Ansible inventory” option describes a different concept: a definition of the hosts and groups that Ansible can target.
Question 17
An operator needs to execute an Ansible playbook against selected hosts in the inventory. Which command performs this operation?
Correct Answer: A
Correct Answer
Answer A is correct because the selected answer describes the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Incorrect Answers
Answer B is incorrect because the “Ansible inventory” option describes a different concept: a definition of the hosts and groups that Ansible can target.
Answer C is incorrect because the “Ansible module” option describes a different concept: a reusable unit of Ansible functionality that performs a specific task against a managed system.
Answer D is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Question 18
A new Terraform working directory must be initialized and its required providers and modules retrieved. Which command should run first?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Incorrect Answers
Answer A is incorrect because the “Terraform provider” option describes a different concept: a plugin that lets Terraform interact with a specific platform, API, or service.
Answer B is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer D is incorrect because the “Declarative configuration” option describes a different concept: a model in which the desired end state is described and the tool determines actions required to reach that state.
Question 19
An engineer wants to preview proposed Terraform infrastructure changes before execution. Which command generates this preview?
Correct Answer: B
Correct Answer
Answer B is correct because the selected answer describes the terraform plan command previews the changes Terraform proposes to make to reach the declared desired state.
Incorrect Answers
Answer A is incorrect because the “Terraform state” option describes a different concept: Data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Answer C is incorrect because the “terraform init” option describes a different concept: the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Answer D is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Question 20
The proposed Terraform infrastructure changes have been reviewed and must now be executed. Which command creates, changes or removes the managed resources?
Correct Answer: D
Correct Answer
Answer D is correct because the selected answer describes the terraform apply command executes an approved Terraform plan to create, change, or remove managed infrastructure.
Incorrect Answers
Answer A is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer B is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer C is incorrect because the “Terraform provider” option describes a different concept: a plugin that lets Terraform interact with a specific platform, API, or service.
Question 21
For Ansible, which statement is accurate?
Correct Answer: B
Correct Answer
Answer B is correct because the choice accurately describes Ansible: An automation tool that commonly uses agentless remote access and declarative task definitions to configure systems.
Incorrect Answers
Answer A is incorrect because the “Terraform” option describes a different concept: an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Answer C is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer D is incorrect because the “YAML” option describes a different concept: a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Question 22
For Ansible playbook, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because the selected answer describes a YAML file that defines one or more plays and tasks to execute against managed hosts.
Incorrect Answers
Answer B is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer C is incorrect because the “Ansible inventory” option describes a different concept: a definition of the hosts and groups that Ansible can target.
Answer D is incorrect because the “Ansible” option describes a different concept: an automation tool that commonly uses agentless remote access and declarative task definitions to configure systems.
Question 23
For Ansible inventory, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because the selected answer describes a definition of the hosts and groups that Ansible can target.
Incorrect Answers
Answer B is incorrect because the “terraform plan” option describes a different concept: the terraform plan command previews the changes Terraform proposes to make to reach the declared desired state.
Answer C is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer D is incorrect because the “YAML” option describes a different concept: a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Question 24
For Ansible module, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because it accurately defines Ansible module. The matching definition is: A reusable unit of Ansible functionality that performs a specific task against a managed system.
Incorrect Answers
Answer B is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer C is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer D is incorrect because the “Ansible” option describes a different concept: an automation tool that commonly uses agentless remote access and declarative task definitions to configure systems.
Question 25
For YAML, which statement is accurate?
Correct Answer: B
Correct Answer
Answer B is correct because the choice accurately describes YAML: A human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Incorrect Answers
Answer A is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer C is incorrect because the “Declarative configuration” option describes a different concept: a model in which the desired end state is described and the tool determines actions required to reach that state.
Answer D is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Question 26
For Terraform, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because the selected answer describes an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Incorrect Answers
Answer B is incorrect because the “Declarative configuration” option describes a different concept: a model in which the desired end state is described and the tool determines actions required to reach that state.
Answer C is incorrect because the “Terraform state” option describes a different concept: Data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Answer D is incorrect because the “YAML” option describes a different concept: a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Question 27
For Terraform provider, which statement is accurate?
Correct Answer: B
Correct Answer
Answer B is correct because the selected answer describes a plugin that lets Terraform interact with a specific platform, API, or service.
Incorrect Answers
Answer A is incorrect because the “Terraform state” option describes a different concept: Data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Answer C is incorrect because the “Terraform” option describes a different concept: an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Answer D is incorrect because the “JSON array” option describes a different concept: a JSON array is enclosed in square brackets and contains an ordered list of values.
Question 28
For Terraform state, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because it accurately defines Terraform state. The matching definition is: Data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Incorrect Answers
Answer B is incorrect because the “Terraform provider” option describes a different concept: a plugin that lets Terraform interact with a specific platform, API, or service.
Answer C is incorrect because the “terraform init” option describes a different concept: the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Answer D is incorrect because the “YAML” option describes a different concept: a human-readable data-serialization format commonly used for Ansible playbooks and configuration data.
Question 29
For Declarative configuration, which statement is accurate?
Correct Answer: D
Correct Answer
Answer D is correct because the choice accurately describes Declarative configuration: A model in which the desired end state is described and the tool determines actions required to reach that state.
Incorrect Answers
Answer A is incorrect because the “Terraform state” option describes a different concept: Data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Answer B is incorrect because the “terraform plan” option describes a different concept: the terraform plan command previews the changes Terraform proposes to make to reach the declared desired state.
Answer C is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Question 30
For JSON, which statement is accurate?
Correct Answer: B
Correct Answer
Answer B is correct because the selected answer describes a structured text data format that represents objects with name-value pairs and arrays with ordered values.
Incorrect Answers
Answer A is incorrect because the “JSON null” option describes a different concept: JSON null is the literal null and represents an explicitly empty or absent value.
Answer C is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer D is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Question 31
For JSON object, which statement is accurate?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Incorrect Answers
Answer A is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Answer B is incorrect because the “JSON array” option describes a different concept: a JSON array is enclosed in square brackets and contains an ordered list of values.
Answer D is incorrect because the “JSON null” option describes a different concept: JSON null is the literal null and represents an explicitly empty or absent value.
Question 32
For JSON array, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because it accurately defines JSON array. The matching definition is: A JSON array is enclosed in square brackets and contains an ordered list of values.
Incorrect Answers
Answer B is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer C is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Answer D is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Question 33
For JSON string, which statement is accurate?
Correct Answer: C
Correct Answer
Answer C is correct because the choice accurately describes JSON string: A JSON string is text enclosed in double quotation marks.
Incorrect Answers
Answer A is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer B is incorrect because the “JSON null” option describes a different concept: JSON null is the literal null and represents an explicitly empty or absent value.
Answer D is incorrect because the “JSON array” option describes a different concept: a JSON array is enclosed in square brackets and contains an ordered list of values.
Question 34
For JSON number, which statement is accurate?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes a JSON number represents a numeric value and is written without quotation marks.
Incorrect Answers
Answer A is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Answer B is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Answer D is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Question 35
For JSON Boolean, which statement is accurate?
Correct Answer: D
Correct Answer
Answer D is correct because JSON Boolean values are the lowercase literals true and false.
Incorrect Answers
Answer A is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer B is incorrect because the “JSON array” option describes a different concept: a JSON array is enclosed in square brackets and contains an ordered list of values.
Answer C is incorrect because the “JSON string” option describes a different concept: a JSON string is text enclosed in double quotation marks.
Question 36
For JSON null, which statement is accurate?
Correct Answer: B
Correct Answer
Answer B is correct because it accurately defines JSON null. The matching definition is: JSON null is the literal null and represents an explicitly empty or absent value.
Incorrect Answers
Answer A is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer C is incorrect because the “JSON object” option describes a different concept: a JSON object is enclosed in braces and contains unordered name-value pairs separated by commas.
Answer D is incorrect because the “JSON Boolean” option describes a different concept: JSON Boolean values are the lowercase literals true and false.
Question 37
For ansible-playbook command, which statement is accurate?
Correct Answer: D
Correct Answer
Answer D is correct because the choice accurately describes ansible-playbook command: The ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Incorrect Answers
Answer A is incorrect because the “terraform init” option describes a different concept: the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Answer B is incorrect because the “Ansible inventory” option describes a different concept: a definition of the hosts and groups that Ansible can target.
Answer C is incorrect because the “Ansible module” option describes a different concept: a reusable unit of Ansible functionality that performs a specific task against a managed system.
Question 38
For terraform init, which statement is accurate?
Correct Answer: A
Correct Answer
Answer A is correct because the selected answer describes the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Incorrect Answers
Answer B is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer C is incorrect because the “Terraform state” option describes a different concept: Data Terraform maintains to map declared resources to real infrastructure and track current managed state.
Answer D is incorrect because the “Terraform” option describes a different concept: an infrastructure-as-code tool that uses declarative configuration to create and manage infrastructure through providers.
Question 39
For terraform plan, which statement is accurate?
Correct Answer: C
Correct Answer
Answer C is correct because the selected answer describes the terraform plan command previews the changes Terraform proposes to make to reach the declared desired state.
Incorrect Answers
Answer A is incorrect because the “Terraform provider” option describes a different concept: a plugin that lets Terraform interact with a specific platform, API, or service.
Answer B is incorrect because the “ansible-playbook command” option describes a different concept: the ansible-playbook command is commonly used to execute an Ansible playbook against the inventory and selected hosts.
Answer D is incorrect because the “JSON array” option describes a different concept: a JSON array is enclosed in square brackets and contains an ordered list of values.
Question 40
For terraform apply, which statement is accurate?
Correct Answer: B
Correct Answer
Answer B is correct because it accurately defines terraform apply. The matching definition is: The terraform apply command executes an approved Terraform plan to create, change, or remove managed infrastructure.
Incorrect Answers
Answer A is incorrect because the “Ansible playbook” option describes a different concept: a YAML file that defines one or more plays and tasks to execute against managed hosts.
Answer C is incorrect because the “Terraform provider” option describes a different concept: a plugin that lets Terraform interact with a specific platform, API, or service.
Answer D is incorrect because the “terraform init” option describes a different concept: the terraform init command initializes a Terraform working directory and retrieves required providers and modules.
Popular posts
Recent Posts
