Free CV0-004 Exam Braindumps
CompTIA Cloud+ Questions 16–20 (page: 5)

Updated On: 21-Sep-2026

A developer is testing code that will be used to deploy a web farm in a public cloud. The main code block is a function to create a load balancer and a loop to create 1,000 web servers, as shown below:

The developer runs the code against the company’s cloud account and observes that the load balancer is successfully created, but only 100 web servers have been created.
Which of the following should the developer do to fix this issue?

  1. Request an increase of instance quota.
  2. Run the code multiple times until all servers are created.
  3. Check the my_web_server () function to ensure itis using the right credentials.
  4. Place the my_load_balancer () function after the loop.

Answer(s): A

Explanation:

Most cloud providers impose a default quota or limit on the number of instances (such as virtual machines or web servers) that can be created in an account to prevent accidental over-provisioning and to manage resources. In this case, it is likely that the company’s cloud account has a limit of 100 instances, which is why only 100 out of the intended 1,000 web servers were created.



Following a ransomware attack, the legal department at a company instructs the IT administrator to store the data from the affected virtual machines for a minimum of one year.
Which of the following is this an example of?

  1. Recoverability
  2. Retention
  3. Encryption
  4. Integrity

Answer(s): B

Explanation:

Retention refers to the policy or practice of storing data for a specified period, often for legal, regulatory, or business continuity reasons. In this case, the legal department requires the data to be stored for a minimum of one year, which is an example of a data retention requirement.



An engineer made a change to an application and needs to select a deployment strategy that meets the following requirements:
-Is simple and fast
-Can be performed on two identical platforms
Which of the following strategies should the engineer use?

  1. Blue-green
  2. Canary
  3. Rolling
  4. In-place

Answer(s): A

Explanation:

Blue-green deployment is a strategy where two identical environments (blue and green) are used. The new version of the application is deployed to one environment (e.g., green), while the other environment (e.g., blue) continues serving users. Once the new version is verified, traffic is switched to the new environment, making the change simple and fast. This strategy works well when two identical platforms are available.



An organization needs to retain its data for compliance reasons but only when required.
Which of the following would be the most cost-effective type of tiered storage?

  1. Warm
  2. Hot
  3. Archive
  4. Cold

Answer(s): C

Explanation:

Archive storage is designed for long-term data retention at a low cost. It is ideal for data that does not need to be accessed frequently but must be retained for compliance or regulatory reasons. Archive storage is typically the most cost-effective option for infrequent access.



An e-commerce store is preparing for an annual holiday sale. Previously, this sale has increased the number of transactions between two and ten times the normal level of transactions. A cloud administrator wants to implement a process to scale the web server seamlessly. The goal is to automate changes only when necessary and with minimal cost.
Which of the following scaling approaches should the administrator use?

  1. Scale horizontally with additional web servers to provide redundancy.
  2. Allow the load to trigger adjustments to the resources.
  3. When traffic increases, adjust the resources using the cloud portal.
  4. Schedule the environment to scale resources before the sale begins.

Answer(s): B

Explanation:

Allowing the load to trigger adjustments to the resources (also known as auto-scaling based on demand) is a dynamic approach where additional resources are automatically added or removed based on actual traffic load. This method ensures that scaling occurs only when necessary, optimizing costs by avoiding over-provisioning.



Viewing page 5 of 64
Viewing questions 21 - 25 out of 314 questions


Post your Comments and Discuss CompTIA CV0-004 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!