Free 350-901 Exam Braindumps
Developing Applications using Cisco Core Platforms and APIs (DEVCOR) Questions 150–154 (page: 32)

A local Docker container with a Container ID of 391441516e7a is running a Python application. Which command is used to connect to a bash shell in the running container?





Answer(s): A



The access token for a Webex bot has been stored in an environment variable using the command:
export bot_token=6bec40cf957de397561557a4fac9ea0

The developer now wants to containerize the Python application which will interact with the bot, and will use this build command to add the token to the build image:
docker build --build-arg BOT_TOKEN=$bot_token

Which Dockerfile should be used to build the Docker image so that the bot access token is available as an environment variable?





Answer(s): D



What is an effective logging strategy according to the 12-factor app tenets?

  1. Tag and save logs in a local document database that has querying capabilities.
  2. Back up log files in a high-availability remote cluster on the public cloud.
  3. Timestamp and save logs in a local time-series database that has querying capabilities.
  4. Capture logs by the execution environment and route to a centralized destination.

Answer(s): D



Refer to the exhibit. Pipenv is used to manage dependencies. The test runs successfully on a local environment.


What is the reason for the error when running the test on a CI/CD pipeline?

  1. All the unit tests in testsum.py failed.
  2. Pytest did not detect any functions that start with 'test_'.
  3. The pipfile in the local environment was not pushed to the remote repository.
  4. Nose2 was not used as the test runner.

Answer(s): C



What are two benefits of using a centralized logging service? (Choose two.)

  1. reduces the time required to query log data across multiple hosts
  2. reduces the loss of logs after a single disk failure
  3. improves application performance by reducing CPU usage
  4. improves application performance by reducing memory usage
  5. provides compression and layout of log data

Answer(s): A,E



Viewing page 32 of 78
Viewing questions 156 - 160 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!