Certification Exam Prep Questions For Developing Solutions for Microsoft Azure AZ -203


QuickStart is now offering assessment questions for Developing Solutions for Microsoft Azure AZ -203. Whether you are deciding which exam to sign up for, or simply want to practice the materials necessary to complete certification for this course, we have provided a practice assessment to better aid in certification. 100% of the questions are real questions; from a recent version of the test you will take for Developing Solutions for Microsoft Azure AZ -203.


Arrow
 

1

You import an API into an API Management (APIM) gateway. You want to limit the number of requests to the API to 4000 calls made to the API every 10 minutes. You need to create an APIM policy statement. Which policy statement should you create?

2

You have a script that issues the following HTTP request: PUT https://com pa ny1.blob.core.windows.net/taxreturns/2019.pdf?comp=lease HTTP/1.1 x-ms-version: 2018-03-28 x-rns-lease-action: acquire x-ms-lease-duration: 60 x-ms-proposed-lease-id: 18f12371-b41f-43e6-a153-e4b542f851c5 x-ms-date: Tue, 12 Mar 2019 10:23:27 GMT Authorization: SharedKey company1:esSLMOYaK4o+xGTuKyeOLBI+xrnqi6aBni E4X1499-Fo= You need to determine what this request does. What should you conclude?

3

You import an API into an API Management (APIM) gateway. You test the API from the Developer Portal and receive the following response: ("statusCode": 401, "message": "Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API.") You do not receive this error when you test the API outside of the Developer Portal. You need to solve this problem. What two tasks should you perform? Each answer presents part of the complete solution.

4

You create a web API by using ASP.NET Core. You plan to host the API in Azure App Services. You want to set a URL in the API Definition property in Azure to specify the Swagger documentation for the API. You need to add a NuGet package to the project that automatically generates the required documentation. Which package should you add?

5

You have the following code: var config = new JobHostConfiguration(); var host = new JobHost(config); host.RunAndBlock(); You need to determine what this code does. What does the code do??

6

An Azure Content Delivery Network (CDN) endpoint named mup exists for an Azure web app hosted at measureup.azurewebsites.net. A file named Training.mpg gets cached at the CDN. You want users to use the cached version if it exists. If not, the file should be retrieved from the web app's server. You need to reference the file on a page in the web app. Which URL should you use?

7

You are analyzing the following Log Analytics query: app("measureup").requests I where timestamp > ago(30m) You need to determine what this query does. What should you conclude?

8

You have the following code: var connectionString = GetAzureSqIDatabaseConnectionString(); var policy = new RetryPolicy(3); using (var connection = new ReliableSqIConnection(connectionString, policy)) { connection.Open(); SqICommand cmd = new Sq1Command("Update Customer Set Active=1", connection); cmd.ExecuteNonQueryWithRetry(): } You need to determine what happens when this code runs and a connectivity error occurs. What should you conclude?

9

You obtain a container image from an online repository. You want to push the image to an Azure Container Registry that is named company1reg. You need to push the image. Which Azure CLI command should you run first?

A. docker build
Incorrect.
B. docker tag
Correct!
C. az acr create
Incorrect.
D. az container create
Incorrect.
10

You create a CloudTable instance named books that represents the books table in an Azure storage account. A book entity is represented by a class named Book. You need to retrieve all entities in the books table. Which code segment should you use?

11

You want to use Event Grid to capture blob storage and Service Bus events. You need to enable your Azure subscription to send events to Event Grid. Which Azure CLI command should you use?

12

You create a backend application that sends push notifications to mobile devices in Spain. You deploy both a production backend application and a test backend application. You want to test push notifications through both backend applications. You want to use Azure Notification Hubs to implement push notifications. You need to determine the minimum number of hubs and namespaces to create. How many namespaces and hubs should you create?

13

You plan to use Azure Cosmos DB to store invoices. Details about each invoice are as follows: * Each invoice has a unique invoice number. This number is an alphanumeric character with a maximum length of 10. * Each invoice has an amount. The amount ranges from a decimal value of 1000 to a decimal value of 10,000. There is no minimum or maximum number defined. * Each invoice is assigned to one project. There are seven projects to which an invoice can be assigned. * Each invoice has a date. Invoice dates are usually the end of the month. There can be any number of invoices that use the same date, but usually there are no more than two. You need to choose an appropriate partition key. Which partition key should you use?

A. Number
Incorrect.
B. Amount
Incorrect.
C. Date
Incorrect.
D. Project
Correct!
14

You deploy a Windows virtual machine (VM) to Azure and enable the system-assigned identity. You want to use Managed Service Identity (MSI) to allow the VM to access the Azure Resource Manager API. You need to perform the task necessary for this to happen. What should you do first?

15

You create a web API and deploy it on your company's network. You want to allow Logic Apps to use this API as a connector. You want this API to initiate a Logic App at regular intervals. You need to define the connector. What should you do?

16

You create an Azure Event Hub. You want to create a console application to retrieve all events from a specific partition. You need to write code to accomplish your goal. What should you do?

