cisco 350-901 practice test

developing applications using cisco core platforms and apis (devcor)

Last exam update: Sep 07 ,2024
Page 1 out of 39. Viewing questions 1-10 out of 383

Question 1

DRAG DROP

An engineer is trying to modify information on the devcorexample.com repository that is relevant to network resources and capabilities but receives this error:

HTTP/1.1 405 Method Not Allowed

Allow: PATCH

Drag and drop the code snippets from the bottom onto the blanks in the code to collect the information. Not all options are used.

Mark Question:
Answer:

Discussions
0 / 1000

Question 2


Refer to the exhibit. The command docker build --tag=friendlyhello . is run to build a docker image from the given Dockerfile, reguirements.txt, and app.py. Then the command docker run -p 4000:80 friendlyhello is executed to run the application.
Which URL is entered in the web browser to see the content served by the application?

  • A. http://127.0.0.1:80
  • B. http://4000:80
  • C. http://localhost:4000
  • D. http://localhost:80
Mark Question:
Answer:

b


Reference:
http://rss2.com/feeds/XebiaLabs

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 3



Refer to the exhibit. An application was developed to be deployed on a global scale. The application will be available to all users of an enterprise and will require secure access. During code review, poor secret storage practices were identified. How must the secret storage approach be changed to improve security?

  • A. Leverage an external secret vault to retrieve DB_PWD and set the vault key as an OS environment variable before running the code.
  • B. Set an OS environment variable for DB_PWD to the database password before running the code, and stop setting DB_PWD within the code.
  • C. In DB_PWD, store a hashed version of the database password generated by using the hashlib library.
  • D. Store an encrypted version of the database password in DB_PWD and decrypt the password before running the code.
Mark Question:
Answer:

a

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 4

Which data encoding format uses gRPC by default for serializing structured sets of information?

  • A. XML
  • B. JSON
  • C. YAML
  • D. Protobuf
Mark Question:
Answer:

d

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 5

Which two encryption principles should be applied to secure APIs? (Choose two.)

  • A. Use temporary files as part of the encryption and decryption process.
  • B. Use encrypted connections to protect data in transit.
  • C. Reuse source code that contain existing UUIDs.
  • D. Embed keys in code to simplify the decryption process.
  • E. Transmit authorization information by using digitally signed payloads.
Mark Question:
Answer:

be

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 6

Which Puppet manifest changes the NTP server and generates the traffic from VLAN 15?
A.

B.

C.

D.

Mark Question:
Answer:

c

Discussions
0 / 1000

Question 7



Refer to the exhibit. Which line of code must be added to this code snippet to allow an application to pull the next set of paginated items?

  • A. requests.get(url, links=['next']['url'])
  • B. requests.get(url, headers=links['next']['url'])
  • C. requests.get(res.links['next']['url'], headers=headers)
  • D. requests.get(res.headers.get('Link')['next']['url'], headers=headers)
Mark Question:
Answer:

c

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 8





Refer to the exhibits. An application is developed to perform multiple API calls. The calls will be performed on the infrastructure devices. Delays in the information transfer occur when the application is executed. What are two reasons for the issue? (Choose two.)

  • A. The list devices API call is failing and does not return a result.
  • B. The requests are being rate limited to prevent multiple calls causing the excessive load.
  • C. One of the API calls takes roughly three times as long to complete.
  • D. Listing devices takes longer than usual due to high network latency.
  • E. The list devices API call is inefficient and should be refactored.
Mark Question:
Answer:

ae

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 9


Refer to the exhibit. An engineer needs to change the IP address via RESTCONF on interface GigabitEthemet2. An error message is received when the script is run.
Which amendment to the code will result in a successful RESTCONF action?

  • A. Change POST to PATCH
  • B. Issue a DELETE before POST
  • C. Issue a DELETE before PATCH
  • D. Change POST to GET
Mark Question:
Answer:

a

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 10

Which two statements about a stateless application are true? (Choose two.)

  • A. Different requests can be processed by different servers.
  • B. Requests are based only on information relayed with each request.
  • C. Information about earlier requests must be kept and must be accessible.
  • D. The same server must be used to process all requests that are linked to the same state.
  • E. No state information can be shared across servers.
Mark Question:
Answer:

ab

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000
To page 2