PrepAway - Latest Free Exam Questions & Answers

Category: Uncategorized

Which method of the EntityCommand type should you use?

You are developing an ASP.NET MVC application. The application has a page that searches for and displays
an image stored in a database. Members of the EntityClient namespace are used to access an ADO.NET Entity
Framework data model. Images and associated metadata are stored in a database table.
You need to run a query that returns only the image while minimizing the amount of data that is transmitted.
Which method of the EntityCommand type should you use?

Which CommandBehavior type should you use?

You are developing an ASP.NET MVC application that displays a report. The report includes large images that
are stored in a database. Members of the EntityClient namespace are used to access the database through the
ADO.NET Entity Framework data model. You need to prevent memory exceptions while generating a report
using the EntityDataRcader type.
Which CommandBehavior type should you use?

How many upgrade domains should you use?

You are developing a Microsoft Azure web application. The application will be deployed to 10 web role
instances. A minimum of 8 running instances is needed to meet scaling requirements.
You need to configure the application so that upgrades are performed as quickly as possible, but do not violate
scaling requirements.
How many upgrade domains should you use?

Which code segment should you use?

You are developing an ASP.NET MVC application. The application is an order processing system that uses the
ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays
all orders along with customer information. Lazy loading has been disabled.
The Order class is shown below.

You need to return the orders and customer information in a single round trip to the database.
Which code segment should you use?

Which message pattern should you choose?

You are developing a WCF service that compares several data sources. The service takes a long time to
complete.
The service must meet the following requirements:
The client must be able to continue processing while the service is running.
The service must initiate communication with the client application when processing is complete.
You need to choose a message pattern to meet the requirements.
Which message pattern should you choose?


Page 40 of 197« First...102030...3839404142...506070...Last »