Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Cisco 350-901 - Developing Applications using Cisco Core Platforms and APIs (DEVCOR)

Page: 3 / 11
Total 363 questions

Two Elasticsearch database servers use bidirectional asynchronous data replication Both servers accept writes from clients The design must meet these requirements:

• The cluster must survive if a fault occurs that causes the network connection to go down between nodes

• The data must remain consistent if communication between nodes fails.

• The data must be spread evenly across all nodes in the cluster.

Which design approach must be used to meet the requirements?

A.

Set the initial voting configuration to force a specific node as the master.

B.

Scale the master nodes down to a single node.

C.

Set the minimum_master_nodes to 2 in the configuration.

D.

Add a third cluster node to provide majority votes.

Refer to the exhibit.

The cisco_devnet Docker swarm service runs across five replicas.The development team tags and imports a new image named devnet/ test:1.1 and requests that the image be upgraded on each container.There must be no service outages during the upgrade process. Which two design approaches must be used? (Choose two.)

A.

Enable parallel upgrades by using the docker service update command

B.

Ensure that the service replicas are set to a minimum of 5

C.

Implement rolling upgrades by using the docker service update command

D.

Ensure that the service is hosted behind a VIP with no session persistence

E.

Update the restart policy of the containers to restart upon failure

Refer of the exhibit.

Click on the resource labs in the top left corner to view resources to help with this question The script uses the Cisco Intersight REST API Drag and drop the code from the bottom of the code snippet to the blanks in the code to construct a Python script to update the firmware on a specific Cisco interaght managed UCS rack server, DMZ-RL3ADJM.

Refer to the exhibit.

A developer must review an intern's code for a script they wrote to automate backups to the storage server. The script must connect to the network device and copy the running-config to the server. When considering maintainability, which two changes must be made to the code? (Choose two.)

A.

Rename the class to "ArchiveManager".

B.

The code is incorrect because the class does not have an__init__() method.

C.

The command sent to the network device is incorrect.

D.

Refactor the code placing the "for" loop steps inside a single nc method.

E.

The intern must use IP addresses because DNS is unreliable.

Drag and drop the expressions from below onto the code to implement error handling. Not all options are used.

What is a characteristic of event-driven architecture?

A.

separates the models for the reading and writing of data

B.

allows for loose coupling between software components

C.

breaks a solution into parts according to business capability

D.

provides a single point of reference for mastering data

A Python application is being written to run inside a Cisco IOS XE device to assist with gathering telemetry data. Drag and drop the elements of the stack from the left onto the functions on the right to collect and display the telemetry streaming data.

Refer to the exhibit.

An engineer is configuring Ansible to run playbooks against Cisco IOS XE Software. What

should be configured in ansible.cfg as the connection type?

A.

network_cli

B.

ssh

C.

shell

D.

command

Which Git command enables the developer to revert back to f414f31 commit to discard changes in the current working tree?

A.

git reset-hard f414f31

B.

git reset checkout-hard f414f31

C.

git reset-soft f414f31

D.

git checkout f414f31

An application is made up of multiple microservices, each communicating via APIs. One service is beginning to be a bottleneck for the application because it can take a lot of time to complete requests. An engineer tried adding additional instances of this service behind the load balancer, but it did not have any effect. Which application design change must be implemented m this scenario?

A.

Move from synchronous to asynchronous interactions with the service and implement a message queue.

B.

Deploy an API gateway to centralize all inbound communication requests and offload authentication

C.

Vendor all dependencies into the service that is causing delays to remove external dependency checks.

D.

Leverage serverless architecture instead of containers to gain the advantage of event driven APIs.