FILL BLANK
Fill in the blanks to complete the line of Python code that sends a message to a Webex Teams room or person.
A DevOps engineer has built a new container and must open port 8080 for intercontainer communication. Which command must be added in a Dockerfile to accomplish this goal?
A. EXPOSE 8080
B. FIREWALL ADD-PORT 8080
C. PORT 8080
D. OPEN PORT 8080
What are two benefits of Infrastructure as Code? (Choose two.)
A. It enables continuous integration.
B. It allows for management control.
C. It ensures consistency.
D. It improves application monitoring.
E. It reduces risk.
Which two statements about Infrastructure as Code are true? (Choose two.)
A. Test-driven development practices make use of Infrastructure as Code.
B. Infrastructure as Code refers to automated testing libraries.
C. DevOps builds upon Infrastructure as Code.
D. Infrastructure as Code is based on practices from software development.
E. Infrastructure as Code must use the same programming language as the application.
What are two advantages of using Configuration Management Tools? (Choose two.)
A. reduction in policy violations caused by human errors
B. reduction in administration costs
C. reduction in network changes already performed automatically
D. reduction of on-premises networking equipment
E. reduction in networking team skills
Which method is a safe way to provide a username/password combination to an application running as a service in a Docker container?
A. encode the value with base64 in a secure DNS CTEXT entry
B. as an environment variable in the Dockerfile
C. Docker environment variable
D. Docker secrets
Refer to the exhibit.
An organization has issues with code-based failures after implementing a CI/CD pipeline to automate the builds and deployment phases of an application.
Which action must be added to the pipeline, after the application is deployed in the staging environment to minimize failures and to ensure a successful continuous deployment?
A. Restructuring and monitoring tests must be run after it is promoted to production
B. Restructuring and monitoring tests must be run before it is promoted to production
C. Functional and nonfunctional tests must be run after it is promoted to production
D. Functional and nonfunctional tests must be run before it is promoted to production
A DevOps engineer must build a Docker image to containerize an application. Then the image must be pushed to a repository on Docker Hub in a CI/CD pipeline using GitHub Actions.
Which approach securely encrypts the Docker Hub access token as an environment variable within the CI/CD pipeline?
A. Store the access token with GitHub environment variables
B. Store the access token with GitHub encrypted secrets
C. Store the access token in an environment file in the repository
D. Hard code the access token in the repository with Base64 encoding
Refer to the exhibit.
An application for data storing and processing has been created. The application is time- sensitive and manages confidential data AppDynamics identifies error transactions within a distributed application. Which action will help resolve the errors?
A. Rewrite the SQL query identified in the transaction to be more efficient
B. Log in to the node directly and investigate the errors by reviewing log files
C. Drill down to investigate and identify the errors
D. Scale out the node horizontally
An IT team plans to deploy a new service built on top of an existing service. The capacity needed for the new service is difficult to estimate because the demand for the new service is undetermined. The team has these deployment requirements:
1.
A subset of the users of the original service must be migrated to the new service based on their profile
2.
The new service must be rolled back easily if capacity exceeds estimates
Which deployment strategy must be used?
A. rolling
B. blue/green
C. geolocation
D. canary