1. Question: You notice that clicking a CheckBox does not cause an automatic postback. You need the CheckBox to automatically post back so you can update the webpage based on server-side code. How do you make the CheckBox cause an automatic postback?

    A
    Set the AutoPostBack property to true.

    B
    Add JavaScript code to call the ForcePostBack method.

    C
    Set the PostBackAll property of the webpage to true.

    D
    Add server-side code to listen for the click event from the client.

    Note: Not available
    1. Report
  2. Question: You need to dynamically create an instance of a TextBox server control in a page. You do not use master pages. Based on the recommended best practices, in which page event would you create the server control to ensure that the view state is properly reconnected to the control on postback?

    A
    PreInit

    B
    Init

    C
    Load

    D
    PreRender

    Note: Not available
    1. Report
  3. Question: You need to store a user’s user name and password as he or she navigates to different pages on your site, so that you can pass those credentials to the server. Which type of state management should you use?

    A
    Client-side state management

    B
    Server-side state management

    C
    Both

    Note: Not available
    1. Report
  4. Question: You need to track nonconfidential user preferences when a user visits your site, to minimize additional load on your servers. You distribute requests among multiple web servers, each running a copy of your application. Which type of state management should you use?

    A
    Client-side state management

    B
    Server-side state management

    C
    Both

    Note: Not available
    1. Report
  5. Question: You are creating an ASP.NET webpage that allows a user to browse information in a database. While the user accesses the page, you need to track search and sorting values. You do not need to store the information between visits to the webpage. Which type of client-side state management would meet your requirements and be the simplest to implement?

    A
    View state

    B
    Control state

    C
    Hidden fields

    D
    Cookies

    E
    Query strings

    Note: Not available
    1. Report
  6. Question: You are creating an ASP.NET website with dozens of pages. You want to allow the user to set user preferences and have each page process the preference information. You want the preferences to be remembered between visits, even if the user closes the browser. Which type of client-side state management meets your requirements and is the simplest to implement?

    A
    View state

    B
    Control state

    C
    Hidden fields

    D
    Cookies

    E
    Query strings

    Note: Not available
    1. Report
  7. Question: You are creating an ASP.NET web form that searches product inventory and displays items that match the user’s criteria. You want users to be able to bookmark or send search results in email. Which type of client-side state management meets your requirements and is the simplest to implement?

    A
    View state

    B
    Control state

    C
    Hidden fields

    D
    Cookies

    E
    Query strings

    Note: Not available
    1. Report
  8. Question: You need to store state data that is accessible to any user who connects to your web application and ensure that it stays in memory. Which collection object should you use?

    A
    Session

    B
    Application

    C
    Cookies

    D
    ViewState

    Note: Not available
    1. Report
  9. Question: You need to store a value indicating whether a user has been authenticated for your site. This value needs to be available and checked on every user request. Which object should you use?

    A
    Session

    B
    Application

    C
    Cookies

    D
    ViewState

    Note: Not available
    1. Report
  10. Question: Your application is being deployed in a load-balanced web farm. The load balancer is not set up for user server affinity. Rather, it routes requests to servers based on their load. Your application uses session state. How should you configure the SessionState mode attribute? (Choose all that apply.)

    A
    StateServer

    B
    InProc

    C
    Off

    D
    SqlServer

    Note: Not available
    1. Report
Copyright © 2025. Powered by Intellect Software Ltd