Which of the following statements regarding microservices are true? (Choose three correct answers.)
A. Microservices facilitate the replacement of the implementation of a specific functionality.
B. Microservices applications are hard to scale because microservice architecture allow only one instance of each microservice.
C. Integration tests for microservices are not possible until all microservices forming a specific application are completely developed.
D. Interaction between microservices can be slower that the interaction of similar components within a monolithic application.
E. Within one application, individual microservices can be updated and redeployed independent of the remaining microservices.
A declarative Jenkins pipeline contains the following excerpt:
parameters {
string (name: `TargetEnvironment', defaultValue: `staging', description: `Target environment')
}
How can a task use the value provided for TargetEnvironment?
A. {{TargetEnvironment}}
B. $TargetEnvironment
C. %TargetEnvironment%
D. ${params.TargetEnvironment}
E. $ENV{TargetEnvironment}
What happens when a merge conflict occurs in git? (Choose two correct answers.)
A. The conflicting files remain unchanged in the local repository.
B. Conflict markers are added to the files.
C. A new branch containing the remote changes is created.
D. The affected files are flagged as conflicting.
E. The newest version is placed in the local repository.
The following command is issued on two docker nodes:
docker network create --driver bridge isolated_nw
Afterwards, one container is started at each node with the parameter --network=isolated_nw. It turns out that the containers can not interact with each other.
What must be done in order to allow the containers to interact with each other? (Choose two correct answers.)
A. Use a host network instead of a bridged network.
B. Add the option --inter-container to the docker network create command.
C. Start the containers on the same node.
D. Change the --network parameter of docker create to --network=isolated_nw,nofence.
E. Use an overlay network instead of a bridged network.
Which of the following statements describes the principal concept behind test driven development?
A. Tests may not be written by the same development team that wrote the tested code.
B. All tests are generated automatically from the tested source code.
C. Tests are written before the function / method is implemented.
D. The only acceptable reason to write a test is to prevent fixed bugs from occurring again.
E. Instead of testing software automatically, manual tests are performed and logged daily.
Given the following Kubernetes deployment:
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
myapp 2 2 2 0 17s
Which command scales the application to five containers?
A. Kubectl edit deployment/myapp replicas=5
B. Kubectl deployment myapp replicas=5
C. Kubectl scale deployment/myapp -replicas=5
D. Kubectl replicate deployment/myapp +3
E. Kubectl clone deployment/myapp 3
When creating a new Docker network, which mechanisms are available for address assignments to containers on the new nerwork? (Choose TWO correct answers.)
A. By default, Docker chooses an unused private address space and assigns addresses from this network to containers.
B. All networked containers must contain at least one IPADDRESS statement in their Dockerfile specifying the container's address.
C. Docker does not configure IP addresses and relies on the containers to configure their network interface with a calid IP address.
D. By defaulr, Docker requests one address per container using DHCP on the interface used by the host system's default route.
E. Docker network create allows specifying a network to be used for container addressing using --subnet.
After setting up a data container using the following command:
docker create -v /data --name datastore debian /bin/true
How is an additional new container started which shares the /data volume with the datastore container?
A. docker run --volumes-from datastore --name service debian bash
B. doker run --share-with datastore --name service debian bash
C. docker run -v /data --name service debian bash
D. docker run -v datastore:/data -name service debian bash
E. docker run --volumen-backend datastore -v /data --name service debian bash
Which of the following statements are tru regarding microservices? (Choose TWO correct answers)
A. Microservices limit the risk of updates and deployments because failures only affect a limited amount of functionality.
B. Microservices allow the conbination of different application development platforms within one application.
C. Microservices complicate updates because individual microservices cannot be changed once an application is delivered.
D. Microservices interact faster tan components within a monolithic software application due to their standardized APIs.
E. Microservices are not suited for container deployments due to their complexity and resource consumption.
What is the purpose of the command vagrant init?
A. It installs Vagrant on a Linux host.
B. It creates a Vagrant configuration file.
C. It downloads a Vagrant box.
D. It starts a Vagrant box.
E. It executes a provisioning tool in a running box.