Free AZ-204 Exam Braindumps

Pass your Developing Solutions for Microsoft Azure exam with these free Questions and Answers

Page 6 of 73
QUESTION 21

- (Exam Topic 8)
You develop software solutions for a mobile delivery service. You are developing a mobile app that users can use to order from a restaurant in their area. The app uses the following workflow:
AZ-204 dumps exhibitOrders are sent to all available drivers in an area.
AZ-204 dumps exhibit Only orders for the selected restaurants will appear for the driver.
AZ-204 dumps exhibit The first driver to accept an order removes it from the list of available orders. You need to implement an Azure Service Bus solution.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
AZ-204 dumps exhibit
Solution:
Box 1: Create a single Service Bus Namespace
To begin using Service Bus messaging entities in Azure, you must first create a namespace with a name that is unique across Azure. A namespace provides a scoping container for addressing Service Bus resources within your application.
Box 2: Create a Service Bus Topic for each restaurant for which a driver can receive messages. Create topics.
Box 3: Create a Service Bus subscription for each restaurant for which a driver can receive orders. Topics can have multiple, independent subscriptions.
Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

QUESTION 22

- (Exam Topic 8)
You ate designing a small app that will receive web requests containing encoded geographic coordinates. Calls to the app will occur infrequently.
Which compute solution should you recommend?

  1. A. Azure Functions
  2. B. Azure App Service
  3. C. Azure Batch
  4. D. Azure API Management

Correct Answer: B

QUESTION 23

- (Exam Topic 8)
You are developing an application to store information about the organizational structure for a company. Users must be able to determine which people report to a particular manager, the office where employees
work, and the projects that are assigned to an employee.
Which Azure Cosmos DB API should you use for the application?

  1. A. Core
  2. B. Cassandra
  3. C. Table API
  4. D. Gremlin
  5. E. MongoDB

Correct Answer: E

QUESTION 24

- (Exam Topic 8)
You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.
A rule already exists to scale up the App Service when the average queue length of unprocessed and valid queue messages is greater than 1000.
You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.
How should you configure the Scale rule? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
AZ-204 dumps exhibit
Solution:
Box 1: Service bus queue
You are developing a back-end Azure App Service that scales based on the number of messages contained in a Service Bus queue.
Box 2: ActiveMessage Count
ActiveMessageCount: Messages in the queue or subscription that are in the active state and ready for delivery. Box 3: Count
Box 4: Less than or equal to
You need to add a new rule that will continuously scale down the App Service as long as the scale up condition is not met.
Box 5: Decrease count by

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

QUESTION 25

- (Exam Topic 8)
You are creating a script that will run a large workload on an Azure Batch pool. Resources will be reused and do not need to be cleaned up after use.
You have the following parameters:
AZ-204 dumps exhibit
You need to write an Azure CLI script that will create the jobs, tasks, and the pool.
In which order should you arrange the commands to develop the solution? To answer, move the appropriate commands from the list of command segments to the answer area and arrange them in the correct order.
AZ-204 dumps exhibit
Solution:
Step 1: az batch pool create
# Create a new Linux pool with a virtual machine configuration. az batch pool create
--id mypool
--vm-size Standard_A1
--target-dedicated 2
--image canonical:ubuntuserver:16.04-LTS
--node-agent-sku-id "batch.node.ubuntu 16.04" Step 2: az batch job create
# Create a new job to encapsulate the tasks that are added. az batch job create
--id myjob
--pool-id mypool
Step 3: az batch task create
# Add tasks to the job. Here the task is a basic shell command. az batch task create
--job-id myjob
--task-id task1
--command-line "/bin/bash -c 'printenv AZ_BATCH_TASK_WORKING_DIR'" Step 4: for i in {1..$numberOfJobs} do
References:
https://docs.microsoft.com/bs-latn-ba/azure/batch/scripts/batch-cli-sample-run-job

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

Page 6 of 73

Post your Comments and Discuss Microsoft AZ-204 exam with other Community members: