Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 6 Question 19 Discussion

Posted by Gearldine on May 09, 2022 at 11:04 AM

Your company uses Azure DevOps to manage the build and release processes for applications.

You use a Git repository for applications source control.

You plan to create a new branch from an existing pull request. Later, you plan to merge the new branch and the target branch of the pull request.

You need to use a pull request action to create the new branch. The solution must ensure that the branch uses only a portion of the code in the pull request.

Which pull request action should you use?

Suggested Answer: C

Cherry-pick a pull request

To copy changes made in a pull request to another branch in your repo, follow these steps:

In a completed pull request, select Cherry-pick, or for an active pull request, select Cherry-pick from the ... menu. Cherry-picking a pull request in this way creates a new branch with the copied changes. Merge into a target branch in a second pull request.

In Target branch, enter the branch you want to merge the copied changes.

In Topic branch name, enter a new branch to contain the copied changes, then select Cherry-pick.

Select Create pull request to merge the topic branch into the target branch to complete the cherry-pick.


https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-requests

Get Premium AZ-400 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
DI
Diane 12 months ago
I thought reactivating a PR was for something else, not branching.
MO
Mohammad 1 year ago
Set as default branch seems off for this scenario.
DE
Devon 1 year ago
Wait, can you really create a branch from a pull request like that?
RE
Reuben 1 year ago
Totally agree, cherry-pick makes sense here!
CO
Colene 1 year ago
I think cherry-pick is the way to go for this.
JO
Joaquin 1 year ago
I feel like "Set as default branch" doesn't really fit this scenario. It seems more about setting priorities rather than creating a new branch.
SH
Shawna 1 year ago
I practiced a similar question where we had to choose actions for managing branches. Cherry-pick stood out as a way to take only certain changes.
RA
Rashida 1 year ago
I'm not entirely sure, but I remember something about reactivating branches. Could that be relevant to creating a new branch from a pull request?
KA
Karan 1 year ago
I think cherry-picking might be the right choice here since it allows you to select specific commits from the pull request.
MA
Maddie 1 year ago
I'm a bit confused by all the different bridge and port IDs. Let me re-examine the diagram carefully and think through the STP election process step-by-step.
TE
Telma 1 year ago
I feel pretty confident about this one. I think a combination of the Service Perimeter Guard and Direct Authentication patterns would be the best way to address the security concerns described in the question.
FR
Franchesca 1 year ago
Okay, let's see. The question says the CALs have disappeared, so we need to restore the file that contains that information. I'm leaning towards C, the Meta file, but I'll double-check the other options just to be sure.
AR
Aron 1 year ago
This seems like a straightforward question about cloud storage reliability. I'll focus on the key details like the 99.9999999% data reliability and the mention of block-level storage for ECS instances.
LU
Luann 1 year ago
I remember that AGI is crucial for figuring out eligibility for tax credits, but I can't recall exactly how to compute it in this case.
0/2000 characters

Save Cancel