Microsoft Azure

You need to create an application in Azure AD representing the Kineteco Web App so you can assign directory permissions to the app. To create the application identity, which command will you run?

1.

`bash az ad app permission grant -display-name $appName ...`

2.

`bash az ad app credential create -display-name $appName ...`

3.

`bash az ad app create -display-name $appName ...`

4.

`bash az ad app permission ass -display-name $appName ...`

Q 1 / 55

Microsoft Azure

You need to deliver a mobile push notification feature for the Kineteco Retail app, hosted in Azure App Service. The solution should minimize cost, complexity, and development effort. Which option should you choose?

**Explanation:** Twilio is an SMS notification app, also not from Microsoft. Event Grid can be techincally used for this purpose but it's a more generic event-broadcasting service. Service Bus is another generic publish-subscribe solution. Finally [Notification Hubs](https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-push-notification-overview) are specifically designed for push-notifications.

1.

Notification Hub

2.

Event Grid

3.

Twilio

4.

Service Bus

Q 2 / 55

Microsoft Azure

Your application hosted in Azure App Service needs to retrieve secrets from Azure Key Vault. Which choice is NOT a way to authenticate to Key Vault?

1.

service principal and a certificate

2.

managed identity

3.

service principal and a secret

4.

shared access key

Q 3 / 55

Microsoft Azure

You added a persistent volume claim to your apps YAML manifest. When you attempt to deploy to an existing AKS cluster there is no persistent volume available. What should you do?

1.

Do nothing. The API server will provision additional storage automatically

2.

Add a data disk definition for the AKS cluster to your apps YAML manifest

3.

Add a data disk to each Kubernetes cluster node and reattempt app deployment

4.

Provision an Azure Files instance and reattempt app deployment

Q 4 / 55

Microsoft Azure

Your corporate web application is hosted in Azure regional data centres around the world. You need to route user requests to the closest service endpoint based on response latency. Which routing method should you use?

1.

Application gateway

2.

Front Door

3.

API Management

4.

Traffic manager

Q 5 / 55

Microsoft Azure

You are developing a release strategy for several related software components. You need to reference variable groups and secure files across multiple build and release pipelines. What is the most efficient way to store and reference these assets from the pipeline?

1.

Add the assets to a git repository

2.

Add the assets in Key Vault

3.

Add the assets to an encrypted volume

4.

Add the assets to a library

Q 6 / 55

Microsoft Azure

You need to grant full access for an app to a temporary Azure storage account. Configuring access should require minimum effort. Which option should you use?

1.

Azure AD user account

2.

Shared access signature

3.

Shared key

4.

Certificate

Q 7 / 55

Microsoft Azure

The Kineteco web app runs in an Azure Kubernetes Service. You need to monitor feature use and user navigation paths to identify where improvements are needed. What should you do?

1.

Configure application insights cohort

2.

Install the Log Analytics agent and configure Azure Monitor for Containers

3.

Install the App Insights on AKS nodes

4.

Add instrumentation to your app to send usage analytics with Application Insights.

Q 8 / 55

Microsoft Azure

Which choice is not a valid trigger for an Azure functions?

1.

based on a time (schedule)

2.

another Azure service (cosmos, service bus)

3.

threshold alert in Azure App insights

4.

third party services (GitHub)

Q 9 / 55

Microsoft Azure

Which messaging service enables an event-driven programming model?

1.

Service Bus

2.

Event Hub

3.

Notification Hub

4.

Event Grid

Q 10 / 55

Microsoft Azure

You need to populate a newly created SQL database from your release pipeline in Azure DevOps. The solution should minimize deployment time and efforts. Which approach should you use?

1.

Populate from a BACPAC file.

2.

Restore from a backup file.

3.

Populate from a CSV file.

4.

Populate from a SQL file.

Q 11 / 55

Microsoft Azure

You need to host a community website for your neighborhood association. The site contains static content, including HTML, CSS, and a few pages with client-side JavaScript. The site contains no sensitive information, and CORS support is unnecessary. The association has limited funds to pay for hosting, so the solution should be as inexpensive as possible. Which option should you use?

1.

Azure Storage static website

2.

static website with Azure CDN

3.

App Service on Consumption plan

4.

App Service on Standard plan

Q 12 / 55

Microsoft Azure

