Question 1
What is the primary purpose of a Jenkins Freestyle project?
To integrate with Selenium for automated testing
To create and build jobs without the need for coding or scripting
 To manage Jenkins plugins for performance optimization
To deploy applications to cloud services automatically
Question 2
In which step of creating a Freestyle project in Jenkins do you specify the source code repository?
Step 2: Create a New Freestyle Project
Step 3: Configure the Project
Step 5: Add Credentials for GitHub
Step 7: Configure Maven Build
Question 3
Which of the following is required to configure Jenkins to access a GitHub repository?
Jenkins API Key
GitHub Personal Access Token
SSH Key or Username and Password for GitHub
Jenkins CLI tool
Question 4
What Maven goal should be entered in Jenkins to build a project using Maven in a Freestyle project?
mvn install
clean package
mvn build
mvn compile
Question 5
How does Jenkins trigger the build process for a Freestyle project?
By manually clicking on the "Build Now" button
Automatically after every successful login
By integrating with a continuous integration system like GitLab
Through an external webhook
Question 6
Which of the following tools or frameworks is specifically used in Jenkins to automate the CI/CD pipeline?
GitLab CI
Jenkinsfile
Dockerfile
Kubernetes YAML
Question 7
In the CI/CD pipeline configuration, where do you define the stages of the build process, such as Checkout Code, Build, and Deploy?
In the Jenkins dashboard
In the General section
In the Pipeline section
In the Build Triggers section
Question 8
What is the purpose of the "sh" command in the Jenkins pipeline script?
To execute shell commands such as Maven build commands
To define environment variables for the pipeline
 To send notifications upon completion
To store artifacts in a Nexus repository
Question 9
What does the "stage" command in the Jenkins pipeline script help with?
It defines a build environment for the pipeline
It marks the beginning of a distinct phase in the CI/CD process
It configures GitHub repository access
It sets up credentials for the build
Question 10
In the context of Jenkins pipeline, what is the function of the "sshagent" command in the deploy stage?
To securely store deployment credentials
 To execute a remote deployment using SSH
To monitor the deployment process
To clone the GitHub repository before deployment
There are 10 questions to complete.