Topic 4, Misc. Questions
You are developing an Azure App Service hosted ASP.NET Core web app to deliver video
on-demand streaming media. You enable an Azure Content Delivery Network (CDN)
Standard for the web endpoint. Customer videos are downloaded from the web app by
using the following example URL.: http://www.contoso.com/content.mp4?quality=1
All media content must expire from the cache after one hour. Customer videos with varying
quality must be delivered to the closest regional point of presence (POP) node.
You need to configure Azure CDN caching rules.
Which options should you use? To answer, select the appropriate options in the answer
area.
NOTE: Each correct selection is worth one point
You have a web app named MainApp. You are developing a triggered App Service
background task by using the WebJobs SDK. This task automatically invokes a function
code whenever any new data is received in a queue.
You need to configure the services.
Which service should you use for each scenario? To answer, drag the appropriate services
to the correct scenarios. Each service 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
You are preparing to deploy an Azure virtual machine (VM) based application. The VMs
that run the application have the following requirements:
• When a VM is provisioned the firewall must be automatically configured before it can
access Azure resources.
• Supporting services must be installed by using an Azure PowerShell script that is stored
in Azure Storage
You need to ensure that the requirements are met.
Which features should you use? To answer, drag the appropriate features to the correct
requirements.
You develop a gateway solution for a public facing news API. The news API back end is
implemented as a RESTful service and uses an OpenAPI specification.
You need to ensure that you can access the news API by using an Azure API Management
service instance.
Which Azure PowerShell command should you run?
A.
Import-AzureRmApiManagementApi –Context $ApiMgmtContext –SpecificationFormat
"Swagger" -SpecificationPath $SwaggerPath –Path $Path
B.
New-AzureRmApiManagementBackend -Context $ApiMgmtContext -Url $Url -Protocol
http
C.
New-AzureRmApiManagement –ResourceGroupName $ResourceGroup –Name
$Name –
Location $Location –Organization $Org –AdminEmail $AdminEmail
D.
New-AzureRmApiManagementBackendProxy –Url $ApiUrl
New-AzureRmApiManagementBackendProxy –Url $ApiUrl
Explanation:
New-AzureRmApiManagementBackendProxy creates a new Backend Proxy Object which
can be piped when creating a new Backend entity.
Example: Create a Backend Proxy In-Memory Object
PS C:\>$secpassword = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -
Force
PS C:\>$proxyCreds = New-Object System.Management.Automation.PSCredential ("foo",
$secpassword)
PS C:\>$credential = New-AzureRmApiManagementBackendProxy -Url
"http://12.168.1.1:8080" -ProxyCredential $proxyCreds
PS C:\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName
"Api-Default-WestUS" -ServiceName "contoso"
PS C:\>$backend = New-AzureRmApiManagementBackend -Context $apimContext -
BackendId 123 -Url 'https://contoso.com/awesomeapi' -Protocol http -Title "first backend" -
SkipCertificateChainValidation $true -Proxy $credential -Description "backend with proxy
server"
Creates a Backend Proxy Object and sets up Backend
You are developing a mobile instant messaging app for a company.
The mobile app must meet the following requirements:
• Support offline data sync.
• Update the latest messages during normal sync cycles.
You need to implement Offline Data Sync.
Which two actions should you perform? Each conn I answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A.
Retrieve records from Offline Data Sync on every call to the PullAsync method.
B.
Retrieve records from Offline Data Sync using an Incremental Sync.
C.
Push records to Offline Data Sync using an Incremental Sync.
D.
Return the updatedAt column from the Mobile Service Backend and implement sorting
by using the column.
E.
Return the updatedAt column from the Mobile Service Backend and implement sorting
by the message id.
Retrieve records from Offline Data Sync using an Incremental Sync.
Return the updatedAt column from the Mobile Service Backend and implement sorting
by the message id.
Explanation:
B: Incremental Sync: the first parameter to the pull operation is a query name that is used
only on the client. If you use a non-null query name, the Azure Mobile SDK performs an
incremental sync. Each time a pull operation returns a set of results, the latest updatedAt
timestamp from that result set is stored in the SDK local system tables. Subsequent pull
operations retrieve only records after that timestamp.
E (not D): To use incremental sync, your server must return meaningful updatedAt values
and must also support sorting by this field. However, since the SDK adds its own sort on
the updatedAt field, you cannot use a pull query that has its own orderBy clause.
References:
https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-offline-datasync
You are developing a project management service by using ASP.NET. The service hosts
conversations, files, to-do lists, and a calendar that users can interact with at any time.
The application uses Azure Search for allowing users to search for keywords in the project
data.
You need to implement code that creates the object which is used to create indexes in the
Azure Search service.
Which two objects should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A.
SearchService
B.
SearchlndexCIient
C.
SearchServiceClient
D.
SearchCredentials
SearchlndexCIient
SearchServiceClient
Explanation:
The various client libraries define classes like Index, Field, and Document, as well as
operations like Indexes.Create and Documents.Search on the SearchServiceClient and
SearchIndexClient classes.
You have an Azure App Services Web App. Azure SQL Database instance. Azure Storage
Account and an Azure Redis Cache instance in a resource group.
A developer must be able to publish code to the web app. You must grant the developer
the Contribute role to the web app
You need to grant the role.
What two commands can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A.
New-AzureRmRoleAssignment
B.
az role assignment create
C.
az role definition create
D.
New-AzureRmRoleDefinition
New-AzureRmRoleAssignment
az role assignment create
Explanation: References:
https://docs.microsoft.com/en-us/cli/azure/role/assignment?view=azure-cli-latest#az-roleassignment-
create
https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/newazurermroleassignment?
view=azurermps-6.13.0
You are developing a medical records document management website. The website is
used to store scanned copies of patient intake forms. If the stored intake forms are
downloaded from storage by a third party, the content of the forms must not be
compromised.
You need to store the intake forms according to the requirements.
Solution:
uk.co.certification.simulator.questionpool.PList@ed016f0
Does the solution meet the goal?
A.
Yes
B.
No
No
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 are developing an Azure solution to collect point-of-sale (POS) device data from 2,000
stores located throughout the world. A single device can produce 2 megabytes (MB) of
data every 24 hours. Each store location has one to five devices that send data.
You must store the device data in Azure Blob storage. Device data must be correlated
based on a device identifier. Additional stores are expected to open in the future.
You need to implement a solution to receive the device data.
Solution: Provision an Azure Event Grid. Configure event filtering to evaluate the device
identifier.
Does the solution meet the goal?
A.
Yes
B.
No
No
Instead use an Azure Service Bus, which is used order processing and financial
transactions.
Note: An event is a lightweight notification of a condition or a state change. Event hubs is
usually used reacting to status changes.
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
You are developing an application that uses Azure Blob storage.
The application must read the transaction logs of all the changes that occur to the blobs
and the blob metadata in the storage account for auditing purposes. The changes must be
in the order in which they occurred, include only create, update, delete, and copy
operations and be retained for compliance reasons.
You need to process the transaction logs asynchronously.
What should you do?
A.
Process all Azure Blob storage events by using Azure Event Grid with a subscriber
Azure Function app.
B.
Enable the change feed on the storage account and process all changes for available
events.
C.
Process all Azure Storage Analytics logs for successful blob events.
D.
Use the Azure Monitor HTTP Data Collector API and scan the request body for
successful blob events.
Enable the change feed on the storage account and process all changes for available
events.
Change feed support in Azure Blob Storage
The purpose of the change feed is to provide transaction logs of all the changes that occur
to the blobs and the blob metadata in your storage account. The change feed provides
ordered, guaranteed, durable, immutable, read-only log of these changes. Client
applications can read these logs at any time, either in streaming or in batch mode. The
change feed enables you to build efficient and scalable solutions that process change
events that occur in your Blob Storage account at a low cost.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-change-feed
Page 6 out of 28 Pages |
Previous |