| Ansible | Jenkins |
|
|
| Docker | Kubernetes | Jenkins |
| Docker's most important feature is that it makes system configuration simpler and quicker. Because Docker is used in a variety of contexts, the infrastructure needs are unrelated to the environment of the application. | Kubernetes can discover and assign IP addresses to containers based on a unique DNS name, which the DevOps engineer may use for load balancing. | Jenkins is a Java-based platform-independent software. It is ready for use with Windows, Mac, and Unix-like operating systems. |
| The security management function enables us to store crucial and classified information into the Swarm and then pick which secrets to provide access to. | Auto-scaling is closely related to CPU use. The CLI is used to automatically activate program vertical scaling. | The Update Center has a variety of plugins that integrate with every CI/CD toolchain tool. |
| Docker provides containers that may be used to execute programs in an isolated environment. | Kubernetes supports both batch and continuous integration workloads, as well as repairing containers that are no longer operational. | Jenkins features an easy-to-use setup system through its web-based interface, which includes fault checks and an Ask Help option. |
Prepare for the Jenkins exam with our free practice test modules. Each quiz covers key topics to help you pass on your first try.
Try these questions from our free Jenkins practice tests. The correct answer and an explanation follow each question.
How do you define a parallel execution of stages in a Declarative Pipeline?
Answer: C. Use parallel {} inside a stage block
In Declarative Pipeline, parallel stages are defined using the `parallel {}` block inside a `stage {}` block.
Which file in JENKINS_HOME contains the main Jenkins system configuration?
Answer: A. config.xml
The `config.xml` file at the root of `JENKINS_HOME` stores the primary Jenkins system configuration in XML format.
What does `sh` step do in a Jenkins Pipeline?
Answer: A. Runs a shell command on the agent
The `sh` step executes a shell command (bash/sh) on the agent where the pipeline is running.
In Jenkins Pipeline, which directive is used to define build triggers in a Declarative Pipeline?
Answer: A. triggers {}
The 'triggers {}' directive inside a Declarative Pipeline's pipeline block is used to define automated triggers like cron, pollSCM, or upstream.