
CompTIACloud+
Domain 2Objective 2
Infrastructure as Code (IaC) CV0-004 Practice Questions (Page 5)
Part of the Deployment domain, which accounts for 19% of the CV0-004 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~7–11 in this domain), expect 2–3 from this objective — we provide 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
8concepts
19%of the exam
Questions 21–25
- 21
An organization stores its Terraform state files in a shared network drive. A security audit reveals that the state files contain sensitive information such as database passwords and API keys. What is the best practice to mitigate this risk?
Select an answer first - 22
In a Terraform template, what is the purpose of a resource block?
Select an answer first - 23
Why is it important to avoid hard-coding secrets, such as passwords and API keys, in IaC templates?
Select an answer first - 24
A team is developing a Terraform module that will be used across multiple projects. They want to ensure that changes to the module do not break existing deployments. What should they implement?
Select an answer first - 25
Which of the following is an example of automating infrastructure deployment using IaC?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “CV0-004” is a trademark of its owner, used for identification only.