考题
You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages.Which two controls should you add to the EditorZone control?()A. BehaviorEditorPartB. AppearanceEditorPartC. PropertyGridEditorPartD. LayoutEditorPart
考题
You create a Web application for your company‘s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()A.B.C.D.
考题
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A. Include a data source identified as WebPartConnection1 on the Web Form.B. Include a Web Part identified as customerPart on the Web Form.C. Include a Web Part identified as ordersPart on the Web Form.D. Ensure that you declare an interface named IOrdersPart.E. Ensure that you declare an interface named ICustomerPart.F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
考题
You need to design a configuration for the Microsoft Outlook Web Access servers. What should you do?()A、Create a Network Load Balancing cluster that contains the Outlook Web Access serversB、Create a Microsoft Cluster Server cluster that contains the Outlook Web Access serversC、Create public DNS host (A) resource records for each Outlook Web Access server. Instruct each user to connect to the server that contains his or her mailboxD、Install Microsoft Application Center 2000 on the Outlook Web Access servers. Create a Web cluster that contains all of the Outlook Web Access servers
考题
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A、Include a data source identified as "WebPartConnection1" on the Web Form.B、Include a Web Part identified as "customerPart" on the Web Form.C、Include a Web Part identified as "ordersPart" on the Web Form.D、Ensure that you declare an interface named "IOrdersPart".E、Ensure that you declare an interface named "ICustomerPart".F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
考题
You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()A、Add custom controls that emit XHTML to the Web Form.B、Add custom controls that emit WML to the Web Form.C、Add mobile controls to the Web Form.D、Add Web server controls to the Web Form.
考题
You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart. CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a customer from CustomerPart, OrdersPart must update. Which four actions should you perform? ()A、Add the ConnectionProvider attribute to OrdersPart.B、Add the ConnectionProvider attribute to CustomerPart.C、Add the ConnectionConsumer attribute to CustomerPart.D、Add the ConnectionConsumer attribute to OrdersPart.E、Add OrdersPart and CustomerPart to the WebParts directory.F、Add OrdersPart and CustomerPart to the App_Code directory.G、Declare the connections within a StaticConnections subtag of a WebPartZone class.H、Declare the connections within a StaticConnections subtag of a WebPartManager class.I、Define an interface specifying the methods and properties that are shared between the Web Parts.
考题
You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()A、Create a valid definition in the Web.config file.B、Set the passwordFormat attribute of the configured membership provider to Encrypted.C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.
考题
You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control?()A、BehaviorEditorPartB、AppearanceEditorPartC、PropertyGridEditorPartD、LayoutEditorPart
考题
Your network contains two Web servers named Web1 and Web2. Web1 hosts the companys corporate Web site. Web2 is a test server that contains a copy of the Web site.Users connect to Web1 by using the URL http://www.contoso.com.A Web developer named User1 plans to test updates to the Web site on Web2.You need to ensure that User1 connects to Web2 by using the URL http://www.contoso.com. The solution must ensure that all other computers connect to Web1.What should you do?()A、From User1s computer, create a record in the Hosts file.B、From User1s computer, create a record in the Lmhosts file.C、From a DNS server, create a new Host (A) resource record.D、From a DNS server, create a new Alias (CNAME) resource record.
考题
You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()A、Configure the SqlMembershipProvider in the web.config file.B、Configure the SqlProfileProvider in the web.config file.C、Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.D、Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.
考题
单选题You are designing a Windows Azure application that will include two web roles. The web roles will communicate with on-premise development computers and on-premise databases. Web Role 1 must connect to development computers and databases. Web Role 2 must connect to only databases. What should you recommend?()A
Create one endpoint group thatcontains the development computers and one endpoint group that contains the databases. Connect Web Role 1 to both endpoint groups. Connect Web Role 2 to only the database endpoint group.B
Create one endpoint group that contains the development computers and databases. Connect Web Role 1 and Web Role 2 to the endpoint group.C
Create one endpoint group that contains the development computers and one endpoint group that contains the databases. Connect the endpoint groups. Connect Web Role 1 and Web Role 2 to the development computer group.D
Create one endpoint group that contains the development computers and databases, and connect it to Web Role 1. Create one endpoint group that contains only the databases, and connect it to Web Role 2.
考题
多选题You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()AConfigure the SqlMembershipProvider in the web.config file.BConfigure the SqlProfileProvider in the web.config file.CCreate an ASP.NET page that contains a default CreateUserWizard control to create a new user account.DCreate an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.
考题
多选题You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()AInclude a data source identified as WebPartConnection1 on the Web Form.BInclude a Web Part identified as customerPart on the Web Form.CInclude a Web Part identified as ordersPart on the Web Form.DEnsure that you declare an interface named IOrdersPart.EEnsure that you declare an interface named ICustomerPart.FEnsure that each Web Part declares either a GetInterface or ProvideInterface method.
考题
多选题You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? ()ACreate a valid definition in the Web.config file.BSet the passwordFormat attribute of the configured membership provider to Encrypted.CEnsure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.DEnsure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.
考题
单选题You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server. What should you do?()A
Add a CompareValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its Operator property to DataTypeCheck.B
Add a RangeValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its MinimumValue property to 01/01/1900 and its MaximumValue to the current date.C
Add a CustomValidator control to the Web Form. Set its ControlToValidate property to txtDate. Write a function in the partial class that verifies the values as dates and returns a Boolean variable. Set the CustomValidators ClientValidationFunction to the name of your function.D
Add a RegularExpressionValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set the ValidationExpression property to ensure that the users input follows the format of nn-nn-nnnn, where n represents a number from 0 through 9.
考题
多选题You write a logging function for a Web Form. You call the logging function from the Page_Unload event handler. You test the Web Form and notice that the Page_Unload event handler does not call the logging function. You need to ensure that the logging function is called. What are two possible ways to achieve this goal? ()ASet the Page attribute to AutoEventWireup=False. Remove the attribute onunload=Page_Unload from the Web Form element.BSet the Page attribute to AutoEventWireup=False. Add the attribute OnUnload=Page_Unload to the Web Form element.CSet the Page attribute to AutoEventWireup=False. Add the Web Form attribute autocomplete=on.DSet the Page attribute to AutoEventWireup=True.
考题
单选题You are designing a Windows Azure application that will include two web roles. The web roles will communicate with on-premise development computers and on-premise databases. Web Role 1 must connect to development computers and databases. Web Role 2 must connect to only databases. What should you recommend?()A
Create one endpoint group that contains the development computers and one endpoint group that contains the databases. Connect Web Role 1 to both endpoint groups. Connect Web Role 2 to only the database endpoint group.B
Create one endpoint group that contains the development computers and databases. Connect Web Role 1 and Web Role 2 to the endpoint group.C
Create one endpoint group that contains the development computers and one endpoint group that contains the databases. Connect the endpoint groups. Connect Web Role 1 and Web Role 2 to the development computer group.D
Create one endpoint group that contains the development computers and databases, and connectit to Web Role 1. Create one endpoint group that contains only the databases, and connect it to Web Role 2.