Question 166

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?
  • Question 167

    Your company has a project in Azure DevOps.
    You plan to create a release pipeline that will deploy resources by using Azure Resource Manager templates.
    The templates will reference secrets stored in Azure Key Vault.
    You need to recommend a solution for accessing the secrets stored in the key vault during deployments. The solution must use the principle of least privilege.
    What should you include in the recommendation? To answer, drag the appropriate configurations to the correct targets. Each configuration 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.

    Question 168

    You are designing YAML-based Azure pipelines for the apps shown in the following table.

    You need to configure the YAML strategy value for each app. The solution must minimize app downtime.
    Which value should you configure for each app? To answer, select the appropriate options in the answer area.
    NOTE: Each correct selection is worth one point.

    Question 169

    You have a project in Azure DevOps named Project1 that contains two Azure DevOps pipelines named Pipeline1 and Pipeline2.
    You need to ensure that Pipeline1 can deploy code successfully to an Azure web app named webapp1. The solution must ensure that Pipeline2 does not have permission to webapp1.
    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.