A company is developing a Java web app. The web app code is hosted in a GitHub repository located at https://github.com/Contoso/webapp.The web app must be evaluated before it is moved to production. You must deploy the initial code release to a deployment slot named staging.You need to create the web app and deploy the code.How should you complete the commands? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.

az204 prep

Quiz
•
Specialty
•
Professional Development
•
Hard

Faith Muwishi
Used 18+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Box 1: group
Box 2: appservice plan
Box 3: webapp
Box 4: webapp deployment slot
Box 5: webapp deployment source
Box 1: webapp
Box 2: group
Box 3: app service plan
Box 4: webapp deployment slot
Box 5: webapp deployment source
Box 1: webapp
Box 2: group
Box 3: app service plan
Box 4: webapp deployment slot
Box 5: webapp
Box 1: webapp
Box 2: group
Box 3: app service plan
Box 4: webapp deployment slot
Box 5: app service plan
Answer explanation
Box 1: group -# Create a resource group.az group create --location westeurope --name myResourceGroup
Box 2: appservice plan -# Create an App Service plan in STANDARD tier (minimum required by deployment slots). az appservice plan create --name $webappname --resource-group myResourceGroup --sku S1
Box 3: webapp -# Create a web app.az webapp create --name $webappname --resource-group myResourceGroup \--plan $webappname
Box 4: webapp deployment slot -#Create a deployment slot with the name "staging".az webapp deployment slot create --name $webappname --resource-group myResourceGroup \--slot staging
Box 5: webapp deployment source -# Deploy sample code to "staging" slot from GitHub.az webapp deployment source config --name $webappname --resource-group myResourceGroup \--slot staging --repo-url $gitrepo --branch master --manual-integrationReference:https://docs.microsoft.com/en-us/azure/app-service/scripts/cli-deploy-staging-environment
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You have a web service that is used to pay for food deliveries. The web service uses Azure Cosmos DB as the data store.You plan to add a new feature that allows users to set a tip amount. The new feature requires that a property named tip on the document in Cosmos DB must be present and contain a numeric value.There are many existing websites and mobile apps that use the web service that will not be updated to set the tip property for some time.How should you complete the trigger?NOTE: Each correct selection is worth one point
Box1:_.value();
Box2:if(isNan(i)["tip"]||i["tip"]===null){
Box3:r.setValue(i);
Box1:getContext().getRequest();
Box2:if(isNan(i)["tip"]||i["tip"]===null){
Box3:r.setBody(i);
Box1:getContext().getResponse();
Box2:if(isNan(i)["tip"]||i["tip"]===null){
Box3:_upsertDocument(i);
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.The app continues to time out after four minutes. The app must process the blob data.You need to ensure the app does not time out and processes the blob data.Solution: Use the Durable Function async pattern to process the blob data.Does the solution meet the goal?
Yes
No
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.The app continues to time out after four minutes. The app must process the blob data.You need to ensure the app does not time out and processes the blob data.Solution: Pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function and return an immediate HTTP success response.Does the solution meet the goal?
Yes
NO
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You develop an HTTP triggered Azure Function app to process Azure Storage blob data. The app is triggered using an output binding on the blob.The app continues to time out after four minutes. The app must process the blob data.You need to ensure the app does not time out and processes the blob data.Solution: Configure the app to use an App Service hosting plan and enable the Always On setting.Does the solution meet the goal?
YES
NO
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
You develop a software as a service (SaaS) offering to manage photographs. Users upload photos to a web service which then stores the photos in AzureStorage Blob storage. The storage account type is General-purpose V2.When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.You need to design the process that starts the photo processing.Solution: Move photo processing to an Azure Function triggered from the blob upload.Does the solution meet the goal?
YES
NO
Answer explanation
Azure Storage events allow applications to react to events. Common Blob storage event scenarios include image or video processing, search indexing, or any file- oriented workflow.Events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your own http listener.Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration. Storage (general purpose v1) does not support integration with Event Grid.Reference:https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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?
Process all Azure Blob storage events by using Azure Event Grid with a subscriber Azure Function app.
Enable the change feed on the storage account and process all changes for available events
Process all Azure Storage Analytics logs for successful blob events.
Use the Azure Monitor HTTP Data Collector API and scan the request body for successful blob events.
Answer explanation
Change feed support in Azure Blob StorageThe 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
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Excel Quiz

Quiz
•
Professional Development
25 questions
SEP.2024

Quiz
•
Professional Development
28 questions
Az204 prep2

Quiz
•
Professional Development
25 questions
HCMA 110 week 3 review

Quiz
•
Professional Development
28 questions
PK MULTIFLO

Quiz
•
Professional Development
30 questions
The World one

Quiz
•
Professional Development
25 questions
Review 3

Quiz
•
Professional Development
25 questions
Exam Practice 5

Quiz
•
Professional Development
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade