πŸ”

AZ-400 β€” questions

Page 15 of 18 Β· 358 total questions.

Topic 8 Β· Question 431

You have a private distribution group that contains provisioned and unprovisioned devices. You need to distribute a new iOS application to the distribution group by using Microsoft Visual Studio App Center. What should you do?

  • ARequest the Apple ID associated with the user of each device.
  • BRegister the devices on the Apple Developer portal. (correct answer)
  • CCreate an active subscription in App Center Test.
  • DAdd the device owner to the organization in App Center.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Register the devices on the Apple Developer portal.

Topic 8 Β· Question 432 Β· Select all that apply

You are developing an iOS application by using Azure DevOps. You need to test the application manually on 10 devices without releasing the application to the public. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • ACreate a Microsoft Intune device compliance policy.
  • BDeploy a certificate from an internal certification authority (CA) to each device.
  • CRegister the application in the iTunes store.
  • DOnboard the devices into Microsoft Intune.
  • EDistribute a new release of the application. (correct answer)
  • FRegister the IDs of the devices in the Apple Developer portal. (correct answer)
Reveal answer & explanation
Correct answer: E, F

The correct answer is E, F. Option E: Distribute a new release of the application. Option F: Register the IDs of the devices in the Apple Developer portal.

Topic 8 Β· Question 433

You have a private distribution group that contains provisioned and unprovisioned devices. You need to distribute a new iOS application to the distribution group by using Microsoft Visual Studio App Center. What should you do?

  • ASelect Register devices and sign my app. (correct answer)
  • BCreate an active subscription in App Center Test.
  • CCreate an unsigned build.
  • DAdd the device owner to the collaborators group.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Select Register devices and sign my app.

Topic 8 Β· Question 435 Β· Select all that apply

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.

  • Aa deployment group
  • Ba Microsoft-hosted agent
  • Cservice hooks
  • Da self-hosted agent (correct answer)
  • Ean External Git service connection (correct answer)
Reveal answer & explanation
Correct answer: D, E

The correct answer is D, E. Option D: a self-hosted agent Option E: an External Git service connection.

Topic 8 Β· Question 437 Β· Select all that apply

You have a project in Azure DevOps. You plan to deploy a self-hosted agent by using an unattended configuration script. Which two values should you define in the configuration script? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

  • Aauthorization credentials (correct answer)
  • Bthe project name
  • Cthe deployment group name
  • Dthe organization URL (correct answer)
  • Ethe agent pool name
Reveal answer & explanation
Correct answer: A, D

The correct answer is A, D. Option A: authorization credentials Option D: the organization URL.

Topic 8 Β· Question 440

You have Azure Pipelines and GitHub integrated as a source code repository. The build pipeline has continuous integration enabled. You plan to trigger an automated build whenever code changes are committed to the repository. You need to ensure that the system will wait until a build completes before queuing another build. What should you implement?

  • Apath filters
  • Bbatch changes (correct answer)
  • Cscheduled builds
  • Dbranch filters
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: batch changes.

Topic 8 Β· Question 441

You are using GitHub as a source code repository. You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag. You need to make a commit that does not have a work item tag. Which git commit parameter should you use?

  • A--squash
  • B--no-verify (correct answer)
  • C--message ''
  • D--no-post-rewrite
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: --no-verify.

Topic 8 Β· Question 442

You have a private distribution group that contains provisioned and unprovisioned devices. You need to distribute a new iOS application to the distribution group by using Microsoft Visual Studio App Center. What should you do?

  • ASelect Register devices and sign my app. (correct answer)
  • BCreate an active subscription in App Center Test.
  • CAdd the device owner to the organization in App Center.
  • DCreate an unsigned build.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Select Register devices and sign my app.

Topic 8 Β· Question 445

You have a private distribution group that contains provisioned and unprovisioned devices. You need to distribute a new iOS application to the distribution group by using Microsoft Visual Studio App Center. What should you do?

  • ARegister the devices on the Apple Developer portal. (correct answer)
  • BAdd the device owner to the organization in App Center.
  • CCreate an unsigned build.
  • DAdd the device owner to the collaborators group.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Register the devices on the Apple Developer portal.

Topic 8 Β· Question 446

Your company uses Azure Artifacts for package management. You need to configure an upstream source in Azure Artifacts for Python packages. Which repository type should you use as an upstream source?

  • Anpmjs.org
  • BPyPI (correct answer)
  • CMaven Central
  • Dthird-party trusted Python
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: PyPI.

Topic 8 Β· Question 447 Β· Select all that apply

