This page was exported from Actual Test Materials [ http://blog.actualtests4sure.com ] Export date:Fri Nov 15 21:56:25 2024 / +0000 GMT ___________________________________________________ Title: Verified AZ-400 exam dumps Q&As with Correct 378 Questions and Answers [Q158-Q177] --------------------------------------------------- Verified AZ-400 exam dumps Q&As with Correct 378 Questions and Answers Microsoft AZ-400 Test Engine PDF - All Free Dumps from Actualtests4sure NO.158 You manage the Git repository for a large enterprise application.During the development of the application, you use a file named Config.json.You need to prevent Config.json from being committed to the source control whenever changes to the application are committed.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. Explanation:Step 1: Delete and recreate the repository.Step 2: Add Config.json to the .gitignore fileEach line in the .gitignore excludes a file or set of files that match a pattern.Example:# ignore a single fileConfig.jsonStep 3: Run the git add .gitignore commandAt the initial commit we want basically move from Untracked to Staged, for staging we have to indicate which file we want to move or specify a pattern, as example:Reference:http://hermit.no/how-to-find-the-best-gitignore-for-visual-studio-and-azure-devops/https://geohernandez.net/how-to-add-an-existing-repository-into-azure-devops-repo-with-git/NO.159 Your company has an Azure subscription.The company requires that all resource group in the subscription have a tag named organization set to a value of Contoso.You need to implement a policy to meet the tagging requirement.How should you complete the policy? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: ” Microsoft.Resources/subscriptions/resourceGroups”Box 2: “Deny”,Sample – Enforce tag and its value on resource groups},“policyRule”: {“if”: {“allOf”: [{“field”: “type”,“equals”: “Microsoft.Resources/subscriptions/resourceGroups”},{“not”: {“field”: “[concat(‘tags[‘,parameters(‘tagName’), ‘]’)]”,“equals”: “[parameters(‘tagValue’)]”}}]},“then”: {“effect”: “deny”}}}}References:https://docs.microsoft.com/en-us/azure/governance/policy/samples/enforce-tag-on-resource-groupsNO.160 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?  Ansible  Maven  WhiteSource Bolt  Helm WhiteSource provides WhiteSource Bolt, a lightweight open source security and management solution developed specifically for integration with Azure DevOps and Azure DevOps Server.Note: WhiteSource is the leader in continuous open source software security and compliance management. WhiteSource integrates into your build process, irrespective of your programming languages, build tools, or development environments. It works automatically, continuously, and silently in the background, checking the security, licensing, and quality of your open source components against WhiteSource constantly-updated deļ¬nitive database of open source repositories.Note: Blackduck would also be a good answer, but it is not an option here.Reference:https://www.azuredevopslabs.com/labs/vstsextend/whitesource/NO.161 You have a private project in Azure DevOps.You need to ensure that a project manager can create custom work item queries to report on the project’s progress. The solution must use the principle of least privilege.To which security group should you add the project manager?  Project Collection Administrators  Reader  Project Administrators  Contributor ExplanationContributors have permissions to contribute fully to the project code base and work item tracking. The main permissions they don’t have or those that manage or administer resources.Reference:https://docs.microsoft.com/en-us/azure/devops/organizations/security/permissionsNO.162 You mc configuring Azure DevOps build pipelines.You plan to use hosted build agents.Which build agent pool should you use to compile each application type? To answer, drag the appropriate built agent pools to the correct application types. Each butt agent pool 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. References: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-osxNO.163 You have an Azure Kubernetes Service (AKS) pod.You need to configure a probe to perform the following actions:Confirm that the pod is responding to service requests.Check the status of the pod four times a minute.Initiate a shutdown if the pod is unresponsive.How should you complete the YAML configuration file? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Reference:https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probeNO.164 You have a project in Azure DevOps that has three teams as shown in the Teams exhibit. (Click the Teams tab.)You create a new dashboard named Dash1.You configure the dashboard permissions for the Contoso project as shown in the Permissions exhibit (Click the Permissions tab.)All other permissions have the default values set. NO.165 You have several Azure virtual machines that run Windows Server 2019.You need to identify the distinct event IDs of each virtual machine as shown in the following table.How should you complete the Azure Monitor query? To answer, drag the appropriate values to the correct locations. 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. Reference:https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/advanced-aggregationsNO.166 You have an Azure web app named Webapp1.You need to use an Azure Monitor query to create a report that details the top 10 pages of Webapp1 that failed.How should you complete the query? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. ExplanationBox 1: requestsFailed requests (requests/failed):The count of tracked server requests that were marked as failed.Kusto code:requests| where success == ‘False’Box 2: success == falseReference:https://docs.microsoft.com/en-us/azure/azure-monitor/platform/app-insights-metricsNO.167 You have an Azure virtual machine named VM1 that runs Linux.You plan to deploy the Desired State Configuration (DSC) extension to VM1.You need to grant the Log Analytics agent the appropriate directory permissions.How should you complete the command? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Reference:https://docs.microsoft.com/en-us/azure/automation/automation-dsc-onboardingNO.168 You are defining release strategies for two applications as shown in the following table.Which release strategy should you use for each application? To answer, drag the appropriate release strategies to the correct applications. Each release strategy 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. Reference:https://dev.to/mostlyjason/intro-to-deployment-strategies-blue-green-canary-and-more-3a3NO.169 You need to configure Azure Automation for the computer in Group7.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. Explanation:Step 1: Create a Desired State Configuration (DSC) configuration file that has an extension of .ps1.Step 2: Run the Import-AzureRmAutomationDscConfiguration Azure Powershell cmdlet The Import-AzureRmAutomationDscConfiguration cmdlet imports an APS Desired State Configuration (DSC) configuration into Azure Automation. Specify the path of an APS script that contains a single DSC configuration.Example:PS C:>Import-AzureRmAutomationDscConfiguration -AutomationAccountName “Contoso17”-ResourceGroupName “ResourceGroup01” -SourcePath “C:DSCclient.ps1” -Force This command imports the DSC configuration in the file named client.ps1 into the Automation account named Contoso17. The command specifies the Force parameter. If there is an existing DSC configuration, this command replaces it.Step 3: Run the Start-AzureRmAutomationDscCompilationJob Azure Powershell cmdlet The Start-AzureRmAutomationDscCompilationJob cmdlet compiles an APS Desired State Configuration (DSC) configuration in Azure Automation.References:https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/import-azurermautomationdscconfigurationhttps://docs.microsoft.com/en-us/powershell/module/azurerm.automation/start-azurermautomationdsccompilationjobNO.170 You are configuring a release pipeline in Azure DevOps as shown in the exhibit.Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic.NOTE: Each correct selection is worth one point. ExplanationBox 1: 5There are five stages: Development, QA, Pre-production, Load Test and Production. They all have triggers.Box 2: The Internal Review stageReferences: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/triggersNO.171 How should you configure the filters for the Project5 trigger? To answer, select the appropriate option in the answer area.NOTE: Each correct selection is worth one point. ExplanationScenario:References: https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggersNO.172 You are developing an open source solution that uses a GitHub repository.You create a new public project in Azure DevOps.You plan to use Azure Pipelines for continuous build. The solution will use the GitHub Checks API.Which authentication type should you use?  a personal access token  SAML  GrtHub App  OAuth ExplanationYou can authenticate as a GitHub App.References: https://developer.github.com/apps/building-github-apps/authenticating-with-github-apps/NO.173 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 must 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. Reference:https://docs.microsoft.com/de-DE/virtualization/windowscontainers/quick-start/building-sample-appNO.174 You need to configure Azure Automation for the computers in Pool7.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 m the correct order. ExplanationNO.175 You are configuring Azure Pipelines for three projects in Azure DevOps as shown in the following table.Which version control system should you recommend for each project? To answer, drag the appropriate version control systems to the correct projects. Each version control system 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:Project1:Git in Azure ReposProject2: Github EnterpriseGitHub Enterprise is the on-premises version of GitHub.com. GitHub Enterprise includes the same great set of features as GitHub.com but packaged for running on your organization’s local network. All repository data is stored on machines that you control, and access is integrated with your organization’s authentication system (LDAP, SAML, or CAS).Project3: Bitbucket cloudOne downside, however, is that Bitubucket does not include support for SVN but this can be easily amended migrating the SVN repos to Git with tools such as SVN Mirror for Bitbucket .Note: SVN is a centralized version control system.Incorrect Answers:Bitbucket:Bitbucket comes as a distributed version control system based on Git.Note: A source control system, also called a version control system, allows developers to collaborate on code and track changes. Source control is an essential tool for multi-developer projects.Our systems support two types of source control: Git (distributed) and Team Foundation Version Control (TFVC). TFVC is a centralized, client-server system. In both Git and TFVC, you can check in files and organize files in folders, branches, and repositories.References:https://www.azuredevopslabs.com/labs/azuredevops/yaml/https://enterprise.github.com/faqNO.176 You plan to create alerts that will be triggered based on the page load performance of a home page.You have the Application Insights log query shown in the following exhibit.Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.NOTE: Each correct selection is worth one point. Reference:https://devblogs.microsoft.com/premier-developer/alerts-based-on-analytics-query-using-custom-log-search/NO.177 You are designing a strategy to monitor the baseline metrics of Azure virtual machines that run Windows Server.You need to collect detailed data about the processes running in the guest operating system.Which two agents should you deploy? Each correct answer presents part of the solution.NOTE: Each correct selection is worth one point.  the Telegraf agent  the Azure Log Analytics agent  the Azure Network Watcher Agent for Windows  the Dependency agent The following table provide a quick comparison of the Azure Monitor agents for Windows.Reference:https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview Loading … Benefits of having Microsoft AZ-400 Certifications How to get a job with the IT industry in the future. Some Benefits of Microsoft AZ-400 Exam: Helpful for people who have experience or have skills in IT industryIt will help people to be loyal to their company and employerAccess to online resources from company's official websiteCertification is a worldwide accepted standard in the IT industryHigher salary in future in a company with a certification   100% Passing Guarantee - Brilliant AZ-400 Exam Questions PDF: https://www.actualtests4sure.com/AZ-400-test-questions.html --------------------------------------------------- Images: https://blog.actualtests4sure.com/wp-content/plugins/watu/loading.gif https://blog.actualtests4sure.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2023-02-21 14:31:43 Post date GMT: 2023-02-21 14:31:43 Post modified date: 2023-02-21 14:31:43 Post modified date GMT: 2023-02-21 14:31:43