Your organization delivers a number of RESTful web services to customers around the world. You need to deploy cloud infrastructure to deliver these services to paying customers, including authentication, request throttling and routing of requests to the closest service endpoint. Which solution should you choose?

**Hint:** If you see the words REST and throttling - the answer is almost always API Management. It's the most expensive solution but is specifically designed to proxy the REST API.

1.

Front door

2.

API Management

3.

Traffic manager

4.

Application Gateway

Q 13 / 55

Microsoft Azure

You have a .NET app running on a VM Scale set. You need to monitor application performance without modifying the code. The solution should minimize the cost. What should you do?

1.

Enable Network Performance Monitor on the VMs.

2.

Install the Log Analytics Agent and enable Azure Monitor for VMs.

3.

Install the Application Insights Agent.

4.

Enable SolarWinds Performance Monitor from the Azure Marketplace.

Q 14 / 55

Microsoft Azure

When setting your CI/CD pipeline an approval from your product owner is required before a final release to production. What solution do you use to achieve this?

1.

a Manual Intervention task

2.

a pre-deployment condition

3.

a branch filter

4.

a pre-deployment gate

Q 15 / 55

Microsoft Azure

You want to configure the AKS instance running the Kineteco Inventory App to use Azure Active Directory (AD) for user authentication. To integrate with AKS with Azure AD which steps should you perform first?

1.

Create a service principal in Azure then assign the service principal AKS.

2.

Add users an Azure AD security group. Then assign the group permissions to AKS.

3.

Create a service principal in Azure AD. Then add user to the AKS security group.

4.

Create an App ID in Azure AD. Then create a service principal for the server app.

Q 16 / 55

Microsoft Azure

Which access protocol does Azure Files not support?

1.

Network File System (NFS)

2.

HTTPS

3.

REST API

4.

Server Message Block(SMB)

Q 17 / 55

Microsoft Azure

You are writing an app for a sales team. You need to implement security in SQL Server to ensure that sales representatives see customer financial information only for customers whom they manage. Your app must make this transparent to the user. Which SQL data security option should you choose?

1.

Dynamic Data Masking

2.

Transparent Data Encryption

3.

Row-Level Security

4.

Always Encrypted

Q 18 / 55

Microsoft Azure

You configure access to secrets in Azure Key Vault with `__`.

1.

service principals

2.

certificates

3.

access policies

4.

RBAC roles

Q 19 / 55

Microsoft Azure

Your Kineteco Web App experiences occasional spikes in usage that cause resource shortages that generate an alert. When this occurs, you want to configure scale out of the App Service plan resources. The solution should minimize cost and administrative effort. What should you do?

1.

Create a Logic App. Then configure an action group with the Logic App action type.

2.

Create an Azure Automation Runbook. Then configure an action group with the Automation Runbook action type.

3.

Configure an autoscale rule based on a metric.

4.

Create an Azure function. Then configure an action group with the Secure Webhook action type.

Q 20 / 55

Microsoft Azure

You have CI/CD pipeline for a modern web application in Azure DevOps. The CI/CD process includes both a build and a release pipeline. You need to ensure that user testing (UAT) is successful before triggering the release pipeline. The process should be automated as possible. What should you add to your build pipeline?

1.

Query Work Items gate

2.

Manual Intervention task

3.

Approval gate

4.

Invoke REST API gate

Q 21 / 55

Microsoft Azure

The Kineteco Web App is running on AKS. To meet a spike in demand, the horizontal pod autoscaler recently provisioned additional pods, which are no longer needed. What should you do to scale down unnecessary pods?

1.

Trigger scale down in Azure Container Instances.

2.

Trigger scale down in the HPA from the Azure CLI.

3.

Manually deprovision unneeded pods.

4.

Do nothing. HPA will initiate scale down automatically.

Q 22 / 55

Microsoft Azure

Your ARM template, created in VS Code, is failing validation in the build pipeline in Azure DevOps. You need to correct syntax issues at authoring time with a minimum of cost and effort. What should you do?

1.

Install Azure Resource Manager Tools extension in VS Code.

2.

Install Visual Studio 2019 Enterprise edition.

3.

Install Visual Studio 2019 Community edition.

4.

Install Visual Studio Code IntelliCode extension in VS Code.

Q 23 / 55

Microsoft Azure

You need to migrate the backlog of a development project for a newly acquired subsidiary. The development team currently uses a Kanban board to track stories, tasks, and bugs. Which process framework should you select in Azure Boards?

1.

Agile

2.

Waterfall

3.

Basic

4.

CMMI

Q 24 / 55

Microsoft Azure

You have set of SQL databases used with various PaaS applications with predictable usage patterns. You are planning to move these databases to Azure SQL and need to choose the right deployment option. Your priorities are minimizing costs, and having the ability to assign CPU and resources to individual databases. Which option should you choose?

1.

Azure SQL elastic pool

2.

SQL on Azure VMs

3.

Azure SQL Database

4.

SQL Managed Instance

Q 25 / 55

Microsoft Azure

Your photo app hosted in Azure records user operations in a log for historical reference. Records must not be overwritten. Which storage type should you select to host log data?

1.

append blob

2.

table storage

3.

page blob

4.

block blob

Q 26 / 55

Microsoft Azure

The Kineteco Retail App uses keys for signing and encryption of some data transfers. How should you write your app to invoke keys?

1.

Azure CLI

2.

Azure Portal

3.

Azure PowerShell

4.

REST API

Q 27 / 55

Microsoft Azure

You need to create a tech support chatbot for Microsoft Teams that interacts with users based on natural language processing (NLP). The bot should be capable of processing differing sentence structures. Which Microsoft Bot Framework component will deliver this functionality?

1.

LUIS

2.

Text to Speech

3.

QnA Maker

4.

Form Recognizer

Q 28 / 55

Microsoft Azure

You are implementing an application to manage automated warehouse operations for a global retailer. You need to design an enrollment process for IoT devices for production use. Solution requirements are as follows: Register IoT devices in bulk; encrypt all communication between devices and the Azure IoT cloud service; and implement Microsoft recommendations for device security. Which option should you choose?

1.

managed identity (shared)

2.

X.509 certificate

3.

managed service identity (per device)

4.

SAS key

Q 29 / 55

Microsoft Azure

You are deploying three Azure VMS with an Azure Resource Manager (ARM) template. Which ARM function implements the iteration loop to provision the right number of VMs?

json { "type": "Microsoft.Compute/virtualMachines", "name": "[concat('myvm', `______`)]", "apiVersion": "2016-04-30-preview", "location": "[parameters('location')]", "copy": " ", "name": "virtualMachineLoop", "count": "[parameters('numberOfInstances')]" },

1.

max()

2.

copyIndex()

3.

createArray()

4.

indexOf()

Q 30 / 55

Microsoft Azure

The Kineteco web app runs in an Azure Kubernetes Service. You need to monitor feature use and user navigation paths to identify where improvements are needed. What should you do?

1.

Install the Analytics agent and configure Azure Monitor for Containers.

2.

Install the App Insights Agent on AKS nodes.

3.

Configure Application Insights cohorts.

4.

Add instrumentation to your app to send usage analysis with Application Insights.

Q 31 / 55

Microsoft Azure

Your web app hosted on Azure VMS generates a large number of random (non-sequential) writes. Which storage type should you select for your application?

1.

page blob

2.

block blob

3.

table storage

4.

queue storage

Q 32 / 55

Microsoft Azure

You are configuring a release pipeline in Azure DevOps. You need to reference several application variables across multiple pipelines at deployment time. How should you store application variables?

1.

Store secrets in Azure Key Vault.

2.

Store secrets in a configuration file.

3.

Configure release variables.

4.

Configure a variable group.

Q 33 / 55

Microsoft Azure

You have configured the Kineteco Web App to run on Azure Kubernetes Service (AKS). Application resources need to scale to meet spikes in traffic. What should you do? The solution should minimize manual effort and cost.

1.

Configure the horizontal pod autoscaler (HPA).

2.

Manually scale pod when necessary.

3.

Configure burst to Azure Container Instances.

4.

Do nothing. Pods running on AKS scale up automatically.

Q 34 / 55

Microsoft Azure

You are configuring a release pipeline in Azure DevOps. You need to read secrets from Azure Key Vault during pipeline execution. How should you retrieve application variables?

1.

with a community-developed Key Vault task

2.

with an ARM template

3.

all of these answers

4.

with an Azure CLI script in a Bash task

Q 35 / 55

Microsoft Azure

You need to update the data within an existing database in Azure SQL with your changes. You want to test this process from your development workstation before incorporating the update into your CI/CD process. Which command will you run to update the schema on the target database?

