Topic 5, Labs & Tasks
Task 1
Navigate to https://dev.azure.com, select Start Free, and specify the following credentials:
•UserUsefl-42147509@ExamUsers.com
•Password: eWrSalD2!
Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created. creates private project named Project1.
You need to add an external user that has an email address of Usfrr2- 42147S09@ExamUsers.com as a stakeholder of the User1 -42147509 Azure DevOps organization.
The user must be added to the most restrictive Azure DevOps group.
To complete this task, sign in to the Azure DevOps portal as Userl- 42147509©ExamUsers.com.
Answer: See the solution below in explanation.
Explanation:
Step 1: Sign Up for Azure DevOps Navigate to Azure DevOps. Click on Start Free.
Enter the credentials:
Follow the prompts to complete the sign-up process using the default settings.
Step 2: Create an Azure DevOps Organization
Once signed in, you will be prompted to create a new organization. Enter a name for your organization and select your region.
Click on Continue to create the organization.
Step 3: Create a Private Project
In your new organization, click on New Project. Name the project Project1.
Set the visibility to Private. Click on Create.
Step 4: Add an External User as a Stakeholder
Go to the Organization Settings. Under General, select Users.
Click on Add users.
Enter the email address: Usfrr2-42147S09@ExamUsers.com. Set the access level to Stakeholder.
Add the user to the most restrictive group, which is typically the Readers group. Click on Add to complete the process.
Step 5: Verify the User Addition
Ensure that the external user has been added successfully by checking the Users list.
Confirm that the user has the Stakeholder access level and is part of the Readers group.
By following these steps, you should be able to complete the task successfully. If you encounter any issues, feel free to ask for further assistance!
You have an Azure subscription that contains multiple Azure pipelines.
You need to deploy a monitoring solution for the pi*lines. The solution must meet the
following requirements:
A. directed monitoring
B. synthetic monitoring
C. analytics
D. Alert Management
You have a GitHub repository. You create a new repository in Azure DevOps. You need to recommend a procedure to clone the repository from GitHub to Azure DevOps. What should you recommend?
A. Create a webhook
B. Create a service connection for GitHub
C. From Import a Git repository, click Import
D. Create a pull request
E. Create a personal access token in Azure DevOps
Task 7
Initialize the default main branch, if it does not exist already
In the User 1-42147509 organization, you need to install the Microsoft Security DevOps extension.
Next, create a new starter pipeline named starter1 that will use the following starter code.
Ensure that starter! includes a task that executes the extension and uses the following input*:
•Command: run
•Policy aruredevops
•Publish: true
Save the pipeline to a new branch named starter
Answer: See the solution below in explanation.
Explanation:
Step 1: Initialize the Default Main Branch
Navigate to Azure DevOps:
Select Your Project:
Initialize the Main Branch:
Step 2: Install the Microsoft Security DevOps Extension
Navigate to Extensions: Search for the Extension: Install the Extension:
Step 3: Create a New Starter Pipeline
Navigate to Pipelines: Select the Repository: Configure the Pipeline:
trigger:
- starter
pool:
vmImage: 'windows-latest'
steps:
- task: MicrosoftSecurityDevOps@1 inputs:
command: 'run' policy: 'azuredevops' publish: true
Save the Pipeline:
By following these steps, you will have successfully initialized the main branch, installed the Microsoft Security DevOps extension, and created a new starter pipeline named starter1 that includes the specified task
You need to execute inline testing of an Azure DevOps pipeline that uses a Docker deployment model. The solution must prevent the results from being published to the pipeline. What should you use for the inline testing?
A. a single stage Dockerfile
B. an Azure Kubernetes Service (AKS) pod
C. a multi-stage Dockerfile
D. a Docker Compose file
Explanation: "Build and test with a multi-stage Dockerfile: build and tests execute inside the container using a multi-stage Docker file, as such test results are not published back to the pipeline.
Page 26 out of 98 Pages |
Previous |