- (Exam Topic 2)
You have an Azure DevOps project that uses many package feeds.
You need to simplify the project by using a single feed that stores packages produced by your company and packages consumed from remote feeds. The solution must support public feeds and authenticated feeds.
What should you enable in DevOps?
Correct Answer:B
- (Exam Topic 2)
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/
- (Exam Topic 2)
You manage the Git repository for a large enterprise application. You need to minimize the data size of the repository.
How should you complete the commands? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Solution:
Box 1: --aggressive
Cleanup unnecessary files and optimize the local repository: git gc --aggressive
Box 2: prune
Prune all unreachable objects from the object database: git prune
Reference: https://gist.github.com/Zoramite/2039636
Does this meet the goal?
Correct Answer:A
- (Exam Topic 3)
In Azure DevOps, you create Project3.
You need to meet the requirements of the project. What should you do first?
Correct Answer:A
The first thing to do is to declare your SonarQube server as a service endpoint in your VSTS/DevOps project settings.
References: https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Extension+for+vsts-TFS
- (Exam Topic 2)
You plan to use Azure Kubernetes Service (AKS) to host containers deployed from images hosted in a Docker Trusted Registry.
You need to recommend a solution for provisioning and connecting to AKS. The solution must ensure that AKS is RBAC-enaWed and uses a custom service principal.
Which three commands should you recommend be run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the coned order.
Solution:
Step 1 : az acr create
An Azure Container Registry (ACR) can also be created using the new Azure CLI. az acr create
--name
--resource-group
--sku Basic
Step 2: az ad sp create-for-rbac
Once the ACR has been provisioned, you can either enable administrative access (which is okay for testing) or you create a Service Principal (sp) which will provide a client_id and a client_secret.
az ad sp create-for-rbac
--scopes
/subscriptions/
--role Contributor
--name
Step 3: kubectl create
Create a new Kubernetes Secret.
kubectl create secret docker-registry
--docker-server
--docker-email
--docker-username=
--docker-password
https://thorsten-hans.com/how-to-use-private-azure-container-registry-with-kubernetes
Does this meet the goal?
Correct Answer:A