/SourceServerName:"kinetecosql.database.windows.net" /SourceDatabaseName:"kinetecoweb" /SourceUser:"admin" /SourcePassword:"MyPassword" /SourceServerName:"kinetecosql.database.windows.net" /SourceDatabaseName:"kinetecoweb" /SourceUser:"admin" /SourcePassword:"MyPassword" /SourceServerName:"kinetecosql.database.windows.net" /SourceDatabaseName:"kinetecoweb" /SourceUser:"admin" /SourcePassword:"MyPassword" /SourceServerName:"kinetecosql.database.windows.net" /SourceDatabaseName:"kinetecoweb" /SourceUser:"admin" /SourcePassword:"MyPassword"

1.

SqlPackage.exe /TargetFile:" myapp.bacpac " /Action:**Export**

2.

SqlPackage.exe /TargetFile:" myapp.bacpac " /Action:**Import**

3.

SqlPackage.exe /TargetFile:"./myapp.bacpac" /Action:**Publish**

4.

SqlPackage.exe /TargetFile:"./myapp.bacpac" /Action:**Extract**

Q 36 / 55

Microsoft Azure

You have a web app hosted in Azure App Service that reads from and writes data to an Azure SQL Database back-end. You need to send email alert when your web app returns any failure HTTP status code (anything except HTTP 200) for a user request. Which solution should you use?

1.

service map in Azure Monitor

2.

application maps in Azure Application Insights

3.

availability tests in Azure Application Insights

4.

Profiler in Azure Application Insights

Q 37 / 55

Microsoft Azure

Your new release pipeline in Azure DevOps includes a Bash task that runs an Azure CLI script. The Bash task running script fails. The agent setting of the agent job in the release pipeline is pictured below. The solution must minimize cost. What should you change in agent pool settings?

1.

Change to a self-hosted agent pool running Ubuntu 16.04 LTS or later.

2.

Changed to a hosted pool running Windows 2019.

3.

Change to a hosted agent pool running Ubuntu 16.04 LTS or later.

4.

Change to a self-hosted agent pool running Windows 2019.

Q 38 / 55

Microsoft Azure

You are selecting a cloud messaging solution for your retail mobile app. Requirements for the solution are: Process messages in the order they are received: preserve messages in case of a processing delay; end guarantee message delivery. Which solution should you use?

1.

Event Grid

2.

Service Bus

3.

Event Hub

4.

Queue Storage

Q 39 / 55

Microsoft Azure

You need to provision a port mapping on the underlying node that allows the application to be accessed directly with the IP address and on the cluster node. Which service type should you provision?

1.

LoadBalancer

2.

NodePort

3.

Cluster IP

4.

ExternalName

Q 40 / 55

Microsoft Azure

What is the difference between a user-assigned managed identity and a system-assigned managed identity?

1.

The lifecycle of a user-managed identity is managed separately from the resource.

2.

with a user-assigned managed identity, Azure manages the password for you.

3.

The lifecycle of a system-managed identity is managed separately from the resource.

4.

with a system-assigned managed identity, Azure manages the password for you.

Q 41 / 55

Microsoft Azure

You need to configure user access to Azure DevOps agent pools to meet the following requirements: Use an agent pool when authoring build or release pipelines for the project; view the agent pool and agents of the organization; and use the principle of least privilege. Which role memberships are required for the Azure DevOps organization and the project?

1.

Organization: Administrator; Project: Service Account

2.

Organization: Reader; Project: Service Account

3.

Organization: Reader; Project: Administrator

4.

Organization: Service Account; Project: Reader

Q 42 / 55

Microsoft Azure

You have created an Azure CLI script for a release pipeline in Azure DevOps. You need to reference the working directory for the running job. Which variable should you reference?

1.

Agent.WorkFolder

2.

Agent.HomeDirectory

3.

Agent.BuildDirectory

4.

Agent.ToolsDirectory

Q 43 / 55

Microsoft Azure

You are selecting Azure technologies for a new a pp that will process print jobs in a facility with thousands of printers. A pool of worker processes will send jobs to printer and report results when jobs are complete. Requirements for the solution are: Worker processes will retrieve and process messages as capacity permits; if a worker process or printer fails, a worker process should be able to retrieve message and resume processing; and the solution should maintain a central (server-side) log of messages processed. Which solution should you use?

