Deploying Artifacts to On-Premises Servers with Octopus Deploy | Microsoft AZ-400 Exam Study Guide

Deploying Artifacts to On-Premises Servers with Octopus Deploy

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure DevOps project.

Your build process creates several artifacts.

You need to deploy the artifacts to on-premises servers.

Solution: You deploy an Octopus Deploy server. You deploy a polled Tentacle agent to an on-premises server. You add an Octopus task to the deployment pipeline.

Does this meet the goal?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B.

B

Instead you should deploy an Azure self-hosted agent to an on-premises server.

Note: To build your code or deploy your software using Azure Pipelines, you need at least one agent.

If your on-premises environments do not have connectivity to a Microsoft-hosted agent pool (which is typically the case due to intermediate firewalls), you'll need to manually configure a self-hosted agent on on-premises computer(s).

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops

Yes, the solution meets the goal of deploying artifacts to on-premises servers.

The solution involves the following steps:

  1. Deploy an Octopus Deploy server: Octopus Deploy is a deployment automation tool that enables deployment of applications and services to on-premises and cloud-based infrastructure. By deploying an Octopus Deploy server, you can manage the deployment of your artifacts to on-premises servers.

  2. Deploy a polled Tentacle agent to an on-premises server: A Tentacle agent is an agent software that runs on an on-premises server and communicates with the Octopus Deploy server. The Tentacle agent polls the Octopus Deploy server for deployment tasks and executes them on the server. By deploying a polled Tentacle agent to an on-premises server, you can enable the server to receive and execute deployment tasks from the Octopus Deploy server.

  3. Add an Octopus task to the deployment pipeline: In Azure DevOps, you can create a deployment pipeline that deploys your artifacts to the Octopus Deploy server. By adding an Octopus task to the deployment pipeline, you can trigger the deployment of the artifacts to the on-premises servers through the Tentacle agent.

Therefore, by deploying an Octopus Deploy server, deploying a polled Tentacle agent to an on-premises server, and adding an Octopus task to the deployment pipeline, you can meet the goal of deploying the artifacts to on-premises servers.