22
Microsoft.Realtests.98-363.v2014-08-23.by.ERICA.50q Number : 98-363 Passing Score : 800 Time Limit : 120 min File Version : 26.5 MICROSOFT 98-363 EXAM QUESTIONS & ANSWERS Exam Name: Web Development Fundamentals

MTA WebDevlopmentCourse

Embed Size (px)

DESCRIPTION

WebDevlopmentCourse 40363

Citation preview

  • Microsoft.Realtests.98-363.v2014-08-23.by.ERICA.50q

    Number: 98-363Passing Score: 800Time Limit: 120 minFile Version: 26.5

    MICROSOFT 98-363 EXAM QUESTIONS & ANSWERS

    Exam Name: Web Development Fundamentals

  • Exam A

    QUESTION 1You work as a Web developer for ABC.com. You need to implement a page event that fires after the event-handling process.

    Which page event should you use?

    A. The LoadComplete event would be raised.

    B. The Trace.axd event would be raised.

    C. The OnEnd event would be raised.

    D. The InitComplete event would be raised.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: The LoadComplete event is raised when all postback data and view-state data is loaded into thepage after the OnLoad method is used to invoke all controls of the page.

    QUESTION 2How would you enable debugging diagnostics and tracing on a Web application.

    Which administrative action or actions enables tracing? (Choose TWO.)

    A. You should consider modification of the Web.config file or create a new file in the root utilizing XML code ifno Web.config file exists.You should additionally set the envled attribute to true in the trace element.

    B. You should consider the addition of a trace element as a child of the system.web element after which atrace element PageOutput attribute is set to true.

    C. You should consider making changes to the HOSTS file of network users.

    D. You should consider creating a file in the root folder utilizing XML code to implement tracing.

    Correct Answer: ABSection: (none)Explanation

    Explanation/Reference:Explanation: You should note that Tracing is a feature in ASP.NET that can be utilized to allow developers toview diagnostic information about a single request for an ASP.NET page. You should additionally note that beconfiguring tracing developers are allowed to write debug statements directly in the code.

    QUESTION 3You work for a Web solution development company named ABC.com. ABC.com wants you to develop aScriptManager solution for retrieving the ScriptReferenceCollection object rendered to the website visitor.

    Which ScriptManager properties should be utilized?

    A. The ScriptManager.Scripts property would be utilized.

    B. The ScriptManager.Events property would be utilized.

    C. The ScriptManager.Handler property would be utilized.

    D. The ScriptManager.Solution property would be utilized.

    Correct Answer: ASection: (none)

  • Explanation

    Explanation/Reference:Explanation: The ScriptManager.Scripts property is utilized to returns an object part of a collection ofScriptReference objects which in fact each represents a script file. You should additionally note that all thescript files that ASP.NET needed for AJAX functionality, and to custom script files are referenced.

    QUESTION 4You work for a Web solution development company named ABC.com. You need to identify the state utilized byapplications when Web Servers are utilized to store information the website visitor views.

    Which state would be utilized server-side?

    A. You should consider utilization of the Application state.

    B. You should consider utilization of the DataReader object.

    C. You should consider utilization of the DataBinder class.

    D. You should consider utilization of the System state.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: You should note that utilization of the application state is in fact a server-side technique for storageof data. The Application state is a collection of user-defined variables which are shared by the ASP.NETapplication.

    QUESTION 5You work for a Web solution development company named ABC.com. You need to identify the file type utilizedfor configuration settings of deployed ASP.NET applications.

    Which file type should be used?

    A. The settings are stored in XML files.

    B. The settings are stored in Shtml files.

    C. The settings are stored in the Hosts file.

    D. The settings are stored in the .aspx file.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note that XML files would be utilized when settings are stored during thedeployment of ASP.NET applications.

    QUESTION 6You work for a Web solution development company named ABC.com. You need to develop a strategy tofacilitate the creation of Common Language Runtime (CLR) programmed user-defined functions for Webapplications.

    Which deployment methodology should be considered?

    A. You should consider utilization of the DataBinder class.

    B. You should consider utilization of an Assembly.

    C. You should consider utilization of a DataReader.

  • D. You should consider utilizing the TemplateControl class.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note that utilization of Assemblies allows the developers to create external,user-defined functions using any common language runtime (CLR) language. Assemblies allows thedevelopers to utilize either Microsoft Visual Basic .NET or Microsoft Visual C# as well as the ability to extendthe business functionality of DMX and MDX.

  • Exam B

    QUESTION 1You work for a Web solution development company named ABC.com. ABC.com recently instructed you todevelop an ASP.NET Web application which runs on a Network Load Balancing (NLB) cluster and utilizes .NETframework.

    During the course of bug testing you discover certain configuration settings applied causes unexpectedtermination of the application. You are required to determine which settings fire the unexpected termination ofthe application.

    Which of the administrative actions should be taken?

    A. You should consider utilization of SqlDataSources.

    B. You should consider utilizing Language Integrated Queries.

    C. You should consider utilization of Web controls.

    D. You should consider utilizing

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: The utilization of the configuration settings helps developes discoverwhat causes the unanticipated error. Developers should additionally note the element of theWeb.config file is utilized for providing information about custom error messages for ASP.NET applications andadditionally can be utilized to specify whether custom errors are enabled, disabled or shown to the remotenetwork clients.

    QUESTIO NO: 22You work for a Web solution development company named ABC.com. You need to identify the componentutilized for native data querying to .NET languages utilized by application developers.

    Which .NET Framework component should be utilized?

    A.You should consider utilization of the DataBinder class. B.You should consider utilization of LanguageIntegrated Query (LINQ). C.You should consider modification of the Web.config file.D.You should consider utilization of a DataReader.

    Answer: BDevelopers should note that Language Integrated Query (LINQ) is a Microsoft .NET Framework componentwhich can be utilizes since Language Integrated Query (LINQ) adds native data querying capabilities to .NETlanguages.

    QUESTION 2Which of the following statements regarding the utilization of client-side and server-side scripting operations areTRUE? (Choose ALL that apply)

    A. Imagemap is utilized to invoke a cgi.bin program for server side scripts but clients don't need the cgi.bin tofunction.Additionally client-side scripts can be blocked by users but not server-side scripts.

    B. Client-side scripts are computer browser specific.

    C. Server side scripts are browser type specific to certain clients.

    D. PHP is utilized as a server side script and ActionScript is utilized client-side.

    Correct Answer: ADSection: (none)Explanation

  • Explanation/Reference:Explanation: Developers should be aware that Client-side and server-side scripts run when an http request ismade from the client computer and the response is given by the server.

    QUESTION 3You work for a Web solution development company named ABC.com. You need to identify the error messagereceived below with the appropriate HTTP status code:

    "Request URL Too Long" client error"

    Which of the error codes below would be raised?

    A. You should consider utilizing HTTP status code 203 in the application.

    B. You should consider utilizing HTTP status code 505 in the application.

    C. You should consider utilizing HTTP status code 509 in the application.

    D. You should consider utilizing HTTP status code 414 in the application.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note that the 414 HTTP code represents the "Request URI Too Long" clienterror as well as several other http errors.

    QUESTION 4You work for a Web solution development company named ABC.com. You need to identify the files whichshould be utilized for system wide computer and Web settings helping reduction of compilation modifications.

    Which of the configuration files should be utilized? (Choose two)

    A. You should consider utilization of the App.config file.

    B. You should consider utilization of the Web.config file.

    C. You should consider utilization of the Machine.config file.

    D. You should consider utilization of the Common.config file.

    E. You should consider utilization of the PolicyCache.config file.

    Correct Answer: BCSection: (none)Explanation

    Explanation/Reference:Explanation: The Web.config and Machine.config files are utilized by developed applications to identify systemspecific information thereby reducing compilation changes. The Web.config file has the main settings forASP.NET Web applications since Web.config controls module loading, security and session state configurationas well as application language and compilation settings. Developers should note that Web.config may containapplication specific items like database connection strings.

    QUESTION 5You need to implement a data class solution for retrieval of information from data sources and resolving ofmodifications to information contained in DataSet to data source.

    Which class should be utilized?

    A. You should consider utilization of the DataBinder class.

    B. You should consider utilization of the Web controls class.

  • C. You should consider utilization of the TemplateControl class.

    D. You should consider utilization of the DataAdapter class.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: ADO.NET application developers should note that the DataAdapter in ADO.NET functions isutilized to function as a bridge between data sources and disconnected data classes. You should note that theDataAdapter is also utilized to specify SQL commands for providing elementary CRUD functionality.

    QUESTION 6You work for a Web solution development company named ABC.com. ABC.com hires new trainees whorequested you determine which location contains reference files, schemas and discovery documents utilized byWeb application.

    Which of the folders listed contains the information?

    A. The App_WebReferences folder.

    B. The C:\Windows\Syswow64 folder.

    C. The C:\Windows\System32 folder.

    D. The C:\Windows\Inf folder.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: ADO.NET developers should note that the App_WebReferences folder is utilized for containingreference contract (.wsdl), Shcemas (.xsd) and discovery document files (.disco and .discomap) .App_WebReferences folder defines a Web reference for files utilized in the application.

    QUESTION 7You work as an ADO.NET Application developer for ABC.com. ABC.com wants you to identify the in-memorycache data source used for relation to other objects of the Web application.

    Which of the classes listed below should be utilized?

    A. You should consider utilization of the TemplateControl class.

    B. You should consider utilization of the DataSet class.

    C. You should consider utilization of the Web Controls class.

    D. You should consider utilization of the Data Template class.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: ADO.net application developers should note that a DataSet is a memory-resident representation ofdata utilized for represents related tables, constraints, and relationships among the tables. You shouldadditionally note that DataSet's reads and writes data and schema as XML documents and is actually an in-memory cache of data retrieved from a data source.

    QUESTION 8You work for a Web solution development company named ABC.com. ABC.com wants you to implement aClickOnce deployment strategy selecting the proper media to utilize.

  • Which of the options below should be considered for use when deploying the application?

    A. You should consider publishing the application to a network share.

    B. You should consider storing the application on a removable USB disk drive.

    C. You should consider publishing the application to a Web share.

    D. You should consider utilizing a CD to install, Web or network share to start the application or installation ofthe application via Web server or network share.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: The deployment methods which can be utilized for ClickOnce deployments are CD installation,start of the application from the network share and Web share and installation of the application from thenetwork share and Web share.

    QUESTION 9You work for a Web solution development company named ABC.com. ABC.com needs you to develop anapplication which utilizes ASP.NET web controls for connections to data sources.

    Which of the options below should be utilized?

    A. You should consider utilization of the DataAdapters.

    B. You should consider utilization of the Web controls class.

    C. You should consider utilization of the DataBinding class.

    D. You should consider utilization of the TemplateControl class.

    Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: The DataBinding class allows ADO.NET application developers to establish connection betweenASP.NET web page control and a data source. The DataBinding class utilized the application UI and businesslogic would be used.

    QUESTION 10You work for a Web solution development company named ABC.com. You need to identify the methodologyutilized by developers for error handling events in applications.

    Which administrative action should be taken?

    A. You should consider utilization of a Exception handler.

    B. You should consider utilizing a DataReader.

    C. You should consider utilization of the DataBinder class.

    D. You should consider utilization of the Windows Event Viewer Error log.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note that exception handlers may be utilized for capturing exceptions and try tofix, report or ignore the problem. Developers should additionally note that the exception handler is an element

  • which allows the handler to specify which body to execute if exceptions occur.

    QUESTION 11You work for a Web solution development company named ABC.com. You need to identify the file responsiblefor maintaining configuration settings of a personal computer.

    Which of the configuration controls files would be utilized?

    A. You should consider utilization of the App.config file.

    B. You should consider utilization of the Web.config file.

    C. You should consider utilization of the Machine.config file.

    D. You should consider utilization of the Common.config file.

    E. You should consider utilization of the PolicyCache.config file.

    Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: The Machine.config file is utilized by the computers to controls the configuration settings for theentire computer like the built-in remoting channels and assembly binding system- wide. Developers shouldadditionally note the Machine.config file also utilizes ASP.NET configuration settings by searching for APIs andASP.NET settings.

    QUESTION 12You work for a Web solution development company named ABC.com. You need to identify the MicrosoftWindows feature extension modules of Microsoft products which utilize Apache HTTP Server.

    Which of the features listed below would be utilized?

    A. You should consider configuration of BLOB cache.

    B. You should consider utilization of a Windows Installer patches.

    C. You should consider utilization of DataBinding.

    D. You should consider utilization of Microsoft Internet Information Services (IIS).

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: ADO.NET application developers utilize Internet Information Services (IIS) since InternetInformation Services (IIS) provides a set of feature extension modules created by Microsoft for use withMicrosoft Windows.

  • Exam C

    QUESTION 1You work for a Web solution development company named ABC.com. ABC.com wants you to create anapplication which allows tracking a website visitor's interactive web session.

    Which of the tracking elements should be utilized by the application?

    A. You should consider utilization of the enabled element.

    B. You should consider utilization of the disabled element.

    C. You should consider utilization of the DomainOnly element.

    D. You should consider utilization of the readToDiagnosticsTrace element.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: ADO.NET developers should note that the Trace.axd viewer requires the enable tracing element to function. The enabled attribute of the trace element is considered an optional Booleanattribute.

    QUESTION 2You work for a Web solution development company named ABC.com. You need to implement a method that isutilized for connections between business logic and user interface of a Web application.

    Which of the following can be utilized?

    A. You should consider utilization of Data binding.

    B. You should consider utilization of the TemplateControl class.

    C. You should consider utilization of the connection pool.

    D. You should consider utilization of the application pool.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: The DataBinding class allows ADO.NET application developers to establish connection betweenASP.NET web page control and a data source. The DataBinding class utilized the application UI and businesslogic would be used.

    QUESTION 3You work for a Web solution development company named ABC.com. ABC.com plans development of anapplication which passes information to data bound controls.

    Which of the classes listed below is used as a business object?

    A. You should consider utilization of the TemplateControl class.

    B. You should consider utilization of the DataReader class.

    C. You should consider utilization of the DataBinder class.

    D. You should consider utilization of the ObjectDataSource class.

    Correct Answer: DSection: (none)Explanation

  • Explanation/Reference:Explanation: ADO.NET application developers should note that the ObjectDataSource class is used torepresent a business object and allows data to data-bound controls in multi-tier Web applications. Utilization ofthe ObjectDataSource class means developers would be able to utilize ASP.NET data source control whilstretaining the three-tier application architecture.

    QUESTION 4Which of the following statements regarding the utilization of usage of an MSI deployment are TRUE?

    A. MSI deployments are performed via a Web share.

    B. MSI deployments are performed via a network share.

    C. MSI deployments are published to both Web shares and a network shares.

    D. MSI deployments create a Microsoft Installer package with instructions and data required to install theapplication.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: ADO.NET application developers should be aware that a Windows Installer is a Windowscomponent that can be utilized to help install, update, and uninstall programs. Windows Installer supports a fileformat with an .MSI extension.

    QUESTION 5You work for a Web solution development company named ABC.com. You need to determine which featureallows web applications with cached database connections to reuse the existing connections.

    Which of the features should be considered?

    A. You should consider utilization of a Connection pool.

    B. You should consider utilization of an Application pool.

    C. You should consider configuration of BLOB cache.

    D. You should consider utilization of Connection objects and Microsoft Internet Information Services (IIS).

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Developers of Web applications should note that the connection manager is responsible formaintaining a pool of available connections. The developers should additionally beware that Connection poolingis the process of reusing existing active connections instead of creating new connections.

    QUESTION 6You work for a Web solution development company named ABC.com. You need to determine which feature toutilize for controlling the way information is displayed on web age visited by visitors.

    Which of the features should be utilized?

    A. The application would utilize connection pools.

    B. An application pool would be utilized.

    C. The application would utilize CSS style sheets.

    D. The application would utilize a combination of XML and HTML.

  • Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of ADO.NET applications should note that Cascading Style Sheets (CSS)is a style sheet language used which is utilized by developers and writers od applications for describe thepresentation of a document written in a markup language. Cascading Style Sheet (CSS) can be utilized withHTML and XHTML as well as be applied to any kind of XML document, including SVG and XUL formats.

    QUESTION 7You work for a Web solution development company named ABC.com. You need to implement a strategy forreview the newly developed Web applications page life cycle.

    Which of the methods below should be considered?

    A. You should consider utilization of an application pool and Global.asax.

    B. You should consider utilization of a connection pool with Trace.axd.

    C. You should consider utilization of the AutoEventWireup method.

    D. You should consider utilization of the Global.asax and Trace.axd files.

    Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers should note that the AutoEventWireup attribute is derived from the @Page directive and is utilized to determine if the ASP.NET events are autowired using methods like Page_Init()and Page_Load(), with the page events.

    QUESTION 8Which of the following statements regarding the utilization of Asynchronous Javascript and XML (AJAX) areTRUE? (Choose two)

    A. AJAX does not support synchronous data retrieval and is secure.

    B. AJAX utilizes DOM for interaction with pages and supports data interchange between XML and XSLT.

    C. AJAX supports asynchronous data retrieval and is unsecure.

    D. AJAX supports CSS and HTML standards-based representation as well as support synchronous dataretrieval with XMLHttpRequest.

    Correct Answer: BDSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers know that creating interactive Web applications require using HTML, CSS,DOM, XSLT, XML, Java script and XMLHttpRequest which is achieved by utilization of AsynchronousJavascript and XML (AJAX).

    QUESTION 9You work for a Web solution development company named ABC.com. You need identify the feature utilize forcustomization of web page layouts, border as well as color utilized when accessed by visitors.

    Which of the features should be utilized?

    A. You should consider utilization of a DataAdapter.

    B. You should consider utilization of Cascading Style Sheets (CSS).

  • C. You should consider utilization of Bind controls.

    D. You should consider utilization of DataReaders with Tables.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of ADO.NET applications should note that Cascading Style Sheets (CSS)is a style sheet language used which is utilized by developers and writers of applications for describe thepresentation of a document written in a markup language. Cascading Style Sheet (CSS) can be utilized withHTML and XHTML as well as be applied to any kind of XML document, including SVG and XUL formats.

    QUESTION 10You work for a Web solution development company named ABC.com. You need to develop an application fornetwork users which utilized Asynchronous Javascript and XML (AJAX) features and operate with ASP.NET.

    Which of the features registers the scripts utilized with Microsoft Asynchronous Javascript and XML (AJAX)library?

    A. You should consider utilization of the ScriptManager control.

    B. You should consider utilization of Validation controls.

    C. You should consider utilization of DataAdapters with UpdatePanel.

    D. You should consider utilization of DataReaders with Timer controls.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of applications should note that the ScriptManager control is utilized inapplications to enable AJAX functionality for ASP.NET and handles all ASP.NET AJAX resources on a pageincluding the download of the Microsoft AJAX Library script to browser and managing partial-page updates byenabling UpdatePanel.

  • Exam D

    QUESTION 1You work for a Web solution development company named ABC.com. You need to identify the feature utilizedwith built-in ASP.NET functionality providing website visitors a more interactive experience.

    Which of the features should be utilized?

    A. You should consider utilization of AJAX Extender controls.

    B. You should consider utilization of BLOB cache for the application.

    C. You should consider utilization of DataBind controls in the application.

    D. You should consider utilization of TemplateControl classes in the application.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of applications should note that AJAX extender controls may be utilized forenhancement of client capabilities of ASP.NET Web server controls standards. The AJAC extender controlsallows users to target standard controls like TextBox, Button and Panel controls by using the extender controlsto provide a richer user experience in the browser.

    QUESTION 2You work for a Web solution development company named ABC.com. You need to identify the methodologyutilized for creating a model utilizing only a single assembly.

    Which of the features should be utilized?

    A. You should consider utilization of a Web Application Project.

    B. You should consider utilization of the TemplateControl class with assemblies.

    C. You should consider utilization of DataReaders with Global Assembly Cache (GAC).

    D. You should consider utilization of Data Binding controls with web setup projects.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of ADO.NET applications should note that a Web application project maybe utilized as an alternate Web site project since the Web Application Project allows creation of a singleassembly for the entire project by utilizing a build model.

    QUESTION 3You work for a Web solution development company named ABC.com. You are required to identify theappropriate data source utilized for displaying hierarchical and tabular data using a Graphical User Interface(GUI) based data source classes.

    Which of the options should be considered for the application?

    A. You should consider configuring and enabling BLOB cache for the application.

    B. You should consider utilization of DataReaders with LinqDataSource.

    C. You should consider utilization of XmlDataSource with SqlDataSource.

    D. You should consider utilization of Bind controls with SqlDataSource.

    Correct Answer: C

  • Section: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of applications should note that utilizing the XmlDataSource class allowsthe developers and writers to provide XML data source to data-bound controls as well as utilization by data-bound controls for exhibiting hierarchical and tabular data.

    QUESTION 4You work for a Web solution development company named ABC.com. You are required to identify theappropriate data source utilized for declarative data-binding.

    Which of the sources should be utilized when utilizing declarative data-binding against a range of specified datastores?

    A. You should consider utilization of DataReaders with SqlDataSource.

    B. You should consider configuring and enabling BLOB cache for the application.

    C. You should consider utilization of XmlDataSource.

    D. You should consider utilization of Data bind controls with LinqDataSource.

    Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and writers of applications should note that utilizing the XmlDataSource class allowsthe developers and writers to provide XML data source to data-bound controls as well as utilization by data-bound controls for exhibiting hierarchical and tabular data.

    QUESTION 5You work for a Web solution development company named ABC.com. You have been charged with identifyingthe appropriate object which is utilized for storing properties of individual website visitors or instances of thewebsite.

    Which of the HTTPContext objects should be utilized?

    A. You should consider utilization of the audit element.

    B. You should consider utilization of the Selector element.

    C. You should consider utilization of the IFrame element.

    D. You should consider utilization of the Session object.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: The HttpContext.Current object includes the session object which is utilized for providingproperties and methodologies related to network user or instances of a web site. ADO.NET applicationdevelopers should note the Session object is responsible for containing information about a user usingvariables which are available to all pages of the application.

    QUESTION 6You work for a Web solution development company named ABC.com. You are required to identify theappropriate selector which should be utilized for specification for a style and utilizes "#" for identification ofunique style elements.

    Which of the CSS features should be utilized?

  • A. You should consider utilization of an external style sheet.

    B. You should consider utilization of an internal style sheet.

    C. You should consider utilization of the Type and Class CSS selectors.

    D. You should consider utilization of the Id CSS selector.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: Developers of ADO.NET application should note that the id selector is used for

    specification of a single, unique element and utilizes the Id attribute of the HTML elements defined with a "#".

    QUESTION 7You work as a solution developer at ABC.com. ABC.com wants you to develop an application that utilizescustom page-specific attributes utilized by web parsers and compilers.

    Which of the features listed below should be utilized?

    A. You should consider utilization of the @Import directive.

    B. You should consider utilization of the @Page directive.

    C. You should consider utilization of the @Export directive.

    D. You should consider utilization of the @Import and @Control directives.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: The @Page directive is utilized by application developers as a means to define page-specificattributes utilized be the Web page parser and compiler like the @ Page directives AutoEventWireup andCodeBehind attributes.

    QUESTION 8You work for a Web solution development company named ABC.com. ABC.com utilizes a Web applicationwhich is configured for tracing all transaction events of the computer utilized.

    Which of the following handlers has been utilized for development of the Web application?

    A. You should consider utilization of the Trace.axd file.

    B. You should consider utilization of the Machine.config file.

    C. You should consider utilization of the Web.config file.

    D. You should consider utilization of the Global.asex and App.config files.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: The trace output of the application can be reviewed by accessing Trace.axd on the applicationprovided the PageOutput settings is set to true. Developers should note the first log page contains the list oftrace results in the cache which can be viewed utilizing the cache results option.

  • Exam E

    QUESTION 1You work for a Web solution development company named ABC.com. ABC.com wants you to develop a Webapplication which utilizes a HTTP class able to utilize Requests and Responses to intrinsic objects utilized in theapplication.

    Which class should be utilized in the Web application?

    A. You should consider utilization of the Http class.

    B. You should consider utilization of the HttpContext class

    C. You should consider utilization of the HttpRepsonse class.

    D. You should consider utilization of the HttpRequest class.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: Application developers should note when encapsulating all HTTP-specific information regardingindividual HTTP requests from intrinsic objects, response and request are included in the HttpContext class.

    QUESTION 2You work for a Web solution development company named ABC.com. You have been charged withdevelopment of a Web application which utilizes ASP.NET. ABC.com wants configuration changes made to theapplication to ensure proper execution of the ASP.NET application.

    Which of the tags in the web.config file should be utilized in the application?

    A. You should consider utilization of the System.Web tag.

    B. You should consider utilization of the Pages tag.

    C. You should consider utilization of the Authentication tag.

    D. You should consider utilization of the Location tag.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: The Web.config file is essentially an XML file which is utilized by ASP.NET applications as theCML file defines configuration settings for the Web application as well as controlling module loading, sessionstate and security information. The Web.config file may additionally contain application specific databaseconnection strings.

    QUESTION 3Which of the following statements regarding the utilization of an XML schema are TRUE?

    A. The XML schema is utilized to define elements and attributes not loading in the document as well as thedata type for elements and attributes.

    B. The XML schema is utilized to define default values for elements and attributes, fixed values for elementsand attributes and elements attributes not loading in the document.

    C. The XML schema is utilized to define the number and order of child elements, default values for elementsand attributes, the data types for elements and attributes and attributes which do not load in a document.

    D. The XML schema is utilized to define default values of elements and attributes, data types for elements andattributes, fixed values for elements and attributes and number and order child elements.

  • Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note that an XML schema is utilized for describing the structure of an XMLdocument. An XML schema is additionally an XML-based alternative to DTD as the XML schema is utilized todefine default values of elements and attributes, data types for elements and attributes, fixed values forelements and attributes and number and order child elements.

    QUESTION 4Which of the following statements regarding the life cycle of a web page a visitor accesses utilizing a developedWFC application are TRUE?

    A. The WFC application life cycle involves hosting the service, defining a client application, building a clientapplication and implementation of Web services.

    B. The WFC application life cycle involves implementing the contract, hosting the service in an application,defining a client application and defining the service contract.

    C. The WFC application life cycle involves building a client application, defining the client application,implementing the contract and hosting the service in an application.

    D. The WFC application life cycle involves implementing the contract, defining the servicecontract, hosting the service in an application and building the client application.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: Application developers should note the WFC application life cycle involves implementing thecontract, defining the service contract, hosting the service in an application and building the client application

    QUESTION 5Which of the following statements regarding the utilization of the XML standard are TRUE?

    A. The XML standard utilizes only External style sheets

    B. The XML standard is a markup language but is not a replacement of HTML but is designed to store anddisplay data.

    C. The XML standard utilizes only internal style sheets

    D. The XML standard utilizes only CSS style sheets.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: Developers of applications should note that the XML standard allows developers and writers toinvent different elements they need as required and defines a generic syntax used to mark up data utilizinghuman-readable tags.

    QUESTION 6Which of the following statements regarding the utilization of application pools for Web applications are TRUE?

    A. An application pool is a collection of URL's which will be served by a worker process or set of workerprocesses.

    B. An application pool is a collection of database connections.

    C. An application pool is a collection of user names and URL's

  • D. An application pool is a collection of XML files and pages.

    Correct Answer: ASection: (none)Explanation

    Explanation/Reference:Explanation: Application developers and writers should note that an application pool is actually a collection ofutilized URL's served by a worker process or processes by having the ability to limit separate applications byutilizing process boundaries ensuring other applications on the server are not affected.

    QUESTION 7You work for a Web solution development company named ABC.com. ABC.com wants you to develop a Webapplication which retrieves data located in a DataReader of the developed application.

    Which of the following features should be utilized by the Web application?

    A. You should consider utilization of a DataBinder.

    B. You should consider utilization of the ExecuteReader

    C. You should consider utilization of a DataAdapter

    D. You should consider utilization of a TemplateControl.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and programmers are aware that you are able to retrieve data using a DataReader bycreating an instance of the Command object and creating the DataReader by calling Command.ExecuteReaderto retrieve rows from a data source.

    QUESTION 8You work for a Web solution development company named ABC.com. ABC.com wants you to develop a Webapplication which utilizes data integrity and security whilst being interactive for website visitors.

    Which of the controls should be utilized for the Web application?

    A. You should consider utilization of the UpdatePanel.

    B. You should consider utilization of the DataAdapter.

    C. You should consider utilization of the Server control.

    D. You should consider utilization of the TemplateControl class.

    Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: Application developers and programmers are aware that the server control category is widelyutilized when creating interactive Web pages which require security for data and source code utilized.

    QUESTION 9You work for a Web solution development company named ABC.com. ABC.com wants you to develop a Webapplication which automatically connects from one customer website to othercustomer websites.

    Which of the features below were utilized by the application?

  • A. You should consider utilization of the UpdatePanel.

    B. You should consider utilization of the Response.Redirect method.

    C. You should consider utilization of the Transfer object.

    D. You should consider utilization of the ScriptManager.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: Developers and programmers are aware that Redirect is a method of the Response object and isutilized widely for navigation through the server script. The Response.Redirect method is utilized to send aredirect message to the browser causing you to visit a different web site.

    QUESTION 10You are required to identify the methodology utilized by application developers by selecting the appropriate top-level object for making server configuration changes? (Choose TWO.)

    A. The HttpContext.Current object utilizes the Execute method

    B. The HttpContext.Current object utilizes the Transfer method

    C. The HttpContext.Current object utilizes the Response.AppendToLog method

    D. The HttpContext.Current object utilizes the Response.LCID method.

    E. The HttpContext.Current object utilizes the Response.Redirect method

    Correct Answer: ABSection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note that the server object is the top-level object from the HttpContext.Currentobject utilizes the Execute and Transfer methodologies to provide properties and methods related to the Webserver and make the changes on the server.

    QUESTION 11You work for a Web solution development company named ABC.com. ABC.com wants you to develop a Webapplication which detects errors and excretions and automatically navigates website visitors to the createddefault error message URL.

    Which of the features below should be utilized for the application?

    A. You should consider utilization of HTTP error codes.

    B. You should consider utilization of an UpdatePanel.

    C. You should consider setting the customErrors element mode attribute to On for the defaultRedirect attributeto an error page within the site.

    D. You should consider utilization of the customWrroes element set to Off with a Transaction object.

    Correct Answer: CSection: (none)Explanation

    Explanation/Reference:Explanation: Developers should note the element of the Web.config file is utilized for providinginformation about custom error messages for ASP.NET applications and additionally can be utilized to specifywhether custom errors are enabled, disabled or shown to the remote network clients.

    QUESTION 12

  • You work for a Web solution development company named ABC.com. ABC.com wants you to develop a Webapplication which automatically handles errors and exceptions not detected using the Try/Catch block feature.

    Which of the features below was utilized by the developers for the Web application?

    A. You should consider utilization of the app.config file with the UpdatePanel.

    B. You should consider utilization of the Global.asax file.

    C. You should consider utilization of the machine.config file with the ScriptManager.

    D. You should consider utilization of the Web.config file with a Transaction object.

    Correct Answer: BSection: (none)Explanation

    Explanation/Reference:Explanation: The Global.asax is an optional file which will be utilized a server since the file has code forresponding to global events that occur in a Web application. ADO.NET application developers should note onlyone Global.asax file can be utilized by the application and the file resides in the root directory of ASP.NETapplications.

    QUESTION 13Which of the following statements regarding the advantages and disadvantages of application state server-based methodologies are TRUE? (Choose ALL that apply)

    A. State server-based methodologies are accessible to all the pages in a Web application and only requirekeeping a single copy of information.

    B. State server-based methodologies define the number and order of child elements, default values forelements and attributes, the data types for elements and attributes and attributes which do not load in adocument.

    C. State server-based methodologies require the application state variables should be used only with small andinfrequently changed datasets.

    D. State server-based methodologies utilized to define default values for elements and attributes, fixed valuesfor elements and attributes and elements attributes not loading in the document.

    E. State server-based methodologies utilized to define default values for elements and attributes, fixed valuesfor elements and attributes and elements attributes not loading in the document.

    Correct Answer: ACSection: (none)Explanation

    Explanation/Reference:Explanation: Application developers should note that the application state is a collection of user- definedvariables that are shared by an ASP.NET application and are additionally set and initialized when applicationscall the Application_OnStart event till the last instance closses. Developers should also note that applicationstate variables are accessed using the Applications collection which uses the provided wrapper for theapplication state variables.

    QUESTION 14You work as a Web developer for ABC.com. You need to identify the appropriate event fired once only uponexecution of the life cycle of the Web application.

    Which of the events would be utilized?

    A. The OnLoad event would be called.

    B. The PreRender event would be called.

  • C. The PostLoad event would be called.

    D. The Application_Start event would be called.

    Correct Answer: DSection: (none)Explanation

    Explanation/Reference:Explanation: Application developers should note that the Application_Start method is called when resources arerequested the first time by the ASP.NET application. The Application_Start event is additionally utilized onlyonce throughout the application life cycle and can be used to perform setups and load data into the cache andinitialize static values.