ERASED TEST, YOU MAY BE INTERESTED ON test5
COMMENTS | STATISTICS | RECORDS |
---|
TAKE THE TEST
Title of test:
test5 Description: ,dvsm,vnnm,sdcnmbdsnb Author: m,nsvdcnmsdnm,sdnm,sdm,nsd,ms Other tests from this author Creation Date: 07/08/2024 Category: Art Number of questions: 51 |
Share the Test:
New Comment
No comments about this test.
Content:
You are designing the development process for your company.
You need to recommend a solution for continuous inspection of the company's code base to locate common code patterns that are known to be problematic.
What should you include in the recommendation?
A. Microsoft Visual Studio test plans B. Gradle wrapper scripts C. SonarCloud analysis D. the JavaScript task runner. 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. The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt. You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend reducing the code coupling and the dependency cycles? Does this meet the goal? yes no. Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java-based projects. You need to recommend a strategy for managing technical debt. Which two actions should you include in the recommendation? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Configure post-deployment approvals in the deployment pipeline. B. Configure pre-deployment approvals in the deployment pipeline. C. Integrate Azure DevOps and SonarQube. D. Integrate Azure DevOps and Azure DevTest Labs. Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solution. Which task types should you add to the build pipeline? A. Gradle B. CocoaPods C. Grunt D. Gulp. Your company uses GitHub for source control. GitHub repositories store source code and store process documentation. The process documentation is saved as Microsoft Word documents that contain simple flow charts stored as .bmp files. You need to optimize the integration and versioning of the process documentation and the ow charts. The solution must meet the following requirements: ✑ Store documents as plain text. ✑ Minimize the number of les that must be maintained. ✑ Simplify the modification, merging, and reuse of flow charts. Simplify the modification, merging, and reuse of documents. LaTex Typesetting (.tex) Markdown (.md) Portable Document Format (.pdf) Mermaid diagrams Portable Networks Graphics (.png) Tagged Image File Format (.tiff). Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quality of the Java solution. Which task types should you add to the build pipeline? A. Grunt B. Octopus C. Maven D. Gulp. DRAG DROP - You are developing a full Microsoft .NET Framework solution that includes unit tests. You need to con gure SonarQube to perform a code quality validation of the C# code as part of the build pipelines. Which four tasks should you perform in sequence? To answer, move the appropriate tasks from the list of tasks to the answer area and arrange them in the correct order. Visual Studio Build Publish Build Artifacts Prepare Analysis Configuration Run Code Analysis Visual Studio Test . Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java-based projects. You need to recommend a strategy for managing technical debt. Which action should you include in the recommendation? A. Configure post-deployment approvals in the deployment pipeline. B. Integrate Azure DevOps and SonarQube. C. Integrate Azure DevOps and Azure DevTest Labs. 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. Group the related components. Assign ownership to each component group Identify the most common language used Create a dependency graph for the application Rewrite the components in the most common language. DRAG DROP - 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. Configure a self-hosted agent. Install a package Create a new Azure Artifacts feed Publish the package Connect to an Azure Artifacts feed. During a code review, you discover many quality issues. Many modules contain unused variables and empty catch blocks. You need to recommend a solution to improve the quality of the code. What should you recommend? A. In a Grunt build task, select Enabled from Control Options. B. In a Maven build task, select Run PMD. C. In a Xcode build task, select Use xcpretty from Advanced. D. In a Gradle build task, select Run Checkstyle. Your development team is building a new web solution by using the Microsoft Visual Studio integrated development environment (IDE). You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically. Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Publish the package to a feed. B. Create a new feed in Azure Artifacts. C. Upload a package to a Git repository. D. Add the package URL to the Environment settings in Visual Studio. E. Add the package URL to the NuGet Package Manager settings in Visual Studio. F. Create a Git repository in Azure Repos. You use GitHub for source control. A le that contains sensitive data is committed accidentally to the Git repository of a project. You need to delete the le and its history form the repository. Which two tools can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. A. the git lter-branch command B. BFG Repo-Cleaner C. the git rebase command D. GitHub Desktop. Your company uses GitHub for source control. The company has a team that performs code reviews. You need to automate the assignment of the code reviews. The solution must meet the following requirements: ✑ Prioritize the assignment of code reviews to team members who have the fewest outstanding assignments. ✑ Ensure that each team member performs an equal number of code reviews in any 30-day period. ✑ Prevent the assignment of code reviews to the team leader. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Clear Never assign certain team members. B. Select If assigning team members, don't notify the entire team. C. Select Never assign certain team members. D. Set Routing algorithm to Round robin. E. Set Routing algorithm to Load balance. You have a GitHub repository. You create a new repository in Azure DevOps. You need to recommend a procedure to clone the repository from GitHub to Azure DevOps. What should you recommend? A. Create a pull request. B. Create a webhook. C. Create a service connection for GitHub. D. From Import a Git repository, click Import. E. Create a personal access token in Azure DevOps. 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. The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt. You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend increasing the code duplication. Does this meet the goal? yes no. 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. The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt. You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend increasing the test coverage. Does this meet the goal? yes no. 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. The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt. You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend reducing the code complexity. Does this meet the goal? yes no. During a code review, you discover quality issues in a Java application. You need to recommend a solution to detect quality issues including unused variables and empty catch blocks. What should you recommend? A. In a Maven build task, select Run PMD. B. In an Xcode build task, select Use xcpretty from Advanced. C. In a Gulp build task, specify a custom condition expression. D. In a Grunt build task, select Enabled from Control Options. 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? A. Change the feed URL of the package B. Create a new feed for the package C. Promote the package to a release view. D. Publish the package to a public NuGet repository. You use GitHub for source control and project-related discussions. You receive a notification when an entry is made to any team discussion. You need to ensure that you receive email notifications only for discussions in which you commented or in which you are mentioned. Which two Notification settings should you clear? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Automatically watch teams B. Participating C. Automatically watch repositories D. Watching. You have an Azure Automation account that contains a runbook. The runbook is used to con gure the application infrastructure of an Azure subscription.You have a project in Azure DevOps named Project1. Project1 contains a repository that stores code for the runbook. You need to ensure that every committed change to the code will update automatically and publish the runbook to Azure Automation. What should you configure? A. the Service hooks settings for Project1 B. the Connections settings for the Automation account C. The source control settings for the Automation account D. the Service connections settings for Project1. You use Git for source control.You enable GitHub code scanning.You raise a pull request from a non-default branch. In the code scanning output, you receive the following error message: “Analysis not found.”You need to ensure that the code scanning completes successfully for the pull request.Which two actions should you perform? Each correct answer presents part of the solution. A. Add the name of the default branch to the on: push speci cation in the code scanning work ow. B. Add the name of the non-default branch to the on:push speci cation in the code scanning work ow. C. Delete the pull request, and then raise the request again from the default branch. D. Update the code in the pull request. E. Add a new workflow for code scanning. You have a GitHub repository named repo1 that stores the code of an app named App1. You need deploy a work ow for repo1 by using GitHub Actions. The solution must meet the following requirements: • Scan on pushes to the main branch. • Scan on pull requests to the main branch. • Scan on pull requests to any branch that has a prefix of releases/. • Scan all the files in the subdirectories of the src directory. • Exclude scanning of markdown les. How should you complete the code? To answer, drag the appropriate values to the correct targets. 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. - '**/*.md' - '*.md' - 'release*' - 'releases/**' - 'src/*' - 'src/**'. You have a GitHub repository that contains multiple versions of an Azure Pipelines template.You plan to deploy multiple pipelines that will use a template stored in the repository.You need to ensure that you use a fixed version of the template.What should you use to reference which version of the template repository to use? A. the serial B. the SHA-based hashes C. the runner D. the branch. You have the repositories shown in the following table. You need to migrate the contents of the GitHub repository to the Azure Repos repository. The solution must ensure that the Azure Repos repository only contains branches and history from the GitHub repository. Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order. git clone --bare https://dev.azure.com/contoso/project1/_git/proj cd project1 git clone --bare https://github.com/contoso/project1/_git/project1.git cd project1.git git push --mirror https://github.com/contoso/project1.git git push/--mirror https://dev.azure.com/contoso/project1_git/proj . You have a GitHub repository that contains the code for an app named App1.App1 depends on a library of functions from a repository at https://github.com/contoso/afeed.You need to keep a clone of the afeed repository as a subdirectory of the App1 repository.How should you complete the Git command? To answer, drag the appropriate values to the correct targets. 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. add clone branch pull submodule. You use Git for source control. You need to optimize the performance of a repository. The solution must meet the following requirements: • Permanently remove all items referenced only in the re og. • Remove history that is NOT in any current branch. How should you complete the command? To answer, select the appropriate options in the answer area. gc reflog reset stash gc init reflog reset all now. You have an Azure Repos Git repository named repo1.You need to ensure that you can authenticate to repo1 by using SSH.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. Sign in to Azure DevOps Add the SSH public Key Clone repo 1 Save the SSH key to the root of repo1 Add the SSH private Key Create SSH keys by using ssh-keygen. You use Git for source control.You delete a file, commit the changes, and continue to work.You need to recover the deleted file.Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order. git commit -m 'undeleted the file' git log git checkout [hash] ~1 --path/to/file git tag git restore path/to/file git stash. You use Git for source control. You have an app named App1. In the main branch, you need to restore the third most recent revision of a file named App.exe.con g. How should you complete the command? To answer, select the appropriate options in the answer area. checkout branch switch reset --patch --merge --staged source. You company uses a Git source-code repository. You plan to implement GitFlow as a work ow strategy. You need to identify which branch types are used for production code and preproduction code in the strategy. Which branch type should you identify for each code type? To answer, select the appropriate options in the answer area. Main Feature Develop Main Feature Develop. You have an Azure Repos repository named repo1.You need to clone repo1. The solution must clone only a directory named src/web.How should you complete the script? To answer, drag the appropriate values to the correct targets. 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. https://dev.azure.com/organization/project/_git/repo1 git@ssh.dev.azure.com:v3/organization/project/repo1 repo1/src src/web repo1/src/web web. You use GitHub for source control and Microsoft Teams for collaboration.You need to send a notification to a Teams channel for each commit. The solution must minimize development effort. A. Use Azure Automation to connect to the GitHub Actions API and send a message to the Teams channel. B. Use the Microsoft Teams for GitHub app and configure a subscription to receive notifications in the Teams channel. C. Use GitHub Actions with a dispatch to send a message to the Teams channel by using the Teams API. D. Use Azure Functions to connect to the GitHub REST API and send a message to the Teams channel. You manage source code control and versioning by using GitHub.You need to ensure that a PowerShell script is executed automatically before rebase operations are performed. A. a package B. GitHub Copilot C. a webhook D. a gist. You have a GitHub repository named repo1. You migrate repo1 to an Azure Repos repository named repo2. After the migration, changes are made to repo1. You need to sync the changes to repo2. How should you complete the script? To answer, drag the appropriate values to the correct targets. 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. repo1 repo1 clone URL repo1 repo URL repo2 repo2 clone URL repo2 repo URL. You have an Azure Repos repository named repo1.You delete a branch named features/feature11.You need to recover the deleted branch. git restore <SHA1> git stash git checkout <SHA1> git branch feauters /feature11 git log. You use GitHub to host container packages that use Semantic Versioning (SemVer).You have an app named App1. The current version of App1 is 11.2.0.You change the code of App1 to fix a bug that was introduced in version 10.5.1. A. 10.5.1-PATCH B. 11.2.1 C. 10.5.2 D. 10.6.0. You have an Azure Repos repository that contains large PSD files.You need to configure Git LFS to manage all the fies. git fetch git lfs config add "*.psd" git lfs migrate import --include "*.psd" --everything git lfs track "*.psd" git lfs update git push. You manage code by using GitHub.You need to ensure that repository owners are notified if a new vulnerable dependency or malware is found in their repository. A. Configure CodeQL scanning actions. B. Configure Dependabot alerts. C. Configure branch protection rules for each repository. D. Subscribe all the repository owners to the GitHub Advisory Database. You have a public GitHub repository named Public1.A commit is made to Public1. The commit contains a pattern that matches a regular expression.Who is notified first when the commit is made? A. the administrator of the GitHub organization B. the committer C. the owner of Public1 D. the secret scanning partner. You have a GitHub repository.You need to ensure that all the code in the repository is scanned for vulnerabilities.What should you use? A. Dependabot alerts B. branch protection rules C. CodeQL actions D. GitHub Advisory Database databases. You create a Git repository named Repo1 in Azure Repos. You need to configure Repo1 to meet the following requirements: • Work items must be linked to a pull request. • Pull requests must have a minimum of two reviewers. • Pull requests must complete a code review by using a third-party tool. The solution must minimize administrative effort. Which type of policy should you use for each requirement? To answer, drag the appropriate policy types to the correct requirements. Each type policy 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. Branch Build Check-in Status. You have a 1-TB Azure Repos repository named repo1.You need to clone repo1. The solution must meet the following requirements: • You must be able to search the commit history of the /src directory • The amount of time it takes to clone the repository must be minimized A. git clone –-depth-1 git@ssh.dev.azure.com:v3/org/Project1/repo1 B. git clone –- lter=blob:none git@ssh.dev.azure.com:v3/org/Project1/repo1 C. git clone git@ssh.dev.azure.com.com:v3/org/Project1/repo1 D. git clone –- lter=true:0 git@ssh.dev.azure.com:v3/org/Project1/repo1. You use GitHub for source control. You are evaluating whether to use proxying to add a private upstream MyGet package feed to your MyGet feed.What are two possible advantages of this approach? Each correct answer presents a complete solution.NOTE: Each correct selection is worth one point. A. minimizes the impact of upstream source availability issues B. minimizes latency when accessing the package C. provides automatic authentication D. minimizes the impact on your storage quota. You manage source code control and versioning by using GitHub.A large le is committed to a repository accidentally.You need to reduce the size of the repository. The solution must remove the le from the repository. A. bfg B. lfs C. gvfs D. init. You have a GitHub repository.You need to configure Dependabot dependency scanning. The solution must meet the following requirements: • Automatically open a pull request to resolve an alert. • Automatically open a pull request when a dependency is updated. What should you enable for each requirement? To answer, drag the appropriate features to the correct requirements. Each feature 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 Alerts A dependency graph Security update Version Update. You have a large repository named Repo1 that contains a directory named directory1. You plan to modify les in directory1. You need to create a clone of Repo1. The solution must minimize the amount of transferred data. How should you complete the script? To answer, drag the appropriate values to the correct targets. 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. git clone git fetch git sparse-checkout git worktree scalar clone scalar run. Your company has 60 developers who are assigned to four teams. Each team has 15 members. The company uses an agile development methodology. You need to structure the work of the development teams so that each team owns their respective work while working together to reach a common goal. Which parts of the taxonomy should you enable the team to perform autonomously? A. Features and Tasks B. Initiatives and Epics C. Epics and Features D. Stories and Tasks. Question #: 49 You have a project in Azure DevOps. You need to implement a new branching solution. The solution must ensure that all pull requests meet the following requirements: • Include linked work items. • Pass build validation policies. • Require at least three reviewers. What should you include in the solution? A. branch policies B. pull request templates C. branch security D. pull request permissions . Question #: 50 You use Git for source control. You need to commit a 3-GB ZIP file that contains virtual machines used for testing. The solution must meet the following requirements: • The file must be versioned. • The file must be associated with the corresponding code commits. Which two actions should you include in the solution? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Install the git-fat extension and associate the extension to ZIP files. B. Install the Git LFS extension and associate the extension to ZIP files. C. Install the git-stash extension and associate the extension to ZIP files. D. Use GZip to compress the file before committing the file. E. Store files in Azure Storage and enable blob versions. . |
Report abuse