You have an Azure key vault named KV1 and three web servers.You plan to deploy an app named App1 to the web servers.You need to ensure that App1 can retrieve a secret from KV1. The solution must meet the following requirements:-Minimize the number of permission grants required.-Follow the principle of least privilege.What should you include in the solution?
Answer(s): C
DRAG DROP (Drag and Drop is not supported)You have a GitHub organization that contains three users named User1, User2, and User3. You have a project that contains a repository named repo1.You need to configure permissions for repo1. The solution must meet the following requirements:-Ensure that User1 can actively push to repo1.-Ensure that User2 can manage issues and pull requests for repo1.-Ensure that User3 can manage repo1.-Prevent User3 from accessing sensitive data in repo1.Which role should you assign to each user? To answer, drag the appropriate roles to the correct users. Each role 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:
Answer(s): A
Box 1: WriteEnsure that User1 can actively push to repo1.Write: Recommended for contributors who actively push to your projectBox 2: TriageEnsure that User2 can manage issues and pull requests for repo1.Triage: Recommended for contributors who need to proactively manage issues, discussions, and pull requests without write accessBox 3: MaintainEnsure that User3 can manage repo1.Prevent User3 from accessing sensitive data in repo1.Maintain: Recommended for project managers who need to manage the repository without access to sensitive or destructive actionsNote: Repository roles for organizationsYou can give organization members, outside collaborators, and teams of people different levels of access to repositories owned by an organization by assigning them to roles. Choose the role that best fits each person or team's function in your project without giving people more access to the project than they need.From least access to most access, the roles for an organization repository are:Read: Recommended for non-code contributors who want to view or discuss your projectTriage: Recommended for contributors who need to proactively manage issues, discussions, and pull requests without write accessWrite: Recommended for contributors who actively push to your projectMaintain: Recommended for project managers who need to manage the repository without access to sensitive or destructive actionsAdmin: Recommended for people who need full access to the project, including sensitive and destructive actions like managing security or deleting a repository
https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/repository-r oles-for-an-organization
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.You plan to update the Azure DevOps strategy of your company.You need to identify the following issues as they occur during the company’s development process:-Licensing violations-Prohibited librariesSolution: You implement continuous deployment.Does this meet the goal?
Answer(s): B
Correct:* You implement automated security testing.Incorrect:* You implement continuous deployment.* You implement continuous integration* You implement pre-deployment gates.Note:You can use Mend Bolt with Azure DevOps to automatically detect alerts on vulnerable open source components, outdated libraries, and license compliance issues in your code.Azure DevOps integration with Mend Bolt will enable you to:Detect and remedy vulnerable open source components.* Generate comprehensive open source inventory reports per project or build.*-> Enforce open source license compliance, including dependencies’ licenses.* Identify outdated open source libraries with recommendations to update.Note 2: 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 definitive database of open source repositories.
https://azuredevopslabs.com/labs/vstsextend/whitesource/
You manage code by using GitHub.You plan to use Dependabot to scan for code dependencies.You need to identify when scanning will be triggered automatically.Which two actions will trigger a scan? Each correct answer presents a complete solution.Note: Each correct solution is worth one point.
Answer(s): A,E
About Dependabot alerts, Detection of insecure dependenciesDependabot performs a scan of the default branch of your repository to detect insecure dependencies, and sends Dependabot alerts when:A new advisory is added to the GitHub Advisory Database.Note: Only advisories that have been reviewed by GitHub will trigger Dependabot alerts.The dependency graph for a repository changes. For example, when a contributor pushes a commit to change the packages or versions it depends on, or when the code of one of the dependencies changes.
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-gi thub-actions
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?
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.
https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-keyvault-parameter
Post your Comments and Discuss Microsoft AZ-400 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AZ-400 content, but please register or login to continue.