1.

Event Hub

2.

Event Grid

3.

Service Bus

4.

Queue Storage

Q 44 / 55

Microsoft Azure

In Azure Key Vault, you can manage access to your application secrets by setting permissions at any level except **_**.

1.

on the secret itself

2.

by secret type

3.

on the Key Vault instance

4.

at the Azure Subscription level

Q 45 / 55

Microsoft Azure

Your company hosts a web application that uses Azure SQL Database to store data. You need to implement measures that allow only members of the managers group to see sensitive information. Which two actions should you perform?

`Dynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to designate how much of the sensitive data to reveal with minimal impact on the application layer.`

1.

Implement dynamic data masking and include the managers group.

2.

Implement transparent data encryption and include the managers group.

3.

Implement dynamic data masking and exclude the managers group.

4.

Implement transparent data encryption and exclude the managers group.

Q 46 / 55

Microsoft Azure

The Kineteco Inventory App uses an Azure SQL Database instance to store application and store inventory data. Store employees report occasional periods where queries in the web interface never return data. You suspect a database issue and need to identify the performance issue as soon as possible. The resource health dashboard reports "No health related issues found." What should you do?

1.

Run the troubleshooting wizards under Resource and solve problems.

2.

Enable Intelligent Insights.

3.

Configure App Insights to alert admins when web interface experiences latency.

4.

Configure an alert rule to email DBAs when DTU usage hits 100%.

Q 47 / 55

Microsoft Azure

Your web application needs to access files on an Azure Files share. Which option will deliver the highest throughput?

1.

SMB

2.

REST API

3.

Storage Explorer

4.

NFS

Q 48 / 55

Microsoft Azure

You have source code for a project in a repository on GitHub. You need to migrate source code to a repository in Azure Repos. The solution should minimize effort. Which solution should you recommend?

1.

Download the GitHub repository to a Zip file, and then unzip the repository in Azure DevOps.

2.

From the **Import a Git repository** menu, select **Import**.

3.

Create a service connection to the GitHub repository.

4.

Create a webhook in GitHub and then trigger it from Azure DevOps.

Q 49 / 55

Microsoft Azure

You need to facilitate user acceptance testing (UAT) on your web application hosted in App Service. Testers must approve changes before they are deployed to production. You should implement support for these requirements with a minimum of cost and complexity. What should you do?

1.

Configure an additional App Service instance. In Azure DevOps, enable an approval gate for deployment.

2.

Configure an Azure load balancer to redirect traffic to the approved App Service instance.

3.

Configure an additional deployment slot in the existing App Service instance.

4.

Configure an App Service Environment (ASE).

Q 50 / 55

Microsoft Azure

Your microservices application includes a logging component that performs a large number of sequentinal writes. Which type of Azure Storage should you use?

1.

Table storage

2.

append blob

3.

page blob

4.

block blob

Q 51 / 55

Microsoft Azure

Group policy objects are not being applied to domain controllers because the Default Domain Controllers and Default Domain group policies are corrupt. What can you run in a command prompt to recover them?

1.

`dcpromo.exe`

2.

`dcgpofix.exe`

3.

`dcdiagfix.exe`

4.

`ntdsutil.exe`

Q 52 / 55

Microsoft Azure

Your JavaScript app hosted in Azure App Service needs to be able to make calls to a remote domain in another Azure region. Which App Service feature do you need to configure?

As described in [Microsoft Docs: Hosting a Restful-API with CORS in AAS](https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-rest-api): The Answer should be CORS (Cross Origin Ressource Sharing)

1.

`CORS`

2.

`deployment slots`

3.

`WebJobs`

4.

`custom domains`

Q 53 / 55

Microsoft Azure

Bindings in Azure Function triggers have a direction property that is always _.

1.

parallel

2.

out

3.

asynchronous

4.

in

Q 54 / 55

Microsoft Azure

You are selecting a cloud messaging solution for your multimedia news app. The app routes news items to the appropriate services for processing and delivery to subscribers. Requirements for the solution are as follows: Events should be routed to the appropriate service to process event; events must be routed to multiple services when necessary; and only relevant events should be routed to a service for processing. Which solution should you use?

1.

Event Grid

2.

Service Bus

3.

Event Hub

4.

Queue Storage

Q 55 / 55