17

You deploy an ASP.NET web application to a development server on your company's corporate network. The web application will be accessed by users around the world. You need to capture performance metrics from multiple geographies before you move the application to a production server on the network. What should you do?

18

You have the following code (line numbers are included for reference only): 01 using (Sq1Connection connection = new SqIConnection("name=Azure")) 02 { 03 connection.Open(); 04 SqlCommand command = new SqlCommand(); 05 command.Connection = connection; 06 command.CommandText = "UPDATE Country SET Name = 'UK' WHERE Name='Britain"; 07 08 } You need to insert code at line 07 to retrieve the number of updates that are committed. Which code segment should you use?

19

You create a blob storage account in Azure. You need to add metadata to a container in the account. Which HTTP method should you use?

A. HEAD
Incorrect.
B. GET
Correct!
C. POST
Incorrect.
D. PUT
Incorrect.
20

You have the following code: TelemetryClient client = new TelemetryClient(); client.TrackTrace("This is a test"); You need to view the trace message that is written. What should you do?

21

You have the following code that accesses queue storage: CloudStorageAccount account = CloudStorageAccount.Parse(connectionString); CloudQueueClient client = account.CreateQueueClient(); CloudQueue queue = client.GetQueueReference("orders"); var messages = queue.GetMessages(20, TimeSpan.FromMinutes(5)); You need to determine what happens when this code is run. What should you conclude?

22

You create a blob that is accessible at the following URL: https://company1.blob.core.windows.net/books/azure.pdf You create a snapshot of that blob, and the response returns the following header: x-ms-snapshot: 2019-03-12111:26:09.9360000Z Other changes have been made to the blob, and you want to retrieve the snapshot that you created. You need to retrieve the snapshot. Which URL should you use?

23

You deploy an ASP.NET Core MVC application to Azure App Services. You enable and require Azure A( Directory (AD) authentication for the application. The following code exists: public void ConfigureServices(IServiceCollection services) { services.AddMvc(); services.AddAuthorization(options => { options.AddPolicy("EmployeeOnly", policy => policy.RequireClaim("Employeeld")); } Employees have a claim named Employee in Azure AD. Contractors do not have this claim. You need to ensure that only employees can access a controller class named BenefitsController. Which attribute should you add to the BenefitsController class?

24

You are creating an App Services web app that must authenticate users with Google. The URL of the app is https://mup.azurewebsites.net. You enable App Service Authentication in the Azure Portal. You need to specify the redirect URL when you register your app with Google. Which URL should you specify?

25

You create a web API and deploy it to Azure App Services. The API is available at http://mupwebapi.azurewebsites.net. The API will be consumed by a website at http://www.mupweb.local. You need to prevent the following error from being displayed when a user browses the website: No 'Access-Control-Allow-Origin' header is present on the requested resource. Which command should you run?

A. az webapp update
Incorrect.
B. az resource update
Correct!
C. az webapp config
Incorrect.
D. az resource tag
Incorrect.
26

You create an Azure Search index that stores properties. You have the following code, where client is an instance of SearchlndexClient: SearchParameters parameters = new SearchParameters() { Filter="baths gt 3", Selectrnewrld", "Description"} }; var results = client. Documents.Search("motel", parameters): You need to determine what this code does. What should you conclude?

27

You want to send a message to an Event Hubs hub named services in a namespace named measureup. You have the following code: var builder = new StringBuilder(); var connectionString = builder.Append(connectionString); var sharedAccessKeylnfo = "SharedAccessKeyNamerRootKey;SharedAccessKey=xxxxxx": builder.Append(sharedAccessKeyInfo): var client = EventHubClient.CreateFromConnectionString(builder.ToString()); You need to set the connectionString variable. Which value should

28

You create a web API by using Visual Studio. You add a reference to the Swashbuckle.AspNetCore Nuget package. You want developers to be able to access the API documentation at http://mupwebapi.azurewebsites.net/swagger/docs/v1. You need to write the appropriate code in the ConfigureServices method. Which code segment should you use?

29

You have the following code: NotificationHubClient hub = new NotificationHubClient(connectionString, "updateHub"); Dictionary dictionary = new Dictionary({"message", "Update available")): hub.SendTemplateNotificationAsync(dictionary); You need to determine what this code does. What should you conclude?

30

You create an Azure Function app. You enable Application Insights for the app. You need to have the app send verbose telemetry data to Application Insights. Which two tasks should you perform? Each answer presents part of the complete solution.

PDP Url

AZ -203 Sample Question - Developing Solutions for Microsoft Azure


Self-Paced

Learning Style

Beginner

Difficulty

1 Hour

Course Duration

Certificate

See Sample

Buy Individually
About Individual Course:
  • Individual course plan gives you access to this course
$109.00
$109.00
/ Each

Outline

More Information

More Information
Lab Access No
Learning Style Self-Paced Learning
Difficulty Beginner
Course Duration 1 Hour
Language English

Reviews

Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Contact A Learning Consultant


click here