HOTSPOT - You plan to use Desired State Configuration (DSC) to maintain the configuration of a server that runs Windows Server 2019. The server must have the following features installed: - A web server - An email server How should you complete the DSC configuration file? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
Box 1: = @("SMTP-Server", "Web-Server") The following configuration ensures that the Web-Server (IIS) and SMTP (email) Server features, and all subfeatures of each, are installed. configuration FeatureSetTest { Import-DscResource -ModuleName PSDesiredStateConfiguration Node localhost - { WindowsFeatureSet WindowsFeatureSetExample { Name = @("SMTP-Server", "Web-Server") Ensure = 'Present' IncludeAllSubFeature = $true - } } } Box 2: Ensure - Ensure indicates whether the roles or features are added. To ensure that the roles or features are added, set this property to Present. To ensure that the roles or features are removed, set the property to Absent. The default value is Present. Reference: https://docs.microsoft.com/en-us/powershell/dsc/reference/resources/windows/windowsFeatureSetResource
Question 482
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?
A. Register the devices on the Apple Developer portal.
B. Add the device owner to the organization in App Center.
C. Create an unsigned build.
D. Add the device owner to the collaborators group.
Distribute a new release. When you distribute a new release to a group that doesn't have automatic device management enabled, a Devices step is part of the wizard. The step checks if you have unprovisioned devices in the distribution group; if this happens, you can check the Register devices and re-sign app checkbox. App Center then runs three operations for you: 1. Register new device IDs in the Apple Developer portal. 2. Add the devices to the provisioning profile and download it. 3. Re-sign the uploaded binary so that all testers can install it. Reference: https://docs.microsoft.com/en-us/appcenter/distribution/auto-provisioning
Question 483
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?
A. npmjs.org
B. PyPI
C. Maven Central
D. third-party trusted Python
Get started with Python packages in Azure Artifacts Create a feed - 1. Select Artifacts (in the left navigation of your Azure DevOps project). 2. On the Artifacts page, select Create Feed. 3. In the Create new feed dialog box: 4. In the Name field, give the feed a name. PyPI is the default repository name for twine, which is a tool for publishing Python packages. Reference: https://docs.microsoft.com/en-us/azure/devops/artifacts/quickstarts/python-packages
Question 484
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.
A. the SHA-based hashes
B. the tag
C. the runner
D. the branch
E. the serial
Question 485
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?
A. analytics
B. synthetic monitoring
C. directed monitoring
D. Alert Management
Question 486
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?
A. Yes
B. No
Question 487
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.
A. Word Press
B. Jekyll
C. DocFX
D. caret
E. Medium
Question 488
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)?
A. the application ID, a client secret, and the object ID
B. a client secret, the object ID, and the tenant ID
C. the application ID, a client secret, and the tenant ID
D. the application ID, a client secret, and the subscription ID
Question 489
HOTSPOT - You have a virtual machine that runs Windows Server 2019 and is managed by using Desired State Configuration (DSC). You have the following DSC configuration.
You have the following Local Configuration Manager (LCM) configuration.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point. Hot Area:
Question 490
DRAG DROP - You have a web app named App1 that is hosted on multiple servers. App1 uses Application Insights in Azure Monitor. You need to compare the daily CPU usage from the last week for all servers. How should you complete the query? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Select and Place: