CV0-004 Practice Test

CV0-004 Practice Test practice questions, page 4 of 13, with answer review and explanations.

Question 16

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.

Question 17

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

Question 18

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

Question 19

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

Question 20

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.