ASP.NET

Question: Using the CompareValidator control, you can compare the user input to which type of value?
Option1: Memory address
Option2: URL
Option3: Variable value
Option4: Constant value

1

Question: In the context of
ASP.NET, when the server needs to free the memory, it can remove an item from the application's cache. What is this process known as?
Option1: Absolute expiration
Option2: Sliding expiration
Option3: Flush
Option4: Scavenging

4

Question: How does the Copy Web tool make sure that all files on the local and remote sites are up to date?
Option1: By copying the new files in place of old files
Option2: By deploying the sites
Option3: By publishing the sites
Option4: By synchronizing the sites

4
Question: To use GDI+ objects, an object of the ________ class must be created.
Option1: Pen
Option2: SystemColors
Option3: Image
Option4: Graphics

4
Question: Asymmetric encryption is also known as _____________.
Option1: Private key encryption
Option2: Public key encryption
Option3: Public/Private key encryption
Option4: Protected key encryption

2

Question: What happens after adding the attribute trace="true" to the <%@Page%> directive in an ASP.NET page?
Option1:
ASP.NET will generate the diagnostic information and write it to logs.
Option2:
ASP.NET will generate and display diagnostic information at the bottom of the rendered page.
Option3:
ASP.NET tracing information will be sent to a System.Diagnostics listener.
Option4:
ASP.NET tracing information will be sent to a Tracing Listener object which receives the tracing output and writes it to logs.

2


Question: To cache a page, the user includes the <%@OutputCache%> directive in the page markup as: <%OutputCache Duration ="60" VaryByParam="None"%>. In addtion, the user marks certain sections of the page by surrounding them with an
ASP.NET Substitution control. Which type of caching technique is used by the user?
Option1: Application Cache
Option2: Page Output Cache for caching a complete, single page
Option3: Page Output Cache with Partial Page Caching
Option4: Page Output Cache with support for caching multiple page versions

2

Question: What would be the extension of the skin file created with name MyTheme?
Option1: MyTheme.skin
Option2: MyTheme.aspx.skin
Option3: MyTheme.aspx.theme
Option4: MyTheme.theme

1

Question: To apply an existing theme to the entire application, which of the following tags needs to be added in the Web.config file under the <System.Web> section?
Option1: <pages theme="XXX">
Option2: <profile theme="XXX">
Option3: <properties theme="XXX">
Option4: <configuration theme="XXX">


1

--Nikhil Kumar