单选题You have created an ASP.NET server control named ShoppingCart for use by other developers. Some developers report that the ShoppingCart control does not function properly with ViewState disabled. You want to ensure that all instances of the ShoppingCart control work even if ViewState is disabled. What should you do?()ARequire developers to set EnableViewStateMac to true.BStore state in ControlState instead of ViewState.CSerialize the state into an Application state entry called MyControlDRequire developers to change the session state mode to SQL Server.

单选题
You have created an ASP.NET server control named ShoppingCart for use by other developers. Some developers report that the ShoppingCart control does not function properly with ViewState disabled. You want to ensure that all instances of the ShoppingCart control work even if ViewState is disabled. What should you do?()
A

Require developers to set EnableViewStateMac to true.

B

Store state in ControlState instead of ViewState.

C

Serialize the state into an Application state entry called MyControl

D

Require developers to change the session state mode to SQL Server.


参考解析

解析: 暂无解析

相关考题:

you have 10 standalone servers that run windows server 2008. You install WSUS on a server named server1. You need to configure all of the servers to receive updates from server1. What should you do?() A.Configure the windows update settings on each server by using control panel.B.Run the wuauclt.exe /detectnow command on each server.C.Run the wuauclt.exe /reauthorization command on each server.D.Configure the windows update settings on each server by using local group policy.

On the Junos Pulse Access Control Service, you have created a role called Secret that you only want to provide to users who present a certificate.Using the admin GUI, which two features would you configure to satisfy this requirement?()A. Sign-in PolicyB. Role Mapping RuleC. Role RestrictionsD. Trusted Server CA

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()A、the ITemplatable interface B、the INamingContainer interface C、the IRequiresSessionState interfaceD、the IPostBackDataHandler interface

You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if View State is disabled. What should you do?()A、Require developers to set EnableViewStateMac to true.B、Store state in ControlState instead of ViewState.C、Serialize the state into an Application state entry called "MyControl".D、Require developers to change the session state mode to SQLServer.

You are implementing an ASP.NET Web site that will be accessed by an international audience. The site contains global and local resources for display elements that must be translated into the language that is selected by the user. You need to ensure that the Label control named lblCompany displays text in the user’s selected language from the global resource file. Which control markup should you use?()A、asp:Label ID="lblCompany" runat="server" meta:resourcekey="lblCompany" /B、asp:Label ID="lblCompany" runat="server" Text="meta:lblCompany.Text" / C、asp:Label ID="lblCompany" runat="server" Text="%$ Resources:lblCompanyText %" /D、asp:Label ID="lblCompany" runat="server" Text="%$ Resources:WebResources, lblCompanyText %" /

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. The following markup should be added to a page:   The Question control is a custom server control that originates from the WebControl. This controldoes not implement any interfaces. The following characteristics are applied to the control’s class:ToolboxData, Designer, and DefaultProperty. You have to make sure that the Question control is able to participate in server-side validation onthis page. What should you do?()A、You should consider modifying the Question control’s class in order to implement IValidator.B、You should consider setting the ValidationGroup property of the RequiredFieldValidator controlto UserControl.C、You should apply the ValidationProperty feature to the Question control’s class.D、You should consider setting the InitialValue property of the RequiredFieldValidator control to anempty string.

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform.  You are creating an ASP.NET Web application using .NET Framework 4.0. The Web application comprises a class named Employee with properties named as First Name, Last Name, and Age. You add a Web page in which you get a list of Employee objects and display those objects in a GridView control. You are required to add code so that the GridView row is highlighted in red color if the age of the employee is less than 21 years.  What will you do to accomplish this?()A、Use the RowCommand event of the GridView control.B、Use the SelectedlndexChanged event of the GridView control.C、Use the RowDataBound event of the GridView control.D、Use the RowEditing event of the GridView control.E、Use the RowUpdated event of the GridView control.

Company.com has employed you as their exchange administrator.The Company.com network contains an exchange server 2010 organization.the Company.com organization contains a hub transport server as well as an edge transport server.the hub transport server is named -ex01 and the edge transport server is named -ex02.-ex02 is used to send smtp mail to the internet.a new Company.com directive requires that a disclaimer is added to all internal and external mail messages sent by employees. What should you do?()A、your best option would be to have the properties of a send connector modified from -ex02.B、your best option would be to have a transport rule created from -ex01.C、your best option would be to have a transport rule created from -ex02.D、your best option would be to have the properties of a send connector modified from -ex01.

You have 10 stand alone servers taht run Windows Server 2008. You install WSUS on a server named Server1. You need to configure all of the servers to receive updates from Server1  What should you do()?  A、configure the windows Update Settings on each server by using control panelB、Run the wuauclt.exe /detectnow command on each serverC、Run the wuauclt.exe /reauthorization command on each serverD、Configure the Windows Update settings on each server by using local group policy.

