- (Topic 4)
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 manage a project in Azure DevOps.
You need to prevent the configuration of the project from changing over time. Solution: Add a code coverage step to the build pipelines.
Does this meet the goal?
Correct Answer:
B
Instead implement Continuous Assurance for the project.
Reference:
https://azsk.azurewebsites.net/04-Continous-Assurance/Readme.html
- (Topic 4)
Your company develops an app for OS. All users of the app have devices that are members of a private distribution group in Microsoft Visual Studio App Center.
You plan to distribute a new release of the app.
You need to identify which certificate file you require to distribute the new release from App Center.
Which file type should you upload to App Center?
Correct Answer:
D
A successful IOS device build will produce an ipa file. In order to install the build on a device, it needs to be signed with a valid provisioning profile and certificate. To sign the builds produced from a branch, enable code signing in the configuration pane and upload a provisioning profile (.mobileprovision) and a valid certificate (.p12), along with the password for the certificate.
References:
https://docs.microsoft.com/en-us/appcenter/build/xamarin/ios/
SIMULATION - (Topic 4)
Your company plans to implement a new compliance strategy that will require all Azure web apps to be backed up every five hours.
You need to back up an Azure web app named az400-11566895-main every five hours to an Azure Storage account in your resource group.
To complete this task, sign in to the Microsoft Azure portal.
Solution:
With the storage account ready, you can configure backs up in the web app or App Service.
✑ Open the App Service az400-11566895-main, which you want to protect, in the Azure Portal and browse to Settings > Backups. Click Configure and a Backup Configuration blade should appear.
✑ Select the storage account.
✑ Click + to create a private container. You could name this container after the web app or App Service.
✑ Select the container.
✑ If you want to schedule backups, then set Scheduled Backup to On and configure a schedule: every five hours
✑ Select your retention. Note that 0 means never delete backups.
✑ Decide if at least one backup should always be retained.
✑ Choose if any connected databases should be included in the web app backup.
✑ Click Save to finalize the backup configuration.
Does this meet the goal?
Correct Answer:
A
FILL IN THE BLANK - (Topic 4)
You have an Azure subscription that contains Azure DevOps build pipelines. You to implement pipeline caching by using the cache task
HOW should you complete the YAML definition? TO answer, select the appropriate options in the answer area.
Solution:
Does this meet the goal?
Correct Answer:
A
HOTSPOT - (Topic 4)
Your company uses Git as a source code control system for a complex app named App1. You plan to add a new functionality to App1.
You need to design a branching model for the new functionality.
Which branch lifetime and branch time should you use in the branching model? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Branch lifetime: Short-lived
Branch type: Feature
Feature branches are used when developing a new feature or enhancement which has the potential of a development lifespan longer than a single deployment. When starting development, the deployment in which this feature will be released may not be known. No matter when the feature branch will be finished, it will always be merged back into the master branch.
References: https://gist.github.com/digitaljhelms/4287848
Does this meet the goal?
Correct Answer:
A