Which statement in a Dockerfile defines which command should be started in the container by default when it is started? (Specify ONLY the statement's name without any values or parameters.)
See Below Explanation:
Answer : A
Which of the following git commands is used to manage files in a repository? (Choose two correct answers.)
Answer : A, C
Given the following excerpt of a Dockerfile:
Run apt-get --y update && apt-get install --y fortunes && apt-get clean
Why are the multiple apt-get commands combined in one RUN statement instead of using multiple RUN statements?
Answer : D
Which Ansible modules can be used to change the contents of a file? (Choose three correct answers.)
Answer : A, B, C
What happens when a merge conflict occurs in git? (Choose two correct answers.)
Answer : D, E
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?
Answer : B
Which git sub command copies a local commit to a remote repository? (Specify ONLY the sub command without any path or parameters.)
See Below Explanation:
Answer : A