Free 350-901 Exam Braindumps
Developing Applications using Cisco Core Platforms and APIs (DEVCOR) Questions 175–179 (page: 37)

Refer to the exhibit.


A developer wants to automatically deploy infrastructure for a containerized application. A .gitlab-ci.yml file must describe a pipeline that builds a container based on a supplied Dockerfile and executes an Ansible playbook on the configured container. What must be added where the code is missing to complete the script?





Answer(s): C



An engineer is developing a Docker container for an application in Python. For security reasons the application needs to be accessible on port 5001 only. Which line should be added to the dockerfile in order to accomplish this?

  1. ADD PORT 5001
  2. ENTRYPOINT 5001
  3. EXPOSE 5001
  4. PORT SRC 5001

Answer(s): C



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.)

  1. Enable parallel upgrades by using the docker service update command.
  2. Ensure that the service is hosted behind a VIP with no session persistence.
  3. Ensure that the service replicas are set to a minimum of 5.
  4. Update the restart policy of the containers to restart upon failure.
  5. Implement rolling upgrades by using the docker service update command.

Answer(s): B,E



Refer to the exhibit. An attempt to execute a CI/CD pipeline results in the error shown. What is the cause of the error?

  1. The unit tests failed to complete.
  2. The VCS repository is unavailable.
  3. The remote library repository is unavailable.
  4. The built artifacts failed to publish to the target server.

Answer(s): B



Refer to the exhibit. Which action should be performed to avoid an SQL injection attack?

  1. Validate the input on the platform variable.
  2. Develop a denial of service response plan.
  3. Encrypt the password that is used to connect to the database.
  4. Compile the Python file instead of allowing live interpretation.

Answer(s): A



Viewing page 37 of 78
Viewing questions 181 - 185 out of 507 questions


Post your Comments and Discuss Cisco 350-901 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!