Free 350-901 Exam Braindumps (page: 45)

Page 45 of 96

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



Page 45 of 96



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

Court commented on October 26, 2024
Wonderful study material. Very well written and up to date. I recommend this.
UNITED STATES
upvote

Walczak commented on January 22, 2023
The last update provided for this exam contains the same questions from the real exam. Good work guys.
AUSTRALIA
upvote