New Year Sale 2026! 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

Actual exam question for Microsoft's AZ-400 exam
Question #: 19
Topic #: 6
[All AZ-400 Questions]

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?

Show Suggested Answer Hide Answer
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

Contribute your Thoughts:

0/2000 characters
Diane
4 months ago
I thought reactivating a PR was for something else, not branching.
upvoted 0 times
...
Mohammad
4 months ago
Set as default branch seems off for this scenario.
upvoted 0 times
...
Devon
4 months ago
Wait, can you really create a branch from a pull request like that?
upvoted 0 times
...
Reuben
5 months ago
Totally agree, cherry-pick makes sense here!
upvoted 0 times
...
Colene
5 months ago
I think cherry-pick is the way to go for this.
upvoted 0 times
...
Joaquin
5 months 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.
upvoted 0 times
...
Shawna
5 months 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.
upvoted 0 times
...
Rashida
5 months 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?
upvoted 0 times
...
Karan
5 months ago
I think cherry-picking might be the right choice here since it allows you to select specific commits from the pull request.
upvoted 0 times
...
Maddie
5 months 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.
upvoted 0 times
...
Telma
5 months 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.
upvoted 0 times
...
Franchesca
5 months 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.
upvoted 0 times
...
Aron
5 months 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.
upvoted 0 times
...
Luann
5 months 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.
upvoted 0 times
...

Save Cancel