You plan to onboard 10 new developers.
You need to recommend a development environment that meets the following requirements:
✑ Integrates with GitHub
✑ Provides integrated debugging tools
✑ Supports remote workers and hot-desking environments
✑ Supports developers who use browsers, tablets, and Chromebooks
What should you recommend?
A. VS Code
B. Xamarin Studio
C. MonoDevelop
D. Github Codespaces
Show Answer
Correct Answer: D
Explanation: GitHub Codespaces provides a cloud-based development environment that integrates natively with GitHub, includes built-in debugging via VS Code in the browser, supports remote and hot-desking scenarios since no local setup is required, and works entirely through a web browser on devices such as tablets and Chromebooks.
Question 264
You use GitHub for source control.
A file that contains sensitive data is committed accidentally to the Git repository of a project.
You need to delete the file and its history form the repository.
Which two tools can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. the git filter-branch command
B. BFG Repo-Cleaner
C. the git rebase command
D. GitHub Desktop
Show Answer
Correct Answer: A, B
Explanation: To completely remove a sensitive file and its entire history from a Git repository, the repository history must be rewritten. The git filter-branch command can rewrite commit history to remove files from all past commits. BFG Repo-Cleaner is a specialized, faster alternative designed specifically to remove sensitive data or large files from Git history. Git rebase and GitHub Desktop cannot reliably remove a file from all historical commits.
Question 265
You have an Azure DevOps project that contains a build pipeline. The build pipeline uses approximately 50 open source libraries.
You need to ensure that all the open source libraries comply with your company's licensing standards.
Which service should you use?
A. Ansible
B. Maven
C. WhiteSource Bolt
D. Helm
Show Answer
Correct Answer: C
Explanation: WhiteSource Bolt integrates with Azure DevOps pipelines to scan open source dependencies, identify licenses, and verify compliance with organizational licensing and security policies. The other options are build or deployment tools and do not provide license compliance management.
Question 266
DRAG DROP -
You need to configure authentication for App1. The solution must support the planned changes.
Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Select and Place:
Show Answer
Correct Answer: Create an app.
Add a secret.
Configure the ID and secret for App1.
Explanation: Registering an app creates the service principal. A client secret is then added for authentication, and finally App1 is configured to use the application (client) ID and secret.
Question 267
HOTSPOT -
You are using PowerShell to administer Azure Log Analytics workspaces.
You need to list the available workspaces and their properties.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: Get-AzResource
-ResourceType
Explanation: Use Get-AzResource to list Azure resources. Filtering by -ResourceType Microsoft.OperationalInsights/workspaces returns Log Analytics workspaces, and -ExpandProperties displays their properties.
Question 268
DRAG DROP -
You have an on-premises Bitbucket Server with a firewall configured to block inbound Internet traffic. The server is used for Git-based source control.
You intend to manage the build and release processes using Azure DevOps. This plan requires you to integrate Azure DevOps and Bitbucket.
Which of the following will allow for this integration? Answer by dragging the correct options from the list to the answer area.
Select and Place:
Show Answer
Correct Answer: A self-hosted agent
An External Git service connection
Explanation: The Bitbucket Server is on-premises and blocked from inbound Internet access. A self-hosted agent placed inside the network can access Bitbucket and only needs outbound access to Azure DevOps. An External Git service connection allows Azure DevOps pipelines to reference and authenticate to the on-premises Bitbucket repository. Microsoft-hosted agents and service hooks require inbound connectivity and therefore will not work.
Question 269
DRAG DROP -
You are creating a container for an ASP.NET Core app.
You need to create a Dockerfile file to build the image. The solution must ensure that the size of the image is minimized.
How should you configure the file? 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:
Show Answer
Correct Answer: FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build-env
RUN dotnet publish -c Release -o out
FROM mcr.microsoft.com/dotnet/aspnet:5.0
Explanation: Use a multi-stage build: the SDK image is used only to build and publish the app, and the smaller ASP.NET runtime image is used for the final container. Publishing in Release produces the optimized output copied into the runtime image, minimizing image size.
Question 270
DRAG DROP -
You have recently created a web application for your company.
You have been tasked with making sure that a summary of the exceptions that transpire in the application is automatically sent to Microsoft Teams on a daily basis.
Which of the following Azure services should you use? Answer by dragging the correct options from the list to the answer area.
Select and Place:
Explanation: Application Insights collects and queries exception telemetry from the web application. Logic Apps can run on a daily schedule, query Application Insights, and post a summarized report to Microsoft Teams.
Question 271
HOTSPOT -
You have an Azure subscription that contains the resources shown in the following table.
You plan to create a linked service in DF1. The linked service will connect to SQL1 by using Microsoft SQL Server authentication. The password for the SQL
Server login will be stored -
in KV1.
You need to configure DF1 to retrieve the password when the data factory connects to SQL1. The solution must use the principle of least privilege.
How should you configure DF1? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: Secret
Access policy
Explanation: The SQL login password is stored in Azure Key Vault as a secret, so DF1 needs Secret permissions. To retrieve the secret, DF1’s managed identity must be granted access to KV1. In this scenario, the required configuration uses a Key Vault access policy with Get permission on secrets, which satisfies least privilege for Data Factory secret retrieval.
Question 272
HOTSPOT -
You plan to use Desired State Configuration (DSC) to maintain the configuration state of virtual machines that run Windows Server.
You need to perform the following:
✑ Install Internet Information Services (IIS) on the virtual machines.
✑ Update the default home page of the IIS web server.
How should you configure the DSC configuration file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Show Answer
Correct Answer: WindowsFeature
File
Explanation: IIS on Windows Server is installed via the DSC WindowsFeature resource using the Web-Server feature name. Updating the default IIS home page is done by copying the index.html file to the web root using the DSC File resource.
$19
Get all 531 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.