
az204 prep
Authored by Faith Muwishi
Specialty
Professional Development
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
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.
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
28 questions
49ers
Quiz
•
KG - Professional Dev...
25 questions
Workshop KangguruIPA S1 - Konten Video Edukasi Singkat
Quiz
•
Professional Development
25 questions
Innervation of the Upper Extremity
Quiz
•
Professional Development
25 questions
Radiocomunicaciones Test 1
Quiz
•
Professional Development
25 questions
SWPBIS DeFranco
Quiz
•
Professional Development
28 questions
GBBO Quiz
Quiz
•
Professional Development
29 questions
HCMA 112 Week Two Terminology
Quiz
•
Professional Development
32 questions
UEAP Y1W1 BET
Quiz
•
Professional Development
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Specialty
44 questions
Would you rather...
Quiz
•
Professional Development
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
14 questions
Valentine's Day Trivia!
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development