当前位置:MCPD(70-562)题库

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a login Web form by using the following code fragment.  

 English 
 Chinese 
 Japan 
 Korean 
 - 153 - Test Information Co., Ltd. All rights reserved. 



When a user clicks the btnLogin Button control, the login() client-side script is called to authenticate the 
user. The credentials provided in the TextBox controls are used to call the client-side script. 
You also add the following client-script code fragment in the Web form. (Line numbers are included for reference only.)
01 
02 function login() { 
03 var username = $get(’txtUser’).value; 
04 var password = $get(’txtPassword’).value; 
05 
06 // authentication logic. 
07 } 
08 function onLoginCompleted(validCredentials, userContext, 
09 methodName) 
10 { 
11 // notify user on authentication result. 
12 } 
13 
14 function onLoginFailed(error, userContext, methodName) 
15 { 
16 // notify user on authentication exception. 
17 } 
18  
The ASP.NET application is configured to use Forms Authentication. The ASP.NET AJAX authentication 
service is activated in the Web.config file. 
You need to ensure that the following workflow is maintained: 
¡;¤On successfu authentication, the onLoginCompleted client-script function is called to notify the user. 

 English 
 Chinese 
 Japan 
 Korean 
 - 154 - Test Information Co., Ltd. All rights reserved. ¡;¤On failure of authentication, the onLoginFailed clien-script function is called to display an error message. 
Which code segment should you insert at line 06?()

A . A
B . B
C . C
D . D

下列桥台中属于拱桥轻型桥墩的是()。 混凝土薄壁桥墩。 柱式桥墩。 钻孔桩柱式桥墩。 带三角杆件的单向推力墩。 You are the desktop administrator for your company. All employees have Windows XP Professional computers. All employees are members of the local Users group on their own computers. A user in the graphics department has a removable disk cartridge drive on his computer. The disk cartridge contains an unsupported, third-party file system. When he tries to save data to the disk cartridge, the user is prompted to reformat the disk cartridge. However, he receives an “access denied” error message when attempting to reformat. You need to enable the user to save data to the disk cartridge. What should you do?() Instruct the user to format the cartridge as FAT32.。 Remove the Read-only attribute from the disk cartridge.。 Add the user to the Power Users local group on the computer.。 Grant the user Allow - Full Control permission on the disk cartridge. 。 Configure the local security settings to allow the user to format and eject removable media.。 You are the network administrator for your company. The network consists of a single Active Directory domain. The company has an internal network and a perimeter network. The internal network is protected by a firewall. Application servers on the perimeter network are accessible from the Internet.   You are deploying 10 Windows Server 2003 computers in application server roles. The servers will be located in theperimeter network and will not be members of the domain. The servers will host only publicly available Web pages.  The network design requires that custom security settings must be applied to the application servers. These custom security settings must be automatically refreshed every day to ensure compliance with the design.   You create a custom security template named Baseline1.inf for the application servers. You need to comply with the design requirements.   What should you do?  ()  Import Baseline1.inf into the Default Domain Policy Group Policy object (GPO).。  Create a task on each application server that runs Security and Configuration Analysis with Baseline1.inf every day.。  Create a task on each application server that runs the secedit command with Baseline1.inf every day.。  Create a startup script in the Default Domain Policy Group Policy object (GPO) that runs the secedit command with Baseline1.inf.。 中国共产党同世界各国政党的关系所要坚持的原则是()。 独立自主、完全平等。 互相监督。 互相尊重。 互不干涉内部事务。 简述X论的管理措施?

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You create a login Web form by using the following code fragment.  

 English 
 Chinese 
 Japan 
 Korean 
 - 153 - Test Information Co., Ltd. All rights reserved. 



When a user clicks the btnLogin Button control, the login() client-side script is called to authenticate the 
user. The credentials provided in the TextBox controls are used to call the client-side script. 
You also add the following client-script code fragment in the Web form. (Line numbers are included for reference only.)
01 
02 function login() { 
03 var username = $get(’txtUser’).value; 
04 var password = $get(’txtPassword’).value; 
05 
06 // authentication logic. 
07 } 
08 function onLoginCompleted(validCredentials, userContext, 
09 methodName) 
10 { 
11 // notify user on authentication result. 
12 } 
13 
14 function onLoginFailed(error, userContext, methodName) 
15 { 
16 // notify user on authentication exception. 
17 } 
18  
The ASP.NET application is configured to use Forms Authentication. The ASP.NET AJAX authentication 
service is activated in the Web.config file. 
You need to ensure that the following workflow is maintained: 
¡;¤On successfu authentication, the onLoginCompleted client-script function is called to notify the user. 

 English 
 Chinese 
 Japan 
 Korean 
 - 154 - Test Information Co., Ltd. All rights reserved. ¡;¤On failure of authentication, the onLoginFailed clien-script function is called to display an error message. 
Which code segment should you insert at line 06?()

参考答案:

  参考解析

本题暂无解析

相关题目:

在线 客服