350-901 Practice Test

350-901 Practice Test practice questions, page 17 of 25, with answer review and explanations.

Question 81

Refer to the exhibit. A Python developer is creating a wireless network device inventory application for local deployment of Cisco access points. The developer is retrieving an access point ID by using a REST API. The output indicates that there was a KeyError when parsing the JSON response. What returns the expected output of 266 at line 14? A. B. C. D.

Question 82

Refer to the exhibit. Drag and drop the correct parts of the Dockerfile from the left onto the item numbers on the right that match the missing sections in the exhibit to complete the Dockerfile to successfully build and deploy a container running a Python application. Not all parts of the Dockerfile are used. Select and Place:

Question 83

The UCS Python SDK includes modules for Service Profile template creation. Which two UCS Service Profile template types are supported? (Choose two.)

  1. initial-template
  2. updating-template
  3. abstract-template
  4. attached-template
  5. base-template

Question 84

A container running a Python script is failing when it reaches the integration testing phase of the CI/CD process. The code has been reviewed thoroughly, and the build process works on this container and all other containers pass unit and integration testing. What should be verified to resolve the issue?

  1. that the correct port is exposed in the Dockerfile
  2. that the necessary modules and packages are installed on build
  3. that the script is running from the right directory
  4. that the Python version of the container image is correct

Question 85

Click on the GET Resource button above to view resources that will help with this question. An engineer is managing a data center with 6000 Cisco UCS servers installed and running. The engineer has been asked to identify all resources where the model is in the UCSB family and the available memory is less than or equal to 5 GB. Which REST API call accomplishes this task?

  1. GET/api/v1/compute/RackUnits?$select=Vendor,Model,Serial&$filter=not(Model eq 'UCSC') and AvailableMemory le 5000
  2. GET/api/v1/compute/RackUnits?$select=Vendor,Model,Serial&$filter=Model eq 'UCSB' and AvailableMemory lt 5000
  3. GET/api/v1/compute/RackUnits?$select=Vendor,Model,Serial&$filter=contains(Model, UCSB') and AvailableMemory lt 5000
  4. GET/api/v1/compute/RackUnits?$select=Vendor,Model,Serial&$filter=contains(Model, UCSB') and AvailableMemory le 5000