CI/CD Pipeline on Azure - Steps to Run and Configure

CI/CD Pipeline on Azure

Question

The below given are the steps (not necessarily in the right sequence) to run the continuous integration & continuous delivery (CI/CD) pipeline (in a random sequence)

a.

Choose Azure Repos Git as the location for source code. b.

Go to the Pipelines page.

Then to create a new pipeline, select the action. c.

While setting up your pipeline, choose the Existing Azure Pipelines YAML file. d.

Choose your repository from the list of your repositories. e.

Run the pipeline.

Choose the correct sequence of steps.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answer: B

The below steps are required to be followed to run the CI/CD pipeline:

1. Go to the Pipelines page. Then choose the action to create a new pipeline.
2. Select Azure Repos Git as the location of your source code.

3, When the list of repositories appears, select your repository.

4, As you set up your pipeline, select Existing Azure Pipelines YAML file. Choose the YAML file: /azure-data-
pipeline/data_pipeline_ci_cd.yml.

5, Run the pipeline. If your pipeline hasn't been run before, you might need to give permission to access a resource during

the run.

Option A is incorrect.

As can be checked from the explanation, the option doesn't give the right sequence.

Option B is correct.

The given sequence is right to run CI/CD pipeline.

Option C is incorrect.

The given sequence is not correct.

Option D is incorrect.

The given sequence is not the right sequence to run CI/CD pipeline.

Option E is incorrect.

The given sequence is not correct.

To know more about building a data pipeline, please visit the below-given link:

The correct sequence of steps to run the continuous integration and continuous delivery (CI/CD) pipeline is:

C. a-b-d-c-e

Here's a detailed explanation of each step:

a. Choose Azure Repos Git as the location for source code. This step involves selecting the source code location, which is Azure Repos Git in this case. Azure Repos Git is a fully-featured source control system that provides Git repositories for your project source code. You can use it to manage your code and collaborate with other team members.

b. Go to the Pipelines page. Then to create a new pipeline, select the action. This step involves navigating to the Pipelines page, where you can create a new pipeline. Once you're on the Pipelines page, you can click on the "New Pipeline" button to create a new pipeline.

d. Choose your repository from the list of your repositories. This step involves selecting your repository from the list of your repositories. After selecting the repository, you need to configure the pipeline to use it as the source for your code.

c. While setting up your pipeline, choose the Existing Azure Pipelines YAML file. This step involves selecting the existing Azure Pipelines YAML file while setting up your pipeline. YAML is a human-readable data serialization language used for creating configuration files. You can use it to define your pipeline as code, which makes it easier to manage and version your pipeline.

e. Run the pipeline. This step involves running the pipeline. Once you've set up your pipeline, you can run it by clicking on the "Run" button. The pipeline will automatically build, test, and deploy your code to your desired environment. You can also set up triggers to automatically run the pipeline whenever code changes are made.

Therefore, the correct sequence of steps is C. a-b-d-c-e.