Visit Official SkillCertPro Website :-
For a full set of 650+ questions. Go to
https://skillcertpro.com/product/microsoft-azure-devops-solutions-az-400-practice-exam-set/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.
Question 1
A team currently makes use of Docker containers for building their application. The application lifecycle also makes use of Azure Devops. Exploits need to be detected in the Docker images before the container can be used. These exploits must be detected as early on in the lifecycle as possible.
Which of the following would you configure as part of the lifecycle?
A. Ensure a scheduled task runs against the production container in the continuous deployment pipeline
B. Ensure a scheduled task runs against the staging container in the continuous deployment pipeline
C. Ensure a scheduled task runs against the image registry to analyse the images
D. Run manual tasks to analyse the docker containers in the planning phase
Answer: C
Explanation:
It’s always good to have an on-going process to analyse the images in the image registry itself. There are some points also given in a whitepaper which relates to security for containers
Options A and B are incorrect since this would be too late to detect issues in the application lifecycle
Option D is incorrect because it is inefficient to use manual processes
For more information on container security, please visit the below URL
https://azure.microsoft.com/en-us/resources/container-security-in-microsoft-azure/en-us/
Question 2
A team is currently using a project in Azure Devops. The team needs to have a policy in place that ensures the following
A user should be able to merge to a master branch even if the code fails to compile.
The solution must use the principle of least privilege.
Which of the following would you implement?
A. Ensure that the user is added to the Build Administrators group
B. Ensure that the user is added to the Project Administrators group
C. Ensure to modify the access control for the user from the security setting of the repository
D. Ensure to modify the access control for the user from the security setting of the branch
Answer: D
Explanation:
You can set permissions at the branch level. This is also given in the Microsoft documentation
The other options are incorrect since we need to use the principle of least privilege.
For more information on branch security, please visit the below URL
https://docs.microsoft.com/en-us/azure/devops/repos/git/branch-permissions?view=azure-devops
Question 3
A team has the following DockerFile that will create an image
FROM windowsservercore
RUN powershell.exe -Command Invoke-WebRequest https://www.python.org/ftp/python/3.5.1/python-3.5.1.exe -OutFile c:\python-3.5.1.exe
RUN powershell.exe -Command Start-Process c:\python-3.5.1.exe -ArgumentList '/quiet InstallAllUsers=1 PrependPath=1' -Wait
RUN powershell.exe -Command Remove-Item c:\python-3.5.1.exe -Force
You need to ensure that you optimize the DockerFile. Which of the following can you do to create an optimized DockerFile?
A. Change the base image
B. Place an ENTRYPOINY
C. Ensure to have only one RUN command
D. Create a working directory
Answer: C
Explanation:
An example of such an optimization is given in the Microsoft documentation. You can just have one RUN command in the DockerFile.
Since this is clearly given in the documentation, all other options are incorrect
For more information on optimizing DockerFiles, please visit the below URL
Question 4
A project team is using Azure Devops for building and deploying projects using pipelines. The application using this infrastructure is a Java based application. You need to ensure a strategy is in place for managing technical debt.
Which of the following would you recommend? Choose 2 answers from the options given below
A. Carry out an integration between Azure Devops and Azure DevTest Labs
B. Carry out an integration between Azure Devops and SonarQube
C. Ensure to configure post-deployment approvals in the deployment pipeline
D. Ensure to configure pre-deployment approvals in the deployment pipeline
Answer: B, D
Explanation:
SonarQube is the perfect tool that can be used for measuring technical debt. The Microsoft documentation mentions the following
Then ensure to create a pre-deployment approval task so that the approver can view the technical
debt before proceeding with the approval
Option A is incorrect because Azure DevTest Labs cannot provide information on technical debt
Option C is incorrect because you need to ensure the reviewer can review the technical debt first
For more information on using SonarQube with Azure Devops, please visit the below URL
https://docs.microsoft.com/en-us/azure/devops/java/sonarqube?view=azure-devops
Question 5
A company is currently using Team Foundation Server 2013. They want to now migrate to Azure Devops. Below are the key points that need to be observed for the migration
· All dates for the Team Foundation Version Control changesets need to be preserved
· All TFS artifacts need to be migrated
· The migration effort should be minimized
Which of the following step needs to be performed on the Team Foundation Server?
A. The TFS Java SDK needs to be installed.
B. The latest .Net framework needs to be installed.
C. The latest powershell version needs to be installed.
D. The TFS server needs to be upgraded to the latest RTW release
Answer: D
Explanation:
In the whitepaper showcasing how to migrate from TFS to Azure Devops , there is a section which states that the TFS server needs to be migrated to the latest version. This would help ensure that the TFS schema is close to the one represented in Azure Devops services. Below is what is mentioned in the whitepaper
Since this is clearly mentioned in the whitepaper, all other options are incorrect
For more information on the migration, please visit the below URL
https://azure.microsoft.com/en-us/services/devops/migrate/
For a full set of 650+ questions. Go to
https://skillcertpro.com/product/microsoft-azure-devops-solutions-az-400-practice-exam-set/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.
Question 6
A team currently has the source code repository defined in Github. They want to now migrate their code onto Azure Devops. Which of the following step could be used to clone the repository from Github to Azure Devops?
A. Implement a new pull request
B. Implement a new push request
C. Create a service hook in GitHub
D. Choose Import from the Git repository
Answer: D
Explanation:
The process for this is mentioned in the Microsoft documentation as importing from the Git repository.
Since this is clearly mentioned in the Microsoft documentation, all other options are incorrect
For more information on importing a Git repository, please visit the below URL
https://docs.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops
Question 7
A company is currently planning on setting up Jenkins on an Azure virtual machine. Code will be build using the Jenkins server and then deployed to a Kubernetes cluster in Azure. The code will be picked up from the Azure container registry.
Which of the following needs to be implemented to ensure traffic can flow into the Jenkins instance on the Azure virtual machine
A. Open the port 8080 on the server
B. Add a subnet to the network
C. Add an additional network interface to the virtual machine
D. Implement virtual network peering
Answer: A
Explanation:
You need to ensure port 8080 is open on the virtual machine. This is mentioned in the Microsoft documentation
Since this is clearly mentioned, all other options are incorrect
For more information on using Jenkins on Azure, please visit the below URL
https://docs.microsoft.com/en-us/azure/aks/jenkins-continuous-deployment
Question 8
A company currently uses ServiceNow for Incident and Change Management. Most of their web-based applications which are developed in-house are hosted in Azure. The company needs to ensure that whenever there is an issue in the application a ticket is generated. Which of the following can help achieve this?
A. IT Service Management connector in Azure Log Analytics
B. Service hooks in Azure Functions
C. Service hooks in Azure Logic Apps
D. Web hooks in Azure Monitor
Answer: A
Explanation:
This can be done with the help of the IT Service Management connector in Azure Log Analytics. The Microsoft documentation mentions the following
Since this is clearly given in the Microsoft documentation, all other options are incorrect
For more information on the Service Management connector, please visit the below URL
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/itsmc-overview
Question 9
A team is developing an application that is based on the .Net core framework. The application will connect to a Microsoft SQL Server database. During the development stage the application will be developed using on-premise servers. For the production environment, the application will be moved to Azure and use the Azure Web App Service.
During the production stage, where should you store the database connection settings?
A. In the Web.config file
B. In the connection strings in the App Service
C. In the Authentication/Authorization section in the App Service
D. In the Identity section in the App Service
Answer: B
Explanation:
You should place this in the connection strings setting in the Azure Web App. This is also mentioned in the Microsoft documentation
Option A is incorrect since this is not the recommended place to keep the database connecting string settings
Option C is incorrect since this is used when the application needs to authenticate using external identity provider
Option D is incorrect since this is used to authenticate to other resources in Azure
For more information on configuring the App Service, please visit the below URL
https://docs.microsoft.com/en-us/azure/app-service/configure-common
Question 10
A company wants to implement a package management solution for their Node.js applications. They want to ensure that developers can use their IDE to connect to the repository securely.
Which of the following would contain the credentials to connect to the package management solution?
A. In the package.json files in the project
B. In the project.json files in the project
C. In the .npmrc file in the project
D. In the .npmrc file in the user’s home folder
Answer: D
Explanation:
This is clearly mentioned in the Microsoft documentation
Since this is clearly mentioned in the Microsoft documentation, all other options are incorrect
For more information on npm and Azure Artifacts, please visit the below URL
https://docs.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc?view=azure-devops&tabs=windows
For a full set of 650+ questions. Go to
https://skillcertpro.com/product/microsoft-azure-devops-solutions-az-400-practice-exam-set/
SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
SkillCertPro updates exam questions every 2 weeks.
You will get life time access and life time free updates
SkillCertPro assures 100% pass guarantee in first attempt.