This page was exported from Latest Exam Prep [ http://certify.vceprep.com ] Export date:Mon Apr 14 20:06:24 2025 / +0000 GMT ___________________________________________________ Title: Actual AZ-400 Exam Recently Updated Questions with Free Demo [Q123-Q142] --------------------------------------------------- Actual AZ-400 Exam Recently Updated Questions with Free Demo Free Microsoft AZ-400 Exam Questions Self-Assess Preparation NO.123 Task 5For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram A sample of the desired output is stored in C:ResourcesTCPHandshake.png. See the solution below in explanation.Explanation:Step 1: Create a Project Wiki* Navigate to Azure DevOps:* Go to Azure DevOps and sign in with your credentials.* Select Your Project:* Choose Project1 from your list of projects.* Create a Wiki:* In the left-hand menu, select Wiki.* Click on Create project wiki.* Enter the name Wiki1 and click Create.Step 2: Add Mermaid Syntax to Render a Diagram* Open the Wiki Page:* Navigate to the newly created Wiki1.* Edit the Wiki Page:* Click on Edit to start editing the wiki page.* Insert Mermaid Diagram:* Use the following Mermaid syntax to render a diagram. For example, to render a simple flowchart, you can use:“`mermaidgraph TD;A–>B;A–>C;B–>D;C–>D;* Save the Page:* Click on Save to save your changes.Step 3: Render the TCP Handshake Diagram* Convert TCPHandshake.png to Mermaid Syntax:* Since you have a sample diagram in C:ResourcesTCPHandshake.png, you need to convert this diagram into Mermaid syntax. Here’s an example of how a TCP handshake might look in Mermaid syntax:“`mermaidsequenceDiagramparticipant Clientparticipant ServerClient->>Server: SYNServer–>>Client: SYN-ACKClient->>Server: ACK* Add the Diagram to the Wiki:* Replace the sample Mermaid syntax with the TCP handshake diagram syntax in the wiki page.* Save the Page:* Click on Save to save your changes.By following these steps, you will have created a project wiki named Wiki1 and used Mermaid syntax to render a diagramNO.124 You need to ensure that the https://contoso.com/statushook webhook is called every time a repository named az40010480345acr1 receives a new version of an image named dotnetapp.To complete this task, sign in to the Microsoft Azure portal. Sign in to the Azure portal.Navigate to the container registry az40010480345acr1.Under Services, select Webhooks.Select the existing webhook https://contoso.com/statushook, and double-click on it to get its properties.For Trigger actions select image pushExample web hook:Reference:https://docs.microsoft.com/en-us/azure/container-registry/container-registry-webhookNO.125 You have an Azure Pipeline.You need to store configuration values as variables.At which four scopes can the variables be defined, and what is the precedence of the variables from the highest precedence to lowest precedence? To answer, move the appropriate scope from the list of scopes to the answer area and arrange them in the correct order. Explanation:NO.126 You need to ensure that the https://contoso.com/statushook webhook is called every time a repository named az40010480345acr1 receives a new version of an image named dotnetapp.To complete this task, sign in to the Microsoft Azure portal. See solution below.Explanation* Sign in to the Azure portal.* Navigate to the container registry az40010480345acr1.* Under Services, select Webhooks.* Select the existing webhook https://contoso.com/statushook, and double-click on it to get its properties.* For Trigger actions select image pushExample web hook:Reference:https://docs.microsoft.com/en-us/azure/container-registry/container-registry-webhookNO.127 Your company has an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages.You need to minimize the amount of disk space used by older packages in Azure Artifacts.What should you modify?  the retention settings of the project’s pipeline  the retention settings of the project’s release  the retention settings of the project’s tests  the retention settings of the company pipeline To minimize the amount of disk space used by older packages in Azure Artifacts, you should modify the retention settings of the project’s release. This can be done by navigating to the project’s release settings and adjusting the retention policy. For more information, please refer to the Microsoft documentation.NO.128 Your company is building a mobile app that targets Android devices and OS devices. Your team uses Azure DevOps to manage all work items and release cycles. You need to recommend a solution to perform the following tasks:* Collect crash reports for issue analysis* Distribute beta releases to your testers.* Get user feedback on the functionality of new apps.What should you include in the recommendation?  Jenkins integration  Azure Application Insights widgets  the Microsoft Test & Feedback extension  Microsoft Visual Studio App Center integration The “Exploratory Testing” extension is now “Test & Feedback” and is now Generally Available.Anyone can now test web apps and give feedback, all directly from the browser on any platform: Windows, Mac, or Linux. Available for Google Chrome and Mozilla Firefox (required version 50.0 or above) currently. Support for Microsoft Edge is in the pipeline and will be enabled once Edge moves to a Chromium-compatible web platform.References:https://marketplace.visualstudio.com/items?itemName=ms.vss-exploratorytesting-webNO.129 You plan to deploy a template named D:Deploy.json to a resource group named Deploy-lod9940427.You need to modify the template to meet the following requirements, and then to deploy the template:* The address space must be reduced to support only 256total IP addresses.* The subnet address space must be reduced to support only 64 total IP addresses.To complete this task, sign in to the Microsoft Azure portal. See solution below.Explanation1. Sign in to the portal,2. Choosetemplate Deploy-lod99404273. Select Edit template, and then paste your JSON template code into the code window.4. Change the ASddressPrefixes to 10.0.0.0/24 in order to support only 256 total IP addresses.addressSpace”:{“addressPrefixes”: [“10.0.0.0/24”]},5. Change the firstSubnet addressprefix to 10.0.0.0/26 to support only 64 total IP addresses.“subnets”:[{“name”:”firstSubnet”,“properties”:{“addressPrefix”:”10.0.0.0/24″}6. Select Save.7. Select Edit parameters, provide values for the parameters that are shown, and then select OK.8 Select Subscription. Choose the subscription you want to use, and then select OK.9.Select Resource group. Choose an existing resource group or create a new one, and then select OK.10. Select Create. A new tile on the dashboard tracks the progress of your template deployment.References:https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-deploy-template-portal?view=azs-1908https://docs.microsoft.com/en-us/azure/architecture/building-blocks/extending-templates/update-resourceNO.130 You need to implement the code flow strategy for Project2 in Azure DevOps.Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange in the correct order. ExplanationStep 1: Create a repositoryA Git repository, or repo, is a folder that you’ve told Git to help you track file changes in. You can have any number of repos on your computer, each stored in their own folder.Step 2: Create a branchBranch policies help teams protect their important branches of development. Policies enforce your team’s code quality and change management standards.Step 3: Add a build validation policyWhen a build validation policy is enabled, a new build is queued when a new pull request is created or when changes are pushed to an existing pull request targeting this branch. The build policy then evaluates the results of the build to determine whether the pull request can be completed.Scenario:Implement a code flow strategy for Project2 that will:Enable Team2 to submit pull requests for Project2.Enable Team2 to work independently on changes to a copy of Project2.Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2.References: https://docs.microsoft.com/en-us/azure/devops/repos/git/manage-your-branchesNO.131 You need to find and isolate shared code. The shared code will be maintained in a series of packages.Which three 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. Reference:https://docs.microsoft.com/en-us/azure/devops/boards/queries/link-work-items-support-traceability?view=azure-devops&tabs=new-web-formhttps://docs.microsoft.com/en-us/visualstudio/releasenotes/tfs2017-relnotesNO.132 You have a tendril in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra. The tenant contains three groups named Group1. Group2, and Group3.You create a new project in Azure DevOps named Project1.You need to secure the service connections for Project1. The solution must meet the following requirements:* The members of Group1 must be able to share and unshare a service connection with other projects.* The members of Group2 must be able to rename a service connection and update the description.* The members of Group3 must be able to use the service connection within build or release pipelines.* The principle of least privilege must be followed.Which permission should you grant to each group? To answer, drag the appropriate permissions to the correct groups. Each permission 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. Explanation:NO.133 You need to implement the code flow strategy for Project2 in Azure DevOps.Which three 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. NO.134 You need to configure access to Azure DevOps Agent pooh to meet the forwarding requirements:* Use a project agent pool when authoring build release pipelines.* View the agent pool and agents of the organization.* Use the principle of least privilege.Which role memberships are required for the Azure 0e%Oos organization and the project? To answer, drag the appropriate role membership to the correct targets. Each role membership may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to content NOTE: Each correct selection is worth one point. ExplanationBox 1: ReaderMembers of the Reader role can view the organization agent pool as well as agents. You typically use this to add operators that are responsible for monitoring the agents and their health.Box 2: Service accountMembers of the Service account role can use the organization agent pool to create a project agent pool in a project. If you follow the guidelines above for creating new project agent pools, you typically do not have to add any members here.NO.135 Your company uses Team Foundation Server 2013 (TFS 2013).You plan to migrate to Azure DevOps.You need to recommend a migration strategy that meets the following requirements:* Preserves the dates of Team Foundation Version Control changesets* Preserves the changes dates of work items revisions* Minimizes migration effort* Migrates all TFS artifactsWhat should you recommend? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Explanation:Box 1: Upgrade TFS to the most recent RTM release.One of the major prerequisites for migrating your Team Foundation Server database is to get your database schema version as close as possible to what is currently deployed in Azure Devops Services.Box 2: Use the TFS Database Import ServiceIn Phase 3 of your migration project, you will work on upgrading your Team Foundation Server to one of the supported versions for the Database Import Service in Azure Devops Services.References: Team Foundation Server to Azure Devops Services Migration GuideNO.136 You are implementing an Azure DevOps strategy for mobile devices using App Center.You plan to use distribution groups to control access to releases.You need to create the distribution groups shown in the following table.Which type of distribution group should you use for each group? To answer, drag the appropriate group types to the correct locations. Each group type 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. ExplanationBox1: PrivateIn App Center, distribution groups are private by default. Only testers invited via email can access the releases available to this group.Box 2: PublicDistribution groups must be public to enable unauthenticated installs from public links.Box 3: SharedShared distribution groups are private or public distribution groups that are shared across multiple apps in a single organization.Reference:https://docs.microsoft.com/en-us/appcenter/distribution/groupsNO.137 You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the master branch.You need to implement a change management procedure that meets the following requirements:The master branch must be protected, and new changes must be built in the feature branches first.Changes must be reviewed and approved by at least one release manager before each merge.Changes must be brought into the master branch by using pull requests.What should you configure in Azure Repos?  branch policies of the master branch  Services in Project Settings  Deployment pools in Project Settings  branch security of the master branchBranch policies help teams protect their important branches of development. Policies enforce your team’scode quality and change management standards. Reference:https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-policiesNO.138 You are creating a NuGet package.You plan to distribute the package to your development team privately.You need to share the package and test that the package can be consumed.Which four 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. ExplanationStep 1: Configure a self-hosted agent.The build will run on a Microsoft hosted agent.Step 2: Create a new Azure Artifacts feedMicrosoft offers an official extension for publishing and managing your private NuGet feeds.Step 3: Publish the package.Publish, pack and push the built project to your NuGet feed.Step 4: Connect to an Azure Artifacts feed.With the package now available, you can point Visual Studio to the feed, and download the newly published package References:https://medium.com/@dan.cokely/creating-nuget-packages-in-azure-devops-with-azure-pipelines-and-yaml-d6faNO.139 You have an Azure DevOps organization named Contoso.You need to recommend an authentication mechanism that meets the following requirements:* Supports authentication from Git* Minimizes the need to provide credentials during authenticationWhat should you recommend?  managed identities in Azure Active Directory (Azure AD)  personal access tokens (PATs) in Azure DevOps  user accounts in Azure Active Directory (Azure AD)  Alternate credentials in Azure DevOps ExplanationPersonal access tokens (PATs) give you access to Azure DevOps and Team Foundation Server (TFS), without using your username and password directly. These tokens have an expiration date from when they’re created.You can restrict the scope of the data they can access. Use PATs to authenticate if you don’t already have SSH keys set up on your system or if you need to restrict the permissions that are granted by the credential.Reference:https://docs.microsoft.com/en-us/azure/devops/repos/git/auth-overviewNO.140 Your company uses Git as a source code control system for a complex app named App1.You plan to add a new functionality to App1.You need to design a branching model for the new functionality.Which branch lifetime and branch time should you use in the branching model? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Explanation:Branch lifetime: Short-livedBranch type: FeatureFeature branches are used when developing a new feature or enhancement which has the potential of a development lifespan longer than a single deployment. When starting development, the deployment in which this feature will be released may not be known. No matter when the feature branch will be finished, it will always be merged back into the master branch.References:https://gist.github.com/digitaljhelms/4287848NO.141 You are developing a multi-tier application. The application will use Azure App Service web apps as the front end and an Azure SQL database as the back end. The application will use Azure functions to write some data to Azure Storage.You need to send the Azure DevOps team an email message when the front end fails to return a status code of200.Which feature should you use?  Service Map in Azure Log Analytics  Availability tests in Azure Application Insights  Profiler in Azure Application Insights  Application Map in Azure Application Insights Application Map helps you spot performance bottlenecks or failure hotspots across all components of your distributed application. Each node on the map represents an application component or its dependencies; and has health KPI and alerts status.Incorrect Answers:A: Service Map automatically discovers application components on Windows and Linux systems and maps the communication between services. You can use it to view your servers as you think of them–interconnected systems that deliver critical services. Service Map shows connections between servers, processes, and ports across any TCP-connected architecture with no configuration required, other than installation of an agent.References: https://docs.microsoft.com/en-us/azure/azure-monitor/app/app-mapNO.142 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. Explanation:Box 1: Microsoft Visual Studio App Center distribution GroupsDistribution 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: SharedShared 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 Loading … Microsoft AZ-400 certification exam is designed for professionals who are looking to validate their skills and knowledge in designing and implementing DevOps solutions using Microsoft technologies. AZ-400 exam is part of the Microsoft Certified: DevOps Engineer Expert certification track and is intended for individuals who have experience with both Azure and DevOps practices.   AZ-400 Free Sample Questions to Practice One Year Update: https://www.vceprep.com/AZ-400-latest-vce-prep.html --------------------------------------------------- Images: https://certify.vceprep.com/wp-content/plugins/watu/loading.gif https://certify.vceprep.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2025-02-15 10:40:08 Post date GMT: 2025-02-15 10:40:08 Post modified date: 2025-02-15 10:40:08 Post modified date GMT: 2025-02-15 10:40:08