answers
A website is expected to experience high traffic volumes after it
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
is published in Azure. It has the following requirements:
|\ |\ |\ |\ |\ |\ |\ |\
The website remains available and responsive.
|\ |\ |\ |\ |\
The cost is minimized.
|\ |\ |\
It is easy to manage.
|\ |\ |\ |\
The resource should be configured to automatically scale when
|\ |\ |\ |\ |\ |\ |\ |\ |\
the CPU load is high.
|\ |\ |\ |\
Which option should be used?
|\ |\ |\ |\
Deploying the website to an App Service that uses the standard
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
service tier |\
Which log level in Azure Service App will result in the lowest
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
volume of logs? |\ |\
Error
An Azure administrator needs to view the logs for an Azure App
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Service application in near-real time.Which Azure CLI command
|\ |\ |\ |\ |\ |\ |\ |\
should this administrator use?
|\ |\ |\
az webapp log tail
|\ |\ |\
,Which folder contains web server logs in W3C extended log
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
format for a website hosted on Azure App Service?
|\ |\ |\ |\ |\ |\ |\ |\
/LogFiles/http/RawLogs
Which two transfer protocols are supported when uploading code
|\ |\ |\ |\ |\ |\ |\ |\ |\
to an Azure App Service web app?
|\ |\ |\ |\ |\ |\
FTP & FTPS |\ |\
A developer needs to create an Azure Functions app named
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
ResizeImage. This app will be triggered when an image is |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
uploaded to the image container in the Blob storage. The app
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
then resizes the image to create thumbnails.
|\ |\ |\ |\ |\ |\
[FunctionName("ResizeImage")]public static void |\ |\ |\
Run([BlobTrigger("images/{name}")] Stream image, |\ |\
[Blob("thumbnails/{name}", FileAccess.Write)] Stream |\ |\ |\
imageSmall){}
An Azure Function App code is written in C#, with SQL Server
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
binding:
An Azure Function App code is written in C#, with SQL Server
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
binding:public static class |\ |\ |\
SqlFunction1{[FunctionName("SqlFunction1")]public static |\ |\
IActionResult Run([HttpTrigger(AuthorizationLevel.Function, "get", |\ |\ |\
Route = "addtodo")] HttpRequest req,ILogger log,
|\ |\ |\ |\ |\
[Sql("dbo.Product", ConnectionStringSetting = |\ |\
"SqlConnectionString")] out Product newProduct){// code
|\ |\ |\ |\ |\ |\
removed}}
,What does this function do with respect to the Product table in an
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
SQL Server database?
|\ |\ |\
Writes one record |\ |\
A software application running on Azure needs to implement
|\ |\ |\ |\ |\ |\ |\ |\ |\
stateful serverless custom code using C# and integrate with
|\ |\ |\ |\ |\ |\ |\ |\ |\
Azure Blob Storage.
|\ |\
Which Azure service should be used?
|\ |\ |\ |\ |\
Azure Durable Functions
|\ |\
A custom handler is defined by configuring the host.json file with
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
details on how to run the web server via the customHandler
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
section.
{
"version": "2.0", |\
"customHandler": { |\
"description": { |\
"defaultExecutablePath": "app/handler.exe", |\
"arguments": [ |\
"--database-connectionstring",
"%DATABASE_CONNECTION_STRING%"
],"
<key>": "app" |\
}
}
}Which <key> will complete this host.json file?
|\ |\ |\ |\ |\ |\
workingDirectory
, A developer wants an Azure Functions handler to work directly
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
with the webhook request and response instead of the custom
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
handler request and response payloads for webhook-triggered
|\ |\ |\ |\ |\ |\ |\
functions with no additional bindings or outputs.
|\ |\ |\ |\ |\ |\
Which setting should the developer use to configure this in a
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
host.json file? |\
enableForwardingHttpRequest
An Azure Resource Manager (ARM) template for deploying
|\ |\ |\ |\ |\ |\ |\ |\
resources includes a storage account. The users of the template
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
need to specify an environment-specific storage account when
|\ |\ |\ |\ |\ |\ |\ |\
scripting different environments.
|\ |\
Which ARM template section should be used to provide this
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
environment-specific configuration? |\
Parameters
Which resource provider is used in an Azure Resource Manager
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\
(ARM) template to deploy a virtual machine?
|\ |\ |\ |\ |\ |\
Microsoft.Compute
Which data format is used to define the contents of an Azure
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
Resource Manager (ARM) template? |\ |\ |\
JSON
Which command should be used to mount an Azure file share as
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\
a persistent data volume for Azure Container Instances
|\ |\ |\ |\ |\ |\ |\ |\
containers?