Pass the CompTIA CompTIA Cloud+ CV0-004 Questions and answers with CertsForce

Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions
Questions # 31:

A company's VMs that are created using the noncritical application tag are automatically shut down at 5:00 p.m. using a cronjob. Which of the following actions would allow a cloud engineer to stop all unresponsive instances with the least effort in case the automation fails?

Options:

A.

Using the cloud audit logs for tagging and stopping events


B.

Using the cloud provider web console to check and stop the instances


C.

Using the cloud provider command line to stop the Instances based on tags


D.

Using a Bash script to shut down all instances


Expert Solution
Questions # 32:

A company uses containers stored in Docker Hub to deploy workloads (or its laaS infrastructure. The development team releases changes to the containers several times per hour. Which of the following should a cloud engineer do to prevent the proprietary code from being exposed to third parties?

Options:

A.

Use laC to deploy the laaS infrastructure.


B.

Convert the containers to VMs.


C.

Deploy the containers over SSH.


D.

Use private repositories for the containers.


Expert Solution
Questions # 33:

An administrator needs to adhere to the following requirements when moving a customer's data to the cloud:

• The new service must be geographically dispersed.

• The customer should have local access to data

• Legacy applications should be accessible.

Which of the following cloud deployment models is most suitable?

Options:

A.

On-premises


B.

Private


C.

Hybrid


D.

Public


Expert Solution
Questions # 34:

A cloud deployment uses three different VPCs. The subnets on each VPC need to communicate with the others over private channels. Which of the following will achieve this objective?

Options:

A.

Deploying a load balancer to send traffic to the private IP addresses


B.

Creating peering connections between all VPCs


C.

Adding BGP routes using the VPCs' private IP addresses


D.

Establishing identical routing tables on all VPCs


Expert Solution
Questions # 35:

Which of the following is a direct effect of cloud migration on an enterprise?

Options:

A.

The enterprise must reorganize the reporting structure.


B.

Compatibility issues must be addressed on premises after migration.


C.

Cloud solutions will require less resources than on-premises installations.


D.

Utility costs will be reduced on premises.


Expert Solution
Questions # 36:

A company has decided to adopt a microservices architecture for its applications that are deployed to the cloud. Which of the following is a major advantage of this type of architecture?

Options:

A.

Increased security


B.

Simplified communication


C.

Reduced server cost


D.

Rapid feature deployment


Expert Solution
Questions # 37:

Which of the following are best practices when working with a source control system? (Select two).

Options:

A.

Merging code often


B.

Pushing code directly to production


C.

Performing code deployment


D.

Maintaining one branch for all features


E.

Committing code often


F.

Initiating a pull request


Expert Solution
Questions # 38:

A systems administrator needs to configure a script that will monitor whether an application is healthy and stop the VM if an unsuccessful code is returned. Which of the following

scripts should the systems administrator use to achieve this goal?

Options:

A.

RESPONSE_CODE }

string APP_URL

bool RESPONSE_CODE

string VM

health checker (APP_URL, VM) {

if [ http_probe (APP_URL) == 200] {

echo RESPONSE_CODE }

else{

stop (VM)

echo


B.

else{

echo

string APP_URL

float RESPONSE_CODE

string VM

health_checker (APP_URL, VM) {

if [ http_probe (APP_URL) == 200] {

stop (RESPONSE_CODE)

echo VM }

stop (VM)

RESPONSE CODE }


C.

else{

echo

string APP_URL

int RESPONSE CODE

string VM

health checker (APP_URL, VM) {

if [ http_probe (APP_URL) == 200] {

echo RESPONSE_CODE }

stop (VM)

RESPONSE_CODE }


D.

else{

echo

string APP_URL

int RESPONSE_CODE

string VM

health_checker (APP_URL, VM) {

if [ http_probe (VM) == 200] {

stop (VM)

echo RESPONSE_CODE }

RESPONSE CODE }


Expert Solution
Questions # 39:

Which of the following types of storage provides the greatest performance advantage for a traditional relational database?

Options:

A.

File


B.

Object


C.

Block


D.

Ephemeral


Expert Solution
Questions # 40:

Which of the following provides secure, private communication between cloud environments without provisioning additional hardware or appliances?

Options:

A.

VPN


B.

VPC peering


C.

BGP


D.

Transit gateway


Expert Solution
Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions