ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 45 - CV0-004 discussion

Report
Export

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?

A.
Request an increase of Instance quota.
Answers
A.
Request an increase of Instance quota.
B.
Run the code multiple times until all servers are created.
Answers
B.
Run the code multiple times until all servers are created.
C.
Check the my_web_server () function to ensure it is using the right credentials.
Answers
C.
Check the my_web_server () function to ensure it is using the right credentials.
D.
Place the my_load_balancer () function after the loop.
Answers
D.
Place the my_load_balancer () function after the loop.
Suggested answer: A

Explanation:

The developer should request an increase of the instance quota from the cloud provider. Cloud services often have a limit on the number of instances that can be created, which is known as an instance quota. If the load balancer is successfully created but the number of web servers is limited to 100, it suggests that the quota has been reached. Increasing the quota will allow the creation of additional web server instances up to the desired number.

Reference: The scenario reflects an understanding of cloud resource management and limitations, which is a part of the CompTIA Cloud+ curriculum, specifically under the domain of Management and Technical Operations.

asked 02/10/2024
Jordi Nogues
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first