You have a GitHub repository that contains workflows. The workflows contain steps that execute predefined actions. Each action has one or more versions. You need to request the specific version of an action to execute. Which three attributes can you use to identify the version? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • Athe SHA-based hashes (correct answer)
  • Bthe tag (correct answer)
  • Cthe runner
  • Dthe branch (correct answer)
  • Ethe serial
Reveal answer & explanation
Correct answer: A, B, D

The correct answer is A, B, D. Option A: the SHA-based hashes Option B: the tag Option D: the branch.

Topic 8 Β· Question 448

You have an Azure subscription that contains multiple Azure pipelines. You need to deploy a monitoring solution for the pipelines. The solution must meet the following requirements: β€’ Parse logs from multiple sources. β€’ Identify the root cause of issues. What advanced feature of a monitoring tool should you include in the solution?

  • Aanalytics (correct answer)
  • Bsynthetic monitoring
  • Cdirected monitoring
  • DAlert Management
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: analytics.

Topic 8 Β· Question 449

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 use Azure Pipelines to build and test a React.js application. You have a pipeline that has a single job. You discover that installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline. You need to recommend a solution to reduce the pipeline execution time. Solution: You recommend using pipeline artifacts. Does this meet the goal?

  • AYes
  • BNo (correct answer)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: No.

Topic 8 Β· Question 450 Β· Select all that apply

You use GitHub for source control of .NET applications. You need to deploy a documentation solution that meets the following requirements: β€’ Documents will be written in Markdown as developers make code changes. β€’ Changes to the documents will trigger the recompilation of a static website. β€’ Users will access the documents from the static website. β€’ Documents will be stored in a GitHub repository. Which two tools can you use to compile the website? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

  • AWord Press
  • BJekyll (correct answer)
  • CDocFX (correct answer)
  • Dcaret
  • EMedium
Reveal answer & explanation
Correct answer: B, C

The correct answer is B, C. Option B: Jekyll Option C: DocFX.

Topic 8 Β· Question 451

You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file. You plan to upgrade App1 to use an Azure service principal. What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)?

  • Athe application ID, a client secret, and the object ID
  • Ba client secret, the object ID, and the tenant ID
  • Cthe application ID, a client secret, and the tenant ID (correct answer)
  • Dthe application ID, a client secret, and the subscription ID
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: the application ID, a client secret, and the tenant ID.

Topic 8 Β· Question 454

You have an Azure subscription that contains 50 virtual machines. You plan to manage the configuration of the virtual machines by using Azure Automation State Configuration. You need to create the Desired State Configuration (DSC) configuration files. How should you structure the code blocks?

  • ANode > Configuration > Resource
  • BConfiguration > Resource > Node
  • CResource > Configuration > Node
  • DConfiguration > Node > Resource (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Configuration > Node > Resource.

Topic 8 Β· Question 455

Your team uses Azure Pipelines to deploy applications. You need to ensure that when a failure occurs during the build or release process, all the team members are notified by using Microsoft Teams. The solution must minimize development effort. What should you do?

  • AInstall the Azure Boards app for Teams and configure a subscription to receive notifications in a channel.
  • BUse Azure Automation to connect to the Azure DevOps REST API and notify the team members.
  • CUse an Azure function to connect to the Azure DevOps REST API and notify the team members.
  • DInstall the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel.

Topic 8 Β· Question 459

You have a project in Azure DevOps named Project1 that contains two environments named environment1 and environment2. When a new version of Project is released, the latest version is deployed to environment2, and the previous version is redeployed to environment1. You need to distribute users across the environments. The solution must meet the following requirements: β€’ New releases must be available to only a subset of the users. β€’ You must gradually increase the number of users that can access environment2. What should you use?

  • AVIP swaping
  • Bweb app deployment slots (correct answer)
  • CAzure Load Balancer
  • DAzure Traffic Manager
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: web app deployment slots.

Topic 8 Β· Question 461

You use Calendar Versioning (CalVer) for code assets. You need to store an optional tag of beta as part of the version. Which part of the version should you use for the tag?

  • Aminor
  • Bmajor
  • Cmicro
  • Dmodifier (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: modifier.

Topic 8 Β· Question 463

You have a project in Azure DevOps named Project1. You need to ensure that all new pipelines in Project1 execute three specific tasks during pipeline execution. What should you create?

  • Aa task group
  • Ba JSON template
  • Ca YAML template (correct answer)
  • Da PowerShell task
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: a YAML template.

Showing questions 281–300 of 358 Β· Page 15 of 18