Az-400 2
Az-400 2
Az-400 2
https://www.2passeasy.com/dumps/AZ-400/
NEW QUESTION 1
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.
Your company has a prefect in Azure DevOps for a new web application. You need to ensure that when code is checked in, a build runs automatically.
Solution: from the Triggers tab of the build pipeline, you select Enable continuous integration
Does the meet the goal?
A. Yes
B. No
Answer: B
Explanation:
In Visual Designer you enable continuous integration (CI) by:
„hSelect the Triggers tab.
„hEnable Continuous integration.
A continuous integration trigger on a build pipeline indicates that the system should automatically queue a new build whenever a code change is committed.
References:
https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-designer
NEW QUESTION 2
You plan to create an image that will contain a .NET Core application.
You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)
You need to ensure that the image is as small as possible when the image is built. Which line should you modify in the file?
A. 1
B. 3
C. 4
D. 7
Answer: A
Explanation:
Multi-stage builds (in Docker 17.05 or higher) allow you to drastically reduce the size of your final image, without struggling to reduce the number of intermediate
layers and files.
With multi-stage builds, you use multiple FROM statements in your Dockerfile. Each FROM instruction can use a different base, and each of them begins a new
stage of the build. You can selectively copy artifacts from one stage to another, leaving behind everything you don¡¦t want in the final image.
References: https://docs.docker.com/develop/develop-images/multistage-build/#usemulti- stage-builds
NEW QUESTION 3
DRAG DROP
You need to use Azure Automation Sure Configuration to manage the ongoing consistency of virtual machine configurations.
Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in
the correct order.
NOTE: More than one order of answer choices in correct. You writ receive credit for any of the orders you select.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Step 1: Assign the node configuration.
You create a simple DSC configuration that ensures either the presence or absence of the Web-Server Windows Feature (IIS), depending on how you assign
nodes. Step 2: Upload a configuration to Azure Automation State Configuration.
You import the configuration into the Automation account. Step 3: Compiling a configuration into a node configuration Compiling a configuration in Azure
Automation
Before you can apply a desired state to a node, a DSC configuration defining that state must be compiled into one or more node configurations (MOF document),
and placed on the Automation DSC Pull Server.
Step 4: Onboard the virtual machines to Azure State Configuration Onboarding an Azure VM for management with Azure Automation State Configuration
Step 5: Check the compliance status of the node.
Viewing reports for managed nodes. Each time Azure Automation State Configuration performs a consistency check on a managed node, the node sends a status
report back to the pull server. You can view these reports on the page for that node.
On the blade for an individual report, you can see the following status information for the corresponding consistency check:
The report status ¡X whether the node is "Compliant", the configuration "Failed", or the node is "Not Compliant" (when the node is in ApplyandMonitor mode and
the machine is not in the desired state).
References: https://docs.microsoft.com/en-us/azure/automation/automation-dscgetting- started
NEW QUESTION 4
HOTSPOT
You have a project Azure DevOps.
You plan to create a build pipeline that will deploy resources by using Azure Resource Manager templates. The templates will reference secretes stored in Azure
Key Vault.
Yu need to ensure that you can dynamically generate the resource ID of the key vault during template deployment.
What should you include in the template? To answer, select eh appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
NEW QUESTION 5
Your company plans to use an agile approach to software development You need to recommend an application to provide communication between
members of the development team who work in locations around the world. The
application must meet the following requirements:
¡E Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those
channels.
¡E Be available on Windows 10, Mac OS, iOS, and Android operating systems.
¡E Provide the ability to add external contractors and suppliers to projects.
¡E Integrate directly with Azure DevOps. What should you recommend?
A. Octopus
B. Bamboo
C. Microsoft Project
D. Slack
Answer: D
Explanation:
Slack is a popular team collaboration service that helps teams be more productive by keeping all communications in one place and easily searchable from virtually
anywhere. All your messages, your files, and everything from Twitter, Dropbox, Google Docs, Azure DevOps, and more all together. Slack also has fully native
apps for iOS and Android to give you the full functionality of Slack wherever you go. Integrated with Azure DevOps
This integration keeps your team informed of activity happening in its Azure DevOps projects. With this integration, code check-ins, pull requests, work item
updates, and build events show up directly in your team's Slack channel.
Note: Microsoft Teams would also be a correct answer, but it is not an option here. References:
https://marketplace.visualstudio.com/items?itemName=ms-vsts.vss-services-slack
NEW QUESTION 6
DRAG DROP
You need to recommend project metrics for dashboards in Azure DevOps. Which chart widgets should you recommend for each metric? To answer, drag the
appropriate chart widgets to the correct metrics. Each chart widget 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.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
NEW QUESTION 7
You have an Azure Resource Manager template that deploys a multi-tier application. You need to prevent the user who performs the deployment from viewing the
account credentials and connection strings used by the application.
What should you use?
Answer: D
Explanation:
When you need to pass a secure value (like a password) as a parameter during deployment, you can retrieve the value from an Azure Key Vault. You retrieve the
value by referencing the key vault and secret in your parameter file. The value is never exposed because you only reference its key vault ID. The key vault can
exist in a different subscription than the resource group you are deploying to. References: https://docs.microsoft.com/en-us/azure/azure-resourcemanager/
resource-manager-keyvault-parameter
NEW QUESTION 8
HOTSPOT
Your company is creating a suite of three mobile applications.
You need to control access to the application builds. The solution must be managed at the organization level
What should you use? To answer, select the appropriate options m the answer area. NOTE: Each correct selection is worth one point.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Box 1: Microsoft Visual Studio App Center distribution Groups
Distribution Groups are used to control access to releases. A Distribution Group represents a set of users that can be managed jointly and can have common
access to releases. Example of Distribution Groups can be teams of users, like the QA Team or External Beta Testers or can represent stages or rings of releases,
such as Staging.
Box 2: Shared
Shared distribution groups are private or public distribution groups that are shared across multiple apps in a single organization. Shared distribution groups
eliminate the need to replicate distribution groups across multiple apps.
Note: With the Deploy with App Center Task in Visual Studio Team Services, you can deploy your apps from Azure DevOps (formerly known as VSTS) to App
Center. By deploying to App Center, you will be able to distribute your builds to your users. References: https://docs.microsoft.com/en-
us/appcenter/distribution/groups
NEW QUESTION 9
Your company uses a Git repository in Azure Repos lo manage the source code of a
web application. The master branch is protected from direct updates. Developers work on new features in the topic branches.
Because of the high volume of requested features, it is difficult to follow the history of the changes to the master branch.
You need to enforce a pull request merge strategy. The strategy must meet the following requirements:
¡E Consolidate commit histories
¡E Merge tie changes into a tingle commit
Which merge strategy should you use in the branch policy?
A. Git fetch
B. no-fast-forward merge
C. squash merge
D. fast-forward merge
Answer: C
Explanation:
Squash merging is a merge option that allows you to condense the Git history of topic branches when you complete a pull request. Instead of each commit on the
topic branch being added to the history of the default branch, a squash merge takes all the file changes and adds them to a single new commit on the default
branch. A simple way to think about this is that squash merge gives you just the file changes, and a regular merge gives you the file changes and the commit
history. Note: Squash merging keeps your default branch histories clean and easy to follow without demanding any workflow changes on your team. Contributors
to the topic branch work how they want in the topic branch, and the default branches keep a linear history through the use of squash merges. The commit history
of a master branch updated with squash merges will have one commit for each merged branch. You can step through this history commit by commit to find out
exactly when work was done.
References: https://docs.microsoft.com/en-us/azure/devops/repos/git/merging-withQuestions
& Answers PDF P-43 squash
NEW QUESTION 10
You use Azure Artifacts to host NuGet packages that you create.
You need to make one of the packages available to anonymous users outside your organization. The solution must minimize the number of publication points.
What should you do?
Answer: A
Explanation:
Azure Artifacts introduces the concept of multiple feeds that you can use to organize and control access to your packages.
Packages you host in Azure Artifacts are stored in a feed. Setting permissions on the feed allows you to share your packages with as many or as few people as
your scenario requires.
Feeds have four levels of access: Owners, Contributors, Collaborators, and Readers.
References: https://docs.microsoft.com/en-us/azure/devops/artifacts/feeds/feedpermissions? view=vsts&tabs=new-nav
NEW QUESTION 10
You have 50 Node.js-based projects that you scan by using WhiteSource. Each project includes Package.json, Package-lock.json, and Npm-shrinkwrap.json files.
You need to minimize the number of libraries reports by WhiteSource to only the libraries that you explicitly reference.
What should you do?
Answer: D
Explanation:
Separate Your Dependencies
Within your package.json file be sure you split out your npm dependencies between devDependencies and (production) dependencies. The key part is that you
must then make use of the --production flag when installing the npm packages. The -- production flag will exclude all packages defined in the devDependencies
section. References:
https://blogs.msdn.microsoft.com/visualstudioalmrangers/2017/06/08/manage-youropen- source-usage-and-security-as-reported-by-your-cicd-pipeline/
NEW QUESTION 15
HOTSPOT
Your company is building a new web application.
You plan to collect feedback from pilot users on the features being delivered. All the pilot users have a corporate computer that has Google Chrome and the
Microsoft Test & Feedback extension installed. The pilot users will test the application by using Chrome.
You need to identify which access levels are required to ensure that developers can request and gather feedback from the pilot users. The solution must use the
principle of least privilege.
Which access levels m Azure DevOps should you identify? To answer, select the
appropriate options in the answer area
NOTE: Each correct selection is worth one point.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Box 1: Basic
Assign Basic to users with a TFS CAL, with a Visual Studio Professional subscription, and to users for whom you are paying for Azure Boards & Repos in an
organization.
Box 2: Stakeholder
Assign Stakeholders to users with no license or subscriptions who need access to a limited set of features.
Note:
You assign users or groups of users to one of the following access levels: Basic: provides access to most features
VS Enterprise: provides access to premium features
Stakeholders: provides partial access, can be assigned to unlimited users for free References: https://docs.microsoft.com/enus/
azure/devops/organizations/security/access-levels?view=vsts
NEW QUESTION 16
You have multi-tier application that h. an Azure Web Apps front end and art Azure SQL Datable back end.
You need to recommend a solution to capture and store telemetry dat
A. The solution must meet the following requirements:¡E Support using ad-hoc queries to identify baselines.¡E Trigger alerts when metrics in the baseline are
exceeded.¡E Store application and database metrics in a central locatio
B. What should you include in the recommendation?
C. Azure Application Insights
D. Azure SQL Database Intelligent Insights
E. Azure Event Hubs
F. Azure Log Analytics
Answer: D
Explanation:
Azure Platform as a Service (PaaS) resources, like Azure SQL and Web Sites (Web Apps), can emit performance metrics data natively to Log Analytics.
The Premium plan will retain up to 12 months of data, giving you an excellent baseline ability.
There are two options available in the Azure portal for analyzing data stored in Log analytics and for creating queries for ad hoc analysis.
References: https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collectazurepass- posh
NEW QUESTION 17
Your company has a project in Azure DevOps.
You need to ensure that when there are multiple builds pending deployment only the most recent build is deployed.
What should you use?
Answer: A
NEW QUESTION 22
HOTSPOT
How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection a worth one point.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Scenario: Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use.
In order to use App Center, you need to opt in to the service(s) that you want to use, meaning by default no services are started and you will have to explicitly call
each of them when starting the SDK.
Insert the following line to start the SDK in your app's AppDelegate class in the didFinishLaunchingWithOptions method.
MSAppCenter.start("{Your App Secret}", withServices: [MSAnalytics.self, MSCrashes.self])
References: https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios
NEW QUESTION 27
HOTSPOT
How should you configure the release retention policy for the investment planning applications suite? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Scenario: By default, all releases must remain available for 30 days, except for production releases, which must be kept for 60 days.
Box 1: Set the default retention policy to 30 days
The Global default retention policy sets the default retention values for all the build pipelines. Authors of build pipelines can override these values.
Box 2: Set the stage retention policy to 60 days
You may want to retain more releases that have been deployed to specific stages. References: https://docs.microsoft.com/enus/
azure/devops/pipelines/policies/retention
NEW QUESTION 29
Where should the build and release agents for the investment planning applications suite run? To answer, select the appropriate options in the answer area
NOTE: Each correct selection is worth one point.
A. Mastered
B. Not Mastered
Answer: A
Explanation:
Technical Requirements
Contoso identities the following technical requirements:
¡E Implement build agents rot Project 1.
¡E Whenever possible, use Azure resources
¡EAvoid using deprecated technologies
¡E Implement a code flow strategy for Project2 that will:
¡EEnable Team 2 to submit pull requests for Project2.
¡E Enable Team 2 to work independently on changes to a copy of Project?
¡E Ensure that any intermediary changes performed by Tram2 on a copy of Project2 will be subject to the same restrictions as the ones defied in the build policy of
Project2.
¡E Whenever possible. Implement automation and minimize administrative effort.
¡E Implement Protect3, Project5, Project6, and Project7 based on the planned changes.
¡E Implement Project4 and configure the project to push Docker images to Azure Container Reentry.
NEW QUESTION 32
In Azure DevOps, you create Project3.
You need to meet the requirements of the project. What should you do first?
Answer: A
Explanation:
The first thing to do is to declare your SonarQube server as a service endpoint in your VSTS/DevOps project settings.
References: https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Extension+fo r+vsts-TFS
NEW QUESTION 35
......
Visit Our Site to Purchase the Full Set of Actual AZ-400 Exam Questions With Answers.
We Also Provide Practice Exam Software That Simulates Real Exam Environment And Has Many Self-Assessment Features. Order the
AZ-400 Product From:
https://www.2passeasy.com/dumps/AZ-400/
* AZ-400 Most Realistic Questions that Guarantee you a Pass on Your FirstTry
* AZ-400 Practice Test Questions in Multiple Choice Formats and Updatesfor 1 Year