exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 44 discussion

Actual exam question from Microsoft's AZ-400
Question #: 44
Topic #: 8
[All AZ-400 Questions]

Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.
You plan to use Azure DevOps to manage the build and release processes.
Which two components are required to integrate Azure DevOps and Bitbucket? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. a deployment group
  • B. a Microsoft-hosted agent
  • C. service hooks
  • D. a self-hosted agent
  • E. an External Git service connection
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
silverdeath
Highly Voted 4 years, 8 months ago
The answer is correct, https://developercommunity.visualstudio.com/content/problem/472926/how-to-connect-bitbucket-server-on-perm-not-cloud.html
upvoted 29 times
jay158
3 years, 4 months ago
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/on-premises-bitbucket?view=azure-devops
upvoted 2 times
...
...
AS007
Highly Voted 4 years, 6 months ago
Verified - its correct
upvoted 22 times
...
vsvaid
Most Recent 11 months, 3 weeks ago
Selected Answer: DE
Correct answer
upvoted 1 times
...
Madbo
1 year, 7 months ago
D. a self-hosted agent E. an External Git service connection Since the Bitbucket Server is on-premises, we need to use a self-hosted agent to communicate with the server. Also, we need to create an External Git service connection in Azure DevOps to connect to the Bitbucket Server. Service hooks can be used to trigger events in Azure DevOps from Bitbucket, but they are not required for the initial integration. A deployment group and a Microsoft-hosted agent are not necessary for this scenario.
upvoted 2 times
Nian
11 months ago
Correct - MS refers to this as 'Other GIT service connection'
upvoted 1 times
...
...
aut0pil0t
1 year, 8 months ago
Selected Answer: DE
What "two" components are "required": A. deployment group - not required C. service hooks - not required, not relevant E. an External Git service connection (or, more correctly, "Other Git" service connection) - required to connect Azure Pipelines to an on-premises source control, BitBucket in this case. B. a Microsoft-hosted agent - agents need to contact source control for build jobs. When inbound internet connectivity is denied to source control, Microsoft-hosted agents will not work. So, this is a no. D. a self-hosted agent - agents on premises can contact the source control for jobs and can maintain the connectivity with Azure Pipelines for instructions without the need for inbound internet connectivity to the source control. This will work just fine for the scenario. And D is the only option left after eliminating the others. So, DE.
upvoted 1 times
...
syu31svc
2 years, 4 months ago
Selected Answer: DE
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/on-premises-bitbucket?view=azure-devops "probably caused by a firewall blocking traffic from these servers" "Switch to using self-hosted agents or scale-set agents" D and E are the answers
upvoted 2 times
...
Eltooth
2 years, 6 months ago
Selected Answer: DE
D & E are correct answers.
upvoted 1 times
...
rdemontis
2 years, 8 months ago
Selected Answer: DE
correct answer
upvoted 1 times
...
Mev4953
2 years, 9 months ago
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/on-premises-bitbucket?view=azure-devops#:~:text=Otherwise%2C%20you%20must%20set%20up%20self%2Dhosted%20agents%20that%20can%20access%20your%20on%2Dpremises%20server%20and%20fetch%20the%20code.
upvoted 1 times
...
creator
3 years, 6 months ago
The hosted agent and Git connection are needed. Because of firewall, a Microsoft-hosted agent can't connect. So the answers are D and E.
upvoted 3 times
...
DeepMoon
3 years, 8 months ago
If you can't talk from Azure DevOps to the bitbucket server because the firewall is blocking; then you need an internal self-hosted agent. Internal self-hosted agents initiate the connection to Az DevOPs from outside. Everybody seems to be overlooking that this is build & release pipeline. If you want to release artifacts; then you need a deployment group. So the answers are: Deployment Group & a Self-Hosted Agent.
upvoted 3 times
jagibe
2 years, 5 months ago
The question don't say that the release is deployed to on-prem server
upvoted 1 times
...
...
tom999
3 years, 9 months ago
For those of you who want to read more about "External Git service connection": https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml#sep-extgit The following URL outlines the same setup with an on-prem Bitbucket server: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/on-premises-bitbucket?view=azure-devops#not-reachable-from-azure-pipelines Drawback in this setup: "CI and PR triggers will not work in this configuration. You can only start manual or scheduled pipeline runs."
upvoted 4 times
tom999
3 years, 9 months ago
Conclusion: D+E is right
upvoted 1 times
...
...
RKS
3 years, 10 months ago
Verified - Correct!
upvoted 2 times
...
Jkmr622
3 years, 11 months ago
D+E Correctamundo dude
upvoted 2 times
...
passtest100
4 years ago
Should be B E: B: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/on-premises-bitbucket?view=azure-devops Reachable from Microsoft-hosted agents Another decision you possibly have to make is whether to use Microsoft-hosted agents or self-hosted agents to run your pipelines. This often comes down to whether Microsoft-hosted agents can reach your server. To check whether they can, create a simple pipeline to use Microsoft-hosted agents and make sure to add a step to checkout source code from your server. If this passes, then you can continue using Microsoft-hosted agents. E: https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml
upvoted 3 times
Raywang
3 years, 10 months ago
Switch to using self-hosted agents or scale-set agents. These agents can be set up within your network and hence will have access to the Bitbucket server. These agents only require outbound connections to Azure Pipelines. There is no need to open a firewall for inbound connections. Make sure that the name of the server you specified when creating the service connection is resolvable from the self-hosted agents. So D & E are correct.
upvoted 3 times
creator
3 years, 6 months ago
Correct!!!
upvoted 1 times
...
...
...
kumardeb
4 years ago
D. a self-hosted agent E. an External Git service connection
upvoted 2 times
...
goku02
4 years, 5 months ago
Verified !! answer is correct.
upvoted 7 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...