PrepAway - Latest Free Exam Questions & Answers

What should you identify?

###BeginCaseStudy###

Testlet 1
General Overview
Adventure Works Cycles is a travel agency for cycling enthusiast. In recent years, Adventure Works Cycles has
begun renting exotic cars to its clients.
You are developing a new web application that will provide Adventure Works Cycle customers with the ability to
locate and rent exotic throughout the world.
Application Overview
The web application will be hosted in Azure. The application will provide users with the ability to search for a car
by using advanced filtering options, such as the car brand, model, year, and price. All of this information will be
stored as strings and will be displayed as drop-down lists.
The brand and model lists that will be displayed on the home page of the web application will be retrieved from
Windows Communication Foundation (WCF) services hosted in the on-premises environment.
The home page will be named home.aspx and will be developed by using Microsoft ASP.NET MVC. The
business logic will be developed by using ASP.NET Web API.
The MVC front-end layer and the Web API will communicate by using JSON. The business logic will have a call
to an assembly named CarBusinessLogic.dll.
For responding, you are creating a worker role named ReportApp in Azure that will collect data from all of the
searches made by using the web application. The application will communicate with ReportApp by using
messages.
Requirements
Security Requirements
Adventure Works Cycles identifies the following security requirements for the web application:
The Web API must only accept one data format.
The CarBusinessLogic.dll assembly must be strongly-named.
Communication between the on-premises WCF service and Azure must be encrypted.
Logging Requirements
In the Web API, you plan to create a controller named CarController. Before any action in CarController is
executed, the following line of code must execute first.
Debug.WriteLine(“pre-processing logging”);
Performance Requirements
Adventure Works Cycles identifies the following performance requirements for the web application:
After the initial deployment, any changes to the business logic of the Web API must cause minimal
downtime to the web application in the production environment.
The action in the Web API that returns the car brand must be asynchronous, while all other actions must be
synchronous.
When home.aspx is displayed,the rendered page must be cached for 10 minutes.
The web application will be deployed to multiple instances.
Financial Requirements
ReportApp will shut down every night. However, data from the searches performed during the night must still be
collected.

###EndCaseStudy###

DRAG DROP
You need to identify the return types for the car year, price, brand and model. The solution must minimize the
number of round trips between the clients and the web servers.
What should you identify? To answer, drag the appropriate return types to the correct objects. Each return type
may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to
view content.
Select and Place:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
Note: A round trip occurs when an object is deserialized and re-serialized in one operation.
From scenario: The application will provide users with the ability to search for a car by using advanced filtering
options, such as the car brand, model, year, and price. All of this information will be stored as strings and will be
displayed as drop-down lists.
The brand and model lists that will be displayed on the home page of the web application will be retrieved from
Windows Communication Foundation (WCF) services hosted in the on-premises environment.
Target 1: Task<String>
Though Performance blocking and Sluggishness are the tailbacks for any application, we can easily overcome
these bottlenecks by using asynchronous programming. But old-style practice for asynchronous programming
is not way easy enou
Target 2: Task<String>
Target 3: String
Target 4: String
https://rashimuddin.wordpress.com/2013/05/07/task-based-asynchronous-operation-in-wcf/Question Set 1

10 Comments on “What should you identify?

  1. saveltje says:

    I think will be used in ASYNC operations like public async Task Get(int id) {}
    We have this rule: The action in the Web API that returns the car brand must be asynchronous, while all other actions must be
    synchronous.
    so I think the corrext answer will be:
    Target 1: Task
    Target 2: String
    Target 3: String
    Target 4: String




    0



    1
    1. null says:

      According to the case study, all of them are lists:

      The application will provide users with the ability to search for a car
      by using advanced filtering options, such as the car brand, model, year, and price. All of this information will be
      stored as strings and will be displayed as drop-down lists.
      The brand and model lists that will be displayed on the home page of the web application will be retrieved from
      Windows Communication Foundation (WCF) services hosted in the on-premises environment.

      Further in the brand list should be async as stated in performance requirements.

      Because of this I think the answer is:
      – Task<List>
      – List
      – List
      – List




      17



      1

Leave a Reply