|
171 | 171 | 
|
172 | 172 | 
|
173 | 173 |
|
174 |
| -- [x] Box 1: Create a Desired State Configuration (DSC) configuration file that has an extension of .ps1. Box 2: Run the Import-AzureRmAutomationDscConfiguration Azure PowerShell cmdlet. Box 3: Run the Start-AzureRmAutomationDscCompilationJob Azre PowerShell cdleut. |
| 174 | +- [x] Box 1: Create a Desired State Configuration (DSC) configuration file that has an extension of .ps1. Box 2: Run the Import-AzureRmAutomationDscConfiguration Azure PowerShell cmdlet. Box 3: Run the Start-AzureRmAutomationDscCompilationJob Azre PowerShell cmdlet. |
175 | 175 | - [ ] Box 1: Run the Import-AzureRmAutomationDscConfiguration Azure PowerShell cmdlet. Box 2: Create a Desired State Configuration (DSC) configuration file that has an extension of .ps1. Box 3: Run the New-AzureRmResourceGroupDeployment Azure PowerShell cmdlet.
|
176 | 176 | - [ ] Box 1: Run the New-AzureRmResourceGroupDeployment Azure PowerShell cmdlet. Box 2: Create an Azure Resource Manager template file that hasan extension of .json. Box 3: Run the New-AzureRmResourceGroupDeployment Azure PowerShell cmdlet.
|
177 | 177 | - [ ] Box 1: Create an Azure Resource Manager template file that has an extension of .json. Box 2: Run the New-AzureRmResourceGroupDeployment Azure PowerShell cmdlet. Box 3: Run the Import-AzureRmAutomationDscConfiguration Azure PowerShell cmdlet.
|
|
2345 | 2345 | - [ ] the number of unit test failures.
|
2346 | 2346 | - [ ] the percentage of unit test failures.
|
2347 | 2347 | - [x] the percentage of overall time spent on rework.
|
| 2348 | + |
| 2349 | +### You have an Azure subscription that contains multiple Azure pipelines. You need to deploy a monitoring solution for the pi*lines. The solution must meet the following requirements: ✑ Parse logs from multiple sources. ✑ identify the root cause of issues. What advanced feature of a monitoring tool should include in the solution? |
| 2350 | + |
| 2351 | +- [ ] directed monitoring |
| 2352 | +- [x] synthetic monitoring |
| 2353 | +- [ ] analytics |
| 2354 | +- [ ] Alert Management |
| 2355 | + |
| 2356 | +### 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. What should you do? |
| 2357 | + |
| 2358 | +- [ ] Configure branch protection rules for each repository. |
| 2359 | +- [x] Configure Dependabot alerts. |
| 2360 | +- [ ] Configure CodeQL scanning actions. |
| 2361 | +- [ ] Subscribe all the repository owners to the GitHub Advisory Database. |
| 2362 | + |
| 2363 | +### You have a project in Azure DevOps named Project1. You need to ensure that all new pipelines in Project1 execute three specific tasks during pipeline execution. What should you create? |
| 2364 | + |
| 2365 | +- [x] a task group |
| 2366 | +- [ ] a JSON template |
| 2367 | +- [ ] a YAML template |
| 2368 | +- [ ] a PowerShell task |
| 2369 | + |
| 2370 | +### 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 use Azure Pipelines to build and test a React js application You have a pipeline that has a single job. You discover that installing JavaScript packages from npm lakes approximately five minutes each time you run the pipeline. You need to recommend a solution to reduce the pipeline execution time. Solution: You recommend enabling pipeline caching. Does this meet the goal? |
| 2371 | + |
| 2372 | +- [x] Yes |
| 2373 | +- [ ] No |
| 2374 | + |
| 2375 | +### You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named Appl. You have an agent pool named Pool1 that contains a Windows Server 2019-based self-hosted agent. Pipe1 uses Pool1. You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2. App1 and App2 have conflicting dependencies. You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs. What should you do? |
| 2376 | + |
| 2377 | +- [x] Create two container jobs. |
| 2378 | +- [ ] Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 9. |
| 2379 | +- [ ] Add another self-hosted agent. |
| 2380 | +- [ ] Add a Docker Compose task to the build pipelines. |
| 2381 | + |
| 2382 | +### You have a brand policy in a project in Azure DevOps. The policy requires that code always builds successfully. You need to ensure that a specific user can always merge change to the master branch, even if the code fails to compile. The solution must use the principle of least privilege. What should you do? |
| 2383 | + |
| 2384 | +- [ ] From the Security setting of the repository, modify the access control tor the user. |
| 2385 | +- [x] From the Security settings of the branch, modify the access control for the user. |
| 2386 | +- [ ] Add the user to the Build Administrators group. |
| 2387 | +- [ ] Add the user to the Project Administrators group. |
| 2388 | + |
| 2389 | +### 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 Notifications settings should you clear? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. |
| 2390 | + |
| 2391 | +- [ ] Participating. |
| 2392 | +- [x] Automatically watch repositories. |
| 2393 | +- [ ] Automatically watch teams. |
| 2394 | +- [x] Watching |
| 2395 | + |
| 2396 | +### You have an Azure subscription. The subscription contains virtual machines that run either Windows Server or Linux. You plan to use Prometheus to monitor performance metrics. You need to integrate Prometheus and Azure Monitor. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. |
| 2397 | + |
| 2398 | +- [x] Install a Prometheus server on a Windows virtual machine in Azure. |
| 2399 | +- [x] On each virtual machine, expose the metrics endpoint. |
| 2400 | +- [ ] On each virtual machine, enable the Azure Diagnostics extension. |
| 2401 | +- [ ] On each virtual machine, enable the containerized agent for Azure Monitor. |
| 2402 | +- [ ] Expose a virtual network service endpoint for Azure Storage. |
| 2403 | +- [ ] Install a Prometheus server on a Linux virtual machine in Azure. |
| 2404 | + |
| 2405 | +### 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? |
| 2406 | + |
| 2407 | +- [ ] Project Collection Administrators. |
| 2408 | +- [ ] Reader. |
| 2409 | +- [ ] Project Administrators. |
| 2410 | +- [x] Contributor. |
| 2411 | + |
| 2412 | +### You need !0 the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run? |
| 2413 | + |
| 2414 | +- [ ] it push. |
| 2415 | +- [ ] git merge — allow-unrelated-histories. |
| 2416 | +- [ ] git rebase. |
| 2417 | +- [x] git merge –squash. |
| 2418 | + |
| 2419 | +### You need to recommend changes to reduce the accumulated technical debt. Solution: You recommend increasing the code duplication. Does this meet the goal? |
| 2420 | + |
| 2421 | +- [ ] Yes |
| 2422 | +- [x] No |
| 2423 | + |
| 2424 | +### You need to meet the technical requirements for monitoring App1. What should you use? |
| 2425 | + |
| 2426 | +- [ ] Splunk |
| 2427 | +- [x] Azure Application Insights |
| 2428 | +- [ ] Azure Advisor |
| 2429 | +- [ ] App Service logs |
| 2430 | + |
| 2431 | +### You have an Azure DevOps organization that contains a project named Project1. You need to create a published wiki in Project1. What should you do first? |
| 2432 | + |
| 2433 | +- [ ] Modify the Storage settings of Project1. |
| 2434 | +- [ ] In Project1, create an Azure DevOps pipeline. |
| 2435 | +- [x] In Project1, create an Azure DevOps repository. |
| 2436 | +- [ ] Modify the Team configuration settings of Project1. |
| 2437 | + |
| 2438 | +### You manage projects by using Azure Boards. You have a current work item name item A that is dependant on a work item named item3. You need to define the dependency for item A. What should you do in the web portal for Azure DevOps? |
| 2439 | + |
| 2440 | +- [ ] From Backlogs, open the context menu, select Add link and then select item3. Set Link type to Related and add the ID of item A. |
| 2441 | +- [x] From item A open the Links tab, and then select Add link. Set Link type to Successor and add the ID of item B. |
| 2442 | +- [ ] From Queries, open the context menu, select Add link, and then select Existing item. |
| 2443 | +- [ ] From item A, open the Links tab, and then select Add link. Set Link type to References and add the ID Of item B. |
| 2444 | + |
| 2445 | +### DRAG DROP You have an Azure subscription that uses Azure Automation State Configuration to manage the configuration of virtual machines. You need to identify which nodes are noncompliant. How should you complete the query? |
| 2446 | + |
| 2447 | + |
| 2448 | + |
| 2449 | +- [x] Box 1: Category. Box 2: OperationName. Box 3: ResultType. |
| 2450 | +- [ ] Box 1: Category. Box 2: ResultType. Box 3: OperationName. |
| 2451 | +- [ ] Box 1: OperationName. Box 2: Category. Box 3: ResultType. |
| 2452 | +- [ ] Box 1: ResultType. Box 2: OperationName. Box 3: Category. |
| 2453 | + |
| 2454 | +### You have the services shown in the following table. You manage a project by using Azure Boards. You need to notify the services Of build Status changes. Which services can be notified by using a web hook? |
| 2455 | + |
| 2456 | + |
| 2457 | + |
| 2458 | +- [ ] Service1 only |
| 2459 | +- [ ] Service2 only |
| 2460 | +- [x] Service1 and Service2 only |
| 2461 | + |
| 2462 | +### You have an Azure subscription that contains the resources shown in the following table. Project1 produces 9pm packages that are published to Feed1. Feed1 is consumed by multiple projects. You need to ensure that only tested packages are available for consumption. The solution must minimize development effort. What should you do? |
| 2463 | + |
| 2464 | + |
| 2465 | + |
| 2466 | +- [ ] Create a feed view named @default. After the 9pm packages test successfully, configure a release pipeline that tags the packages as release. |
| 2467 | +- [ ] Create a feed view named @release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that tags the packages as release. |
| 2468 | +- [x] Create a feed view named @release and set @release as the default view After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @release view. |
| 2469 | +- [ ] Create a feed view named @default. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @default view. |
| 2470 | + |
| 2471 | +### You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file. You plan to upgrade App1 to use an Azure service principal. What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)? |
| 2472 | + |
| 2473 | +- [ ] the application ID, a client secret, and the object ID. |
| 2474 | +- [ ] a client secret, the object ID, and the tenant ID. |
| 2475 | +- [x] the application ID, a client secret, and the tenant ID. |
| 2476 | +- [ ] the application ID, a client secret, and the subscription ID. |
0 commit comments