You have implemented folder compression on the Windows 2000 Server and Windows 2000 Professional computers on your network. A user named Julia copies a compressed folder from an NTFS partition on her Windows 2000 Workstation to a shared NTFS folder on a remote Windows 2000 Server.  What effect will this have on the newly created folder?()A、The newly created folder will retain its original compression state.B、The newly created folder will inherit the compression state of the target folder.C、The newly created folder will be automatically uncompressed.D、Folder compression depends on the users access permissions.

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()A、the ITemplatable interfaceB、the INamingContainer interfaceC、the IRequiresSessionState interfaceD、the IPostBackDataHandler interface

You are a professional level SQL Server 2005 database administrator in an international corporation named Wiikigo. You are experienced in implementing high-availability solutions, monitoring the database server, and design deployment. In the company, you major job is the deployment, maintenance and support of Microsoft SQL Server 2005. You work as a database administrator for your company. A SQL Server 2005 computer is managed by you, and a database named Customers is included by the SQL Server 2005 computer. A table named CustInfo is included by the database. An identity column named CustID and an nvarchar column named CustName are included by the table. According to the company requirement, rows which duplicate CustName values are included should be moved from the CustInfo table every year. However, the company requests to have rows removed from the CustInfo table after the rows have been manually examined and verified as being duplicates. Since you are the technical support, you are required to think out a method to have potential duplicate rows identified for manual examination. The minimum amount of administrative effort should be utilized.  Which action should be performed to finish the task?()A、A trigger should be created for the CustInfo table so as to roll back INSERT queries that duplicate data is included.B、A new unique index should be created on the CustName column. And then, IGNORE_DUP_KEY = ON should be specified when creating index.C、On the CustName column, a foreign key constraint should be created, and a distinct list of CustName values is referenced by the foreign key constraint.D、A SELECT INTO query should be utilized, and GROUP BY and HAVING clauses should be included by the query to create a new table that contains duplicate rows from the CustInfo table.

You work as a network exchange administrator at company.com.thecompany.com network currently consists of a single active directory forest containing a single domain named company.com.the company.com organization makes use of microsoft exchange server 2010 as their messaging solution.in each of the organizational units in the company.com forest, a user has been identified to manage recipients in their specific organizational units.During the course of the business week you receive instruction from company.com to ensure that these chosen users will indeed have the ability to manage recipients in a specific organizational unit (ou).what should you do?()A、you should consider using role based access control (rbac) and having a new management scope created.B、you should consider using role based access control (rbac) and having the default management scope modified.C、you should consider having a new direct role assignment created.D、you should consider having a new management role assignment policy created.

单选题You work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services, and configuring aweb services infrastructure. You have a server named S01 that runs Windows Server 2008. The server hasthe Web Server (IIS) server role installed. You have an SMTP gateway that connects to the Internet. Theinternal firewall prevents all computers, except the SMTP gateway, from establishing connections overTCP port 25. You have the SMTP gateway configured to relay e-mail for S01. You have to configure aWeb site on S01 to send e-mail to Internet users. What action should you perform?()AAn MX record for S01 should be created on an internal DNS server.BAn MX record for the SMTP gateway should be created on an internal DNS server.CThe SMTP Server feature should be installed on S01.DThe SMTP E-mail feature for the Web site should be installed on S01.

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom Web user control named SharedControl. The control will be compiled as a library.  You write the following code segment for the SharedControl control: 01 protected override void OnInit(EventArgs e)   02 {   03   base.OnInit(e);   04 ►  05 }    All the master pages in the ASP.NET application contain the following directive.     You need to ensure that the state of the SharedControl control can persist on the pages that reference a master page.  Which code segment should you insert at line 04?()APage.RegisterRequiresPostBack(this); BPage.RegisterRequiresControlState(this); CPage.UnregisterRequiresControlState(this); DPage.RegisterStartupScript(SharedControl,server);

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom Web user control named SharedControl. The control will be compiled as a library.  You write the following code segment for the SharedControl control. (Line numbers are included for reference only.)  01 Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs)  02 MyBase.OnInit(e)  03  04 End Sub  All the master pages in the ASP.NET application contain the following directive.    You need to ensure that the state of the SharedControl control can persist on the pages that reference a master page.  Which code segment should you insert at line 03?()APage.RegisterRequiresPostBack(Me)BPage.RegisterRequiresControlState(Me)CPage.UnregisterRequiresControlState(Me)DPage.RegisterStartupScript(SharedControl, server)

