PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

How should the data source of PassGuideC be defined?

DRAG DROP
There is an ASP.NET Web application PGWapp.
PGWapp gets information from a MS SQL Server database named PassGuideDB.
More specifically PGWapp includes a page PassGuidePage which has control PassGuideC
that is going to access PassGuideDB.
PassGuidePage is used frequently.
The data in PassGuideDB seldom changes.
The collected data is cached to avoid multiple database accesses.
How should the data source of PassGuideC be defined?

How can you enforce that the settings in the web.config is applied wherever PassGuideWS is used?

DRAG DROP
There is a Web Site PassGuideWS.
PassGuideWS is deployed at several physical places.

Each physical place have specific SMTP settings.
The SMTP settings, for each place, is stored in a file PassGuide.config in the Web Site root
folder.
An ASP.NET Web site template is used.
How can you enforce that the settings in the web.config is applied wherever PassGuideWS
is used?

Which event should you use?

There is an ASP.Net application PassGuideApp.
PassGuideApp has a Vehicle class.
The Vehicle class has a property Mileage.
There is a web page PassGuidePage.
With PassGuidePage a list of Vehicle objects are presented in a GridView control.
A row in this control should be displayed with green color if the Milage is greater than 3.
Which event should you use? Select two.