
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
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
ASBESTOS: DON’T BE AN EASY TARGET
Quiz
•
Professional Development
25 questions
Be Internet Awesome Pre-test
Quiz
•
Professional Development
25 questions
HCMA 110 week 3 review
Quiz
•
Professional Development
25 questions
Tarot- Zodiac-The big quiz on symbols-
Quiz
•
University - Professi...
25 questions
ISM Code - OHM
Quiz
•
Professional Development
27 questions
UEAP Year 1 Electrical Systems
Quiz
•
Professional Development
27 questions
ATR 72-600 (Hydraulics)
Quiz
•
Professional Development
30 questions
Loch Quiz-Ness
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Specialty
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