多选题On the Junos Pulse Access Control Service, you have created a role called Secret that you only want to provide to users who present a certificate.Using the admin GUI, which two features would you configure to satisfy this requirement?()ASign-in PolicyBRole Mapping RuleCRole RestrictionsDTrusted Server CA

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()Athe ITemplatable interfaceBthe INamingContainer interfaceCthe IRequiresSessionState interfaceDthe IPostBackDataHandler interface

单选题You have 10 standalone servers that run Windows Server 2008.You install Windows Server Update Services (WSUS) on a server named Server1. You need to configure all of the servers to receive updates from Server1. What should you do? ()AConfigure the Windows Update settings on each server by using the Control Panel.BRun the wuauclt.exe /detectnow command on each server.CRun the wuauclt.exe /reauthorization command on each server.DConfigure the Windows Update settings on each server by using a local group policy.

单选题You have 10 standalone servers that run Windows Server 2008 R2. You install the Windows Server Update Services (WSUS) server role on a server named Server1. You need to configure all of the servers to receive updates from Server1. What should you do?()AConfigure the Windows Update settings on each server by using the Control Panel.BRun the wuauclt.exe /detectnow command on each server.CRun the wuauclt.exe /reauthorization command on each server.DConfigure the Windows Update settings on each server by using a local group policy.

单选题you have 10 standalone servers that run windows server 2008. You install WSUS on a server named server1. You need to configure all of the servers to receive updates from server1. What should you do?()AConfigure the windows update settings on each server by using control panel.BRun the wuauclt.exe /detectnow command on each server.CRun the wuauclt.exe /reauthorization command on each server.DConfigure the windows update settings on each server by using local group policy.

单选题You have created an ASP.NET server control named Shopping Cart for use by other developers. Some developers report that the Shopping Cart control does not function properly with ViewState disabled. You want to ensure that all instances of the Shopping Cart control work even if View State is disabled. What should you do?()ARequire developers to set EnableViewStateMac to true.BStore state in ControlState instead of ViewState.CSerialize the state into an Application state entry called MyControl.DRequire developers to change the session state mode to SQLServer.

单选题You work as the Exchange administrator at Company.com.The Company.com network contains an Exchange Server 2010 Organization.Company.com has its headquarters in Paris where you are located.you are responsible for managing two exchange servers named -ex01 and -ex02.both exchange servers are configured to host the client access server role, the hub transport server role as well as the mailbox server role.terstkingex01 and -ex02 are members of a database availability group.during the course of the week you receive an instruction from management to ensure that users are able to make a connection to the client access server in the event of a single server failure. What should you do?()AYour best option would be to have the Network Load Balancing feature installed on every server.Thereafter a second IP address should be assigned to every network adapter.BYour best option would be to have two new records created for the Client Access server from the DNS manager.CYour best option would be to have a hardware load balancer deployed. Then a DNS record should be created for the virtual IP address. Thereafter a Client Access server array should be configured.DYour best option would e to have a new service named Client Access Server created and a new IP address allocated from the Failover Cluster Manager.

单选题Your network contains an Active Directory domain named contoso.com. All servers run Windows Server 2012 R2. The domain contains a member server named Server1. Server1 has the File Server server role installed. On Server1, you create a share named Documents. The Documents share will contain the files and folders of all users. You need to ensure that when the users connect to Documents, they only see the files to which they have access. What should you do?()AModify the NTFS permissionsBModify the Share permissionsCEnable access-based enumerationDConfigure Dynamic Access Control

单选题You have an Exchange Server 2010 organization.  The organization contains a global security group named Group1.  You plan to deploy a monitoring solution for the Exchange servers in your organization.  You need to recommend a solution that allows members of Group1 to monitor the performance of Exchange Server 2010 servers.  Your solution must prevent members of Group1 from modifying the configurations of the Exchanges Server 2010 organization.  What should you include in the solution?()ADelegation of Control WizardBFederation TrustsCReliability MonitorDRole Based Access Control (RBAC)

单选题Your network consists of a single Active Directory domain. You have two file servers named Server1 and Server2 that run Windows Server 2003 Service Pack 2 (SP2). Both servers have a shared folder named Data. You have a computer named Computer1 that runs Windows XP Professional Service Pack 3 (SP3). From Computer1, you view the properties of //server1/data and discover a Previous Versions tab. From Computer1, you view the properties of //server2/data and discover that the Previous Versions tab is missing. You need to ensure that you can access previous versions of files from //server2/data. What should you do? ()AOn Server2, enable Shadow Copies for all volumes.BOn Server2, create an Automated System Recovery (ASR) backup.CAssign your user account the Full Control share permission to //server2/data.DOn the Customize tab in the //server2/data properties, click Restore Default.

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()Athe ITemplatable interface Bthe INamingContainer interface Cthe IRequiresSessionState interfaceDthe IPostBackDataHandler interface