微软70536认证题库Web订单服务试题综合题

合集下载

2022年微软认证考试练习题及答案(24)

2022年微软认证考试练习题及答案(24)

2022微软认证考试练习题及答案(24)You create a Microsoft application by using the Microsoft .NET Framework version 3.5.You create a page that contains the following code fragment.You write the following code segment in the code-behind file for the page.void BindData(object sender, EventArgs e) {lstLanguages.DataSource = CultureInfo.GetCultures(CultureTypes.AllCultures);lstLanguages.DataTextField = “EnglishName“; lstLanguages.DataBind();}You need to ensure that the lstLanguages ListBox control maintains the selection of the user during postback.Which line of code should you insert in the constructor of the page?A.this.Init += new EventHandler(BindData);B.this.PreRender += new EventHandler(BindData);C.lstLanguages.PreRender += new EventHandler(BindData);D.lstLanguages.SelectedIndexChanged += new EventHandler(BindData);Answer: AQUESTION 37You create a Microsoft application by using the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.You create a page named oldPage.aspx.You need to ensure that the following requirements are met when a user attempts to access the page:The browser diplays the URL of the oldPage.aspx page.The browser displays the page named newPage.aspx Which code segment should you use?A.Server.Transfer(“newPage.aspx“);B.Response.Redirect(“newPage.aspx“);C.if (erEscaped){ Server.TransferRequest(“newPage.aspx“); }else { Response.Redirect(“newPage.aspx“, true); }D.if (erEscaped) { Response.RedirectLocation = “oldPage.aspx“; Response.Redirect(“newPage.aspx“, true); } else { Response.Redirect(“newPage.aspx“); }Answer: AQUESTION 38You create a Microsoft application by using the Microsoft .NET Framework version 3.5.You create a Web page named enterName.aspx. The Web page contains a TextBox control named txtName. The Web page cross posts to a page named displayName.aspx that contains a Label control named lblName. You need to ensure that the lblName Label control displays the text that was entered in the txtName TextBox control.Which code segment should you use?A.lblName.Text = Request.QueryString[“txtName“];B.TextBox txtName = FindControl(“txtName“) as TextBox; lblName.Text = txtName.Text;C.TextBox txtName = Parent.FindControl(“txtName“) as TextBox;lblName.Text = txtName.Text;D.TextBox txtName = PreviousPage.FindControl(“txtName“) as TextBox; lblName.Text = txtName.Text;Answer: DQUESTION 39You create a Microsoft application by using the Microsoft .NET Framework version 3.5.You write the following code segment to create a class named MultimediaDownloader that implements the IHttpHandler interface. namespace Contoso.Web.UI {public class MultimediaDownloader : IHttpHandler {...} }The MultimediaDownloader class performs the following tasks:It returns the content of the multimedia files from the Web server It processes requests for the files that have the .media file extension The .media file extension is mapped to the aspnet_isapi.dll file in Microsoft IIS 6.0.You need to configure the MultimediaDownloader class in theWeb.config file of the application.Which code fragment should you use?A.B.C.D.Answer: CQUESTION 40You create a Microsoft application by using the Microsoft .NET Framework version 3.5.You create a class that implements the IHttpHandler interface. You implement the ProcessRequest method by using the following code segment. (Line numbers are included for reference only.)01 public void ProcessRequest(HttpContext ctx) {0203 }You need to ensure that the image named Alert.jpg is displayed in the browser when the handler is requested.Which code segment should you insert at line 02?A.StreamReader sr = new StreamReader(File.OpenRead(ctx.Server.MapPath(“Alert.jpg“))); ctx.Response.Pics(sr.ReadToEnd());sr.Close();B.StreamReader sr = new StreamReader(File.OpenRead(ctx.Server.MapPath(“Alert.jpg“))); ctx.Response.Pics(“image/jpg“);ctx.Response.TransmitFile(sr.ReadToEnd());sr.Close();C.ctx.Response.ContentType = “image/jpg“;FileStream fs = File.OpenRead(ctx.Server.MapPath(“Alert.jpg“)); int b;while ((b = fs.ReadByte()) != -1) {ctx.Response.OutputStream.WriteByte((byte)b);}fs.Close();D.ctx.Response.TransmitFile(“image/jpg“);FileStream fs = File.OpenRead(ctx.Server.MapPath(“Alert.jpg“));int b;while ((b = fs.ReadByte()) != -1) {ctx.Response.OutputStream.WriteByte((byte)b); }fs.Close();Answer: C。

微软认证考试试题及答案「经典版」

微软认证考试试题及答案「经典版」

微软认证考试试题及答案「经典版」微软认证考试试题及答案「经典版」微软认证计划进行了全面升级,以涵盖云技术相关的解决方案,并将此类技能的考评引入行业已获得高度认可和备受瞩目的认证考试体系,从而推动整个行业向云计算时代进行变革。

以下是关于微软认证考试试题及答案,欢迎大家参考!1. 您有一台运行 Windows Vista 的计算机。

您在计算机的新分区上安装 Windows 7。

您需要确保计算机总是在默认状态下启动 Windows Vista。

您应该怎么办?A. 运行 Bcdedit.exe 并指定 /default 参数。

B. 运行 Bcdedit.exe 并指定 /bootems 参数。

C. 在 Windows 7 分区的根目录中创建 boot.ini 文件。

D. 在 Windows Vista 分区的根目录中创建 boot.ini 文件。

Answer: A2. 您有一台运行Windows Vista (x86) 的计算机。

您需要执行Windows 7(64 位)的全新安装。

您应该怎么办?A. 从 Windows 7 安装媒体,运行 Rollback.exe。

B. 从 Windows 7 安装媒体,运行 Migsetup.exe。

C. 从 Windows 7 安装媒体启动计算机。

从“安装Windows”对话框,选择“升级”选项。

D. 从 Windows 7 安装媒体启动计算机。

从“安装Windows”对话框,选择“自定义(高级)”选项。

Answer: D3. 您打算在一台配备单个硬盘驱动器的计算机上安装 Windows 7。

该硬盘驱动器连接到一个RAID 控制器。

在安装过程中,您发现Windows 7 安装媒体中不包括安装 RAID 控制器所需的文件。

您需要确保可以在该硬盘驱动器上安装 Windows 7。

您应该怎么做?A. 插入 Windows 安装媒体并在计算机开机自检(POST)过程中按F8。

微软认证70-210模拟试卷1(题后含答案及解析)

微软认证70-210模拟试卷1(题后含答案及解析)

微软认证70-210模拟试卷1(题后含答案及解析) 题型有:1. 单选题 2. 多选题单选题1.You are the administrator of a Windows 2000 network. Your network includes 75 Windows NT Workstation 4.0 computers. You are adding 50 new PXE-compliant computers to the network. The hardware on each computer is configured identically.You are using a RIS image to deploy Windows 2000 Professional to the 50 computers. You successfully install Windows 2000 Professional on the first 10 computers. However, you cannot install Windows 2000 Professional on remaining 40 computers.What should you do?A.Configure the DHCP scope to add additional IP addresses.B.Run Rbfg.exe from the RemoteInstall\Admin folder on the RIS server.C.Modify the startup sequence in the CMOS of the remaining computers.D.Create computer accounts on the remaining computers in the Active Directory.正确答案:A解析:Explanation: RIS requires Active Directory, DNS and DHCP. The clients can either be PXE-compliant or they can use a Remote boot diskette. In this scenario, the DHCP server has run out of IP-addresses. By extending the scope by 40 IP addresses the installation on the remaining computers will be successful.Incorrect Answers:B: Rbfg.exe is used to create Remote Boot disks for computers that do not have PXE-compliant network cards. In this scenario, all clients are PXE-compliant and will thus be able to boot through the network and access the RIS image. It is thus not necessary to create Remote Boot disks.C: The 50 new computers have identical hardware. There installation worked on 10 of the new computers. There can thus be no incorrect startup sequence setting in CMOS.D: In this situation there is no need for prestaged computer accounts in Active Directory. Pre-staged computer accounts are used to select between RIS servers. By configuring the RIS server to answer only known client computers it would require user accounts for all RIS clients. This is not the default setting.2.You configure your Windows 2000 Professional computer for Internet Connection Sharing and for TCP/IP filtering as shown in the exhibit.You test your TCP/IP filtering configuration from another client computer. You can access web sites, but you cannot access FTP sites.What should you do to be able to access FTP sites?A.Add Port 21 to the TCP Ports section.B.Add Port 138 to the TCP Ports section.C.Add Port 21 to the IP Ports section.D.Add Port 138 to the IP Ports section.正确答案:A解析:Explanation: The FTP protocol uses the TCP port 21. In the exhibit the UDP port 21 has been incorrectly added instead of the TCP port.Incorrect answers:B: The FTP protocol uses Port 21 not Port 138.C: The port 21 should be added as a TCP port 21, not as a UDP port or as an IP protocol. IP is also a network protocol and not a port.D: The FTP protocol uses TCP port 21 not port 138. IP is also a network protocol and not a port.3.As a Ezonexam employee you are the desktop administrator of a Windows 2000 Professional computer.The Windows 2000 Professional computer has 25 MB of free disk space drive C and 800 MB of free disks pace on drive E. You are unable to print large documents because if inadequate disk space on drive C.You want to be able to use the space on drive E to print large documents.What should you do?A.From the Printer Properties dialog box, change the location field to E:\Winnt\System32\Spool\Printers.B.From the Print Server Properties dialog box, change the location of the spool folder to any existing file path on drive E.C.Copy the C:\Winnt\System32\Spool\Printers folder to the E:\Winnt\System32\Spool\Printers folder.D.Mount drive C as a subdirectory on drive E.正确答案:B解析:Explanation: When one is unable to print large documents then the hard disk space is insufficient for spooling. To remedy the situation you should create more free space on the hard disk. Since the question mentions that Drive C has 25 MB of free disk space and Disk E has 800 MB of free disk space, and there is an inability to print large documents due to inadequate disk space on Drive C, then it would be logical to change the location of the spool folder to any existing file path on Drive E if one wants to be able to print large documents.Incorrect answers:A: The Printer Properties dialog box is not the appropriate location from which to change the location of the spool folder.C: This procedure is not how one changes the location of the spool folder.D: There is no need to mount Drive C as a subdirectory on Drive E. Drive C will still have inadequate free disk space.多选题4.You are the network administrator for . Your network has 210 Windows 2000 Professional computers and eleven Windows 2000 Server computers. Users on the network save their work files in home folders on a network server. The NTFS partition that contains the home folders has Encrypting File System (EFS) enabled. A user named Sandra leaves . You decrypt the files for hermanager. When the manager attempts to open any of the files, he receives the following error message: “Access is denied.”You want the manager to be able to access the files.What should do? (Each correct answer presents a complete solution. Choose two.)A.Move the files from Sandra’s folder to the manager’s folder.B.Grant the manager NTFSFull Controlpermission to the files.C.Run theciphercommand to create a new file encryption key for the manager.D.Run theciphercommand to generate an EFS recovery agent key and certificate.E.Grant the manager NTFSList Folder Contentspermissions to the folder containing Sandra’s files.正确答案:A,B解析:Explanation:A: When a new file is created it inherits the permissions from its parent. A Move operation creates a new version of the resource you are moving if you are moving the resource to a different partition-for this reason, permissions of the parent are inherited. A Move operation does not create a new version of the resource if you are moving the resource to a different location on the same partition-for this reason, existing permissions are moved along with the resource.B: The NTFS Full Control permission allows a user to change permissions, take ownership, delete subfolders and files, and perform the actions granted by all other permissions.Incorrect answers:C, D: The Cipher utility allows you to encrypt files and folders as well as check the encryption statistics. However, this does not guarantee the manager access to the files because the files have been decrypted already and access was still denied.E: The NTFS List Folder Contents permission allows a user to see the names of files and subfolders in the folder. This is not the same as granting access.5.You are preparing to install Windows 2000 Professional on 75 new computers. You want to create a standard installation image to use on all the new computers. The computers have several different configurations of hard disks and hardware components.You install Windows 2000 Professional and other standard software on one of the computers. You log on to the computer using the local Administrator account. You configure the standard applications and customize the desktop settings you intend to deploy.You run the Setup Manager and create a Sysprep.inf file. You copy Sysprep.exe and Setupcl.exe to the C:\Sysprep folder. You run Sysprep.exe and run your third party disk imaging software.You copy the image to the several test computers and restart the computers. When the installation is complete, you find that some of the computers do not function at all. You also find that the desktop settings do not appear as you have configured them on the original computer.You want to correct the imaging process and ensure that all computers have the same standard desktop.What should you do? (Choose two)A.Copy Sysprep.inf to C:\Sysprep folder.B.Copy the Administrator profile to the Default User profile, and then grant permissions to the Everyone group to use the profile.C.Include the-pnpparameter for Sysprep.exe when you rerun that utility.D.Include the-nosidgenparameter for Sysprep.exe when you rerun that utility.正确答案:B,C解析:Explanation:B: A user profile is automatically created and maintains the desktop configuration for each user’s desktop on the local Windows 2000 computer. This user profile is created when the user logs on to a computer for the first time. An administrator profile, which maintains the administrators desktop configuration is created during the Windows 2000 Professional installation. In this scenario the administrator profile must be copied and used as the Default User profile, which is applied to all users. As all users are automatically placed in the Everyone user group, the Everyone user group must be granted permission to access this profile.C: Because the computers that Windows 2000 Professional will be installed onto have different hardware configurations a full plug and play detection must be done during the installation process. This can be accomplished by including the -pnp parameter to the sysprep.exe utility, as this parameter causes the plug and play detection utility to be used.Incorrect answers:A: When the installation is complete, you find that some of the computers do not function at all and that the desktop settings do not appear as they have been configured on the original computer. This indicates that the sysprep installation was successful. Therefore the sysprep.inf file must have already been in the C:\Sysprep folder (as is the default when using setupmgr.exe to create the file).D: The -nosidgen is only used on the initial computer where the clone image was made. It instructs the installation program not to generate the system information that is unique to each installation of Windows 2000 Professional. This parameter is not used here during the installation of Windows 2000 Professional on the target computers. It is therefore not relevant to this scenario.。

微软认证模拟试题

微软认证模拟试题

微软认证考试:企业技术篇(1)Windows NT Server 4.0 in EnterpriseSingle** Mutiple1. You transfer all of the user accounts,and files from a NetWareserver to Windows NT Server computer. You want all computers that previously were able to access the NetWare server to be able to access the Windows NT Server computer. What must you do?A. Install a Microsoft redirector on each client computer.B. Install Client Server for NetWare on each client computer.C. Install FTP server software on the Windows NT Server computer.D. Install Gateway(and client) Services for NetWare on the Windows NTServer computer.A2. you TCP/IP network has two subnets. You install a Windows NT Server computer that will function as a router connecting the two subnets.You want DHCP client computers on one suubnet to be able to access a DHCP server on the other subnet.Which additional service must you install on the Windows NT Server computer?A. SAP AgentB. DHCP Relay AgentC. RIP for inte rnet ProtocolD. RIP for NWLink IPX/SPX Compatible TranspoortB3. Your organization provides World Wide Web Services for 10 different companies. Each company has a registered domain name. You want to creat a seperate Web site for each company on a single Windows NT Server computer that has Microsoft internet information Server installed.What should you do to accomplish this ?(Choose two.)A. Assign multiple IP addresses to the Windows NT Serveer computer s network adapter.B. Assign the same IP address to each company s domain name on a DNS server.C. Assign a separate IP address to each company s WWW folder.D. Use WINS to Assign an IP address to a NetBOIS computer name. Map the computer name to each company s WWW folder.A C4. Situation:You company has a Windows NT Server network. The brokers at your firm each have laptop computers with Windows NT Workstation installed.You are developing a solution to improve network security.Required results:Allow the brokers at& nbsp;your firm remote access to the network from anylocation.Prevent all user accounts other than the brokers user accounts from remotely accessing the network.Optional desired results:Implement a method to protect passwords while they are transmitted.Implement a method to protect the data while it s being transmitted.Proposed solution:Require passwords with a minimum length of eight characters for all users, and force passwords to be changed every 40 days.Install RAS on one of the Windows NT Server computers on the network.Configure RAS security to allow only the brokers to dail remotely and to allow any authentication method.Install a hardware-based security host between the RAS server and the modems.Which results does the proposed solution produce?A. the proposed solution produces the required results and produces both of optional desired results.B. the proposed solution produces the required results and produces only one of optional desired results.C. the& proposed solution produces the required results but does not produce either of optional desired results.D. the proposed solution does not produce the required results.C5. Situation:You company has a Windows NT Server network. The brokers at your firm each have laptop computers with Windows NT Workstation installed.You are developing a solution to improve network security.Required results:Allow the brokers at your firm remote access to the network from any location.Prevent all user accounts other than the brokers user accounts from remotely accessing the network.Optional desired results:Implement a method to protect passwords while they are transmitted.Implement a method to protect the date while it s being transmitted.Proposed solution:Require passwords with a minimum length of eight characters for all users, and force passwords to be changed every 40 days.Install RAS on one of the Windows NT Server computers on the network.Configure RAS security to allow&n only the brokers to dail remotely to require Microsoft encrypted authentication,and to require data encryption.Configure RAS callback security to use a user-defined telephone number.Which results does the proposed solution produce?A. the proposed solution produces the required results and produces both of optional desired results.B. the proposed solution produces the required results and produces only one of optional desired results.C. the proposed solution produces the required results but does not produce either of optional desired results.D. the proposed solution does not produce the required results.D6. Situation:you receive reports from users of client computers in London that logon attempts and boot times are every slow ,and that browsing the network is unacceptably slow. Users of client computers in Mexico City do not report any problems with network performance.Required result:Increase the network performance in London to the same levels as in Mexico City.Optional desired r esults:Reduce WINS traffic over the 56-Kbps link.Reduce DHCP traffic over the 56-Kbps link.Maintain the same level of name resolution services while minimizing replication traffic over the 56-Kbps link.Reduce logon validation traffic over the 56-Kbps link.Proposed solution:Reinstall the Windows NT Server in London as a BDC.Add WINS and DHCP to the Windows NT Server computer in London.Configure all client computers in London to use the London WINS server.Configure the replicationGovernor registry entry on the BDC to 25 percent.Configure the two WINS servers as pull partners only.Which rsults does the proposed solution produce?A. the proposed solution produces the required results and produces all of the optional desired results.B. the proposed solution produces the required results and produces two of the optional desired results.C. the proposed solution produces the required results but does not produce any of the optional desired results.D. the proposed solution does not produce the required results.A7. Users report slow reponse times from one of the servers on your Windows NT Server network. This server acts as a file-and-print server. You suspect very high utilization on one of the disk drives.Which action providers the most information for determining which disk partition has the highest utilization?A.In Performance Monitor,view the LogicalDisk object.B.In Performance Monitor,view the Paging File object.C.In Performance Monitor,view the Servercounter for the Thread object.e the Diskperf utility to analyze the activity occurring on a per-file basis.A8. You receive a report that one subnet on you Windows NT Server network is experiencing a large amount of broadcast traffic.Which tool should you use to determine which computers are generating the most traffic?A.Response ProbeB.Performance MonitorC.Windows NT DiagnosticsD.Windows NT Server 4.0 Network MonitorD9. You Windows NT Server network uses the single master domain model.The master domain contains seven domain controllers and 2,000 user accounts. Using Performance Monitor,you determine that the PDC is being overloaded with synchronization to the BDCs.What should you do to reduce the load on the PDC?A. Add a new BDC to the domain.B. Stop the Net Logon service on the PDC.C. Increase the Pulse registry entry on the PDC.D. Increase the Pulse Concurrency registry entry on PDC.C10. You are running Windows NT Server 4.0 Network monitor on the Windows NT Server computer that functions as the DNS,DHCP,and WINS server for the network. All computers on the network use TCP/IP with DHCP,DNS,and WINS.You capture 1,200 packets.How should you configure the display filter to view only the packets pertaining to the assignment of IP addresses?A. Protocol==SMBB. Protocol==DHCPC. Protocol==BROWSERD. *NETBIOS Multicast(ETHERNET)<->*ANYB11. You are administrratoor of a Windows NT Server computer named Techs.Techs has an intel Pentium 133-MHz processor,32 MB of RAM,and 2-GB SCSI hard disk.Techs functions as a file-and-print server for 115 client computers.Users of client computers have recently started reporting slow reponse times when they access files located on Techs.You run Performance Monitor and gather the following average statistics.Computer:\\TECHSObject:Processor o%Processor Time80.835Object:MemoryPages/sec101.155Object:ServerBytes Total/sec84364.461Object:PhysicalDisk o%disk Time100.000What should you do Techs to provider the greatest increase in performance?A. Upgrade the processor.B. Upgrade RAM to 64 MBC. Upgrade Techs to a multiprocessor system.D. Implement a stripe set with parity.B12. you are using an accounting application to print checks.The printer jams in the middle of the print job.The accounting application will allow you to reprint the checks.You turn off the printer and clear the jammed checks.What should you to do in Print Manager to complete printing this batch of checks ?A.Se lect Resume from the Printer menu.B.Select Resume from the Document menu.C.Select Restart from the Document menu.D.Select Pause Printing from the Printer menu,and then resume printing.B13. Your Windows NT Server computer is configure with six SCSI hard disks.One hard disk is the system disk,and the other five are configured as a stripe set with parity.After a power outage,your server reboots,and you discover that two of the five hard disks in the stripe set wiyh parity have failed.You replace both failed hard disks.What else should you do to recover from the hard disk failure?A.Regenerate the stripe set with parity by using Disk Administrator.B.Wait for Windows Nt server to regenerate the stripe set with parity.C.Create a stripe set across all five hard disks,and then restore from tape bacpup.D.Create a stripe set with parity across all five disks,and then restore from tape backup.D14. After you install a new device driver for a SCSI hard disk, you discover that your Windows Server computer will not start.You do not have the Windows NT setup disks but you have an Emergency Repair disk.What must you do to recover the system?(Choose two.)A.Create the Windows NT setup disks by using the Winnt.exe program on anthor computer.B.Restore the registry from the Emergency Repair disk by using the Rdisk.exe utility.C.Boot with the Emergency Repair disk and recover the registry.D.Boot with the Windows NT setup disks and restore the registry from the Emergency Repair disk.AD15. You install Windows NT Server without creating an Emergency Repair disk. You then configure several SCSI devices and printers.You want to back up the configuration settings so that you can quickly restore the computer in the event of a startup failure.How should you do this?A.Save a copy of the registry by using the Windows NT Backup program.B.Save all configuration information to disk by using Disk Administrator.C.Make a copy of the registry hives by using Save Key in the Registry Editor.D.Creat e an Emergency Repair disk with the current configuration settings by using the Rdisk.exe utility.D16. Reduce logon validation traffic over the 56-Kbps link.Proposed solution:Reinstall the Windows NT Server in London as a BDC.Add WINS and DHCP to the Windows NT Server computer in London.Configure all client computers in London to use the London WINS server.Configure the replicationGovernor registry entry on the BDC to 25 percent.Configure the two WINS servers as pull partners only.Which rsults does the proposed solution produce?A. the proposed solution produces the required results and produces all of the optional desired results.B. the proposed solution produces the required results and produces two of the optional desired results.C. the proposed solution produces the required results but does not produce any of the optional desired results.D. the proposed solution does not produce the required results.A17. Users report slow reponse times from one of the servers on your Windows NT Server network. This server acts as a file-and-print server. You suspect very high utilization on one of the disk drives.Which action providers the most information for determining which disk partition has the highest utilization?A.In Performance Monitor,view the LogicalDisk object.B.In Performance Monitor,view the Paging File object.C.In Performance Monitor,view the Servercounter for the Thread object.e the Diskperf utility to analyze the activity occurring on a per-file basis.A18. You receive a report that one subnet on you Windows NT Server network is experiencing a large amount of broadcast traffic.Which tool should you use to determine which computers are generating the most traffic?A.Response ProbeB.Performance MonitorC.Windows NT DiagnosticsD.Windows NT Server 4.0 Network MonitorD19. You Windows NT Server network uses the single master domain model.The master domain contains seven domain controllers and 2,000 user accounts. Using Performance Monitor,you determine that the PDC is being overloaded with synchronization to the BDCs.What should you do to reduce the load on the PDC?A. Add a new BDC to the domain.B. Stop the Net Logon service on the PDC.C. Increase the Pulse registry entry on the PDC.D. Increase the Pulse Concurrency registry entry on PDC.C20. You are running Windows NT Server 4.0 Network monitor on the Windows NT Server computer that functions as the DNS,DHCP,and WINS server for the network. All computers on the network use TCP/IP with DHCP,DNS,and WINS.You capture 1,200 packets.How should you configure the display filter to view only the packets pertaining to the assignment of IP addresses?A. Protocol==SMBB. Protocol==DHCPC. Protocol==BROWSERD. *NETBIOS Multicast(ETHERNET)<->*ANYB21. You are administrratoor of a Windows NT Server computer named Techs.Techs has an intel Pentium 133-MHz processor,32 MB of RAM,and 2-GB SCSI hard disk.Techs functions as a file-and-print server for 115 client computers.Users of client computers have rece ntly started reporting slow reponse times when they access files located on Techs.You run Performance Monitor and gather the following average statistics. Computer:\\TECHSObject:Processor o%Processor Time80.835Object:MemoryPages/sec101.155Object:ServerBytes Total/sec84364.461Object:PhysicalDisk o%disk Time100.000What should you do Techs to provider the greatest increase in performance?A. Upgrade the processor.B. Upgrade RAM to 64 MBC. Upgrade Techs to a multiprocessor system.D. Implement a stripe set with parity.B22. you are using an accounting application to print checks.The printer jams in the middle of the print job.The accounting application will allow you to reprint the checks.You turn off the printer and clear the jammed checks.What should you to do in Print Manager to complete printing this batch of checks ?A.Select Resume from the Printer menu.B.Select Resume from the Document menu.C.Select Restart from the Document menuD.Select Pause Printing from the Printer menu,and then resume printing.B23. Your Windows NT Server computer is configure with six SCSI hard disks.One hard disk is the system disk,and the other five are configured as a stripe set with parity.After a power outage,your server reboots,and you discover that two of the five hard disks in the stripe set wiyh parity have failed.You replace both failed hard disks.What else should you do to recover from the hard disk failure?A.Regenerate the stripe set with parity by using Disk Administrator.B.Wait for Windows Nt server to regenerate the stripe set with parity.C.Create a stripe set across all five hard disks,and then restore from tape bacpup.D.Create a stripe set with parity across all five disks,and then restore from tape backup.D24. After you install a new device driver for a SCSI hard disk, you discover that your Windows NT Server computer will not start.You do not have the Windows NT setup disks but you have an Emergency Repair disk. What must you do to recover the system?(Choose two.)A.Create the Windows NT setup disks by using the Winnt.exe program on anthor computer.B.Restore the registry from the Emergency Repair disk by using the Rdisk.exe utility.C.Boot with the Emergency Repair disk and recover the registry.D.Boot with the Windows NT setup disks and restore the registry from the Emergency Repair disk.AD25. You install Windows NT Server without creating an Emergency Repair disk. You then configure several SCSI devices and printers.You want to back up the configuration settings so that you can quickly restore the computer in the event of a startup failure.How should you do this?A.Save a copy of the registry by using the Windows NT Backup program.B.Save all configuration information to disk by using Disk Administrator.C.Make a copy of the registry hives by using Save Key in the Registry Editor.D.Create an Emergency Repair disk with the current configuration settings by using the Rdisk.exeutility.D26. Reduce logon validation traffic over the 56-Kbps link.Proposed solution:Reinstall the Windows NT Server in London as a BDC.Add WINS and DHCP to the Windows NT Server computer in London.Configure all client computers in London to use the London WINS server.Configure the replicationGovernor registry entry on the BDC to 25 percent.Configure the two WINS servers as pull partners only.Which rsults does the proposed solution produce?A. the proposed solution produces the required results and produces all of the optional desired results.B. the proposed solution produces the required results and produces two of the optional desired results.C. the proposed solution produces the required results but does not produce any of the optional desired results.D. the proposed solution does not produce the required results.A27. Users report slow reponse times from one of the servers on your Windows NT Server network. This server acts as a file-and-print server. You suspec very high utilization on one of the disk drives.Which action providers the most information for determining which disk partition has the highest utilization?A.In Performance Monitor,view the LogicalDisk object.B.In Performance Monitor,view the Paging File object.C.In Performance Monitor,view the Servercounter for the Thread object.e the Diskperf utility to analyze the activity occurring on a per-file basis.A28. You receive a report that one subnet on you Windows NT Server network is experiencing a large amount of broadcast traffic.Which tool should you use to determine which computers are generating the most traffic?A.Response ProbeB.Performance MonitorC.Windows NT DiagnosticsD.Windows NT Server 4.0 Network MonitorD29. You Windows NT Server network uses the single master domain model.The master domain contains seven domain controllers and 2,000 user accounts. Using Performance Monitor,you determine that the PDC is being overloaded with synchronization to the BDCs.What should you do to reduce the load on the PDC? A. Add a new BDC to the domain.B. Stop the Net Logon service on the PDC.C. Increase the Pulse registry entry on the PDC.D. Increase the Pulse Concurrency registry entry on PDC.C30. You are running Windows NT Server 4.0 Network monitor on the Windows NT Server computer that functions as the DNS,DHCP,and WINS server for the network. All computers on the network use TCP/IP with DHCP,DNS,and WINS.You capture 1,200 packets.How should you configure the display filter to view only the packets pertaining to the assignment of IP addresses?A. Protocol==SMBB. Protocol==DHCPC. Protocol==BROWSERD. *NETBIOS Multicast(ETHERNET)<->*ANYB31. You are administrratoor of a Windows NT Server computer named Techs.Techs has an intel Pentium 133-MHz processor,32 MB of RAM,and 2-GB SCSI hard disk.Techs functions as afile-and-print server for 115 client computers.Users of client computers have recently started reporting slow reponse times when they access files located on Techs.You run Performance Monitor and gather the fol lowing average statistics.Computer:\\TECHSObject:Processor o%Processor Time80.835Object:MemoryPages/sec101.155Object:ServerBytes Total/sec84364.461Object:PhysicalDisk o%disk Time100.000What should you do Techs to provider the greatest increase in performance?A. Upgrade the processor.B. Upgrade RAM to 64 MBC. Upgrade Techs to a multiprocessor system.D. Implement a stripe set with parity.B32. you are using an accounting application to print checks.The printer jams in the middle of the print job.The accounting application will allow you to reprint the checks.You turn off the printer and clear the jammed checks.What should you to do in Print Manager to complete printing this batch of checks ?A.Select Resume from the Printer menu.B.Select Resume from the Document menu.C.Select Restart from the Document menu.D.Select Pause Printing from the Printer menu,and then resume printing.B33. Your Windows NT Server computer is configure with six SCSI hard disks.One hard disk is the system disk,and the other five are configured as a stripe set with parity.After a power outage,your server reboots,and you discover that two of the five hard disks in the stripe set wiyh parity have failed.You replace both failed hard disks.What else should you do to recover from the hard disk failure?A.Regenerate the stripe set with parity by using Disk Administrator.B.Wait for Windows Nt server to regenerate the stripe set with parity.C.Create a stripe set across all five hard disks,and then restore from tape bacpup.D.Create a stripe set with parity across all five disks,and then restore from tape backup.D34.After you install a new device driver for a SCSI hard disk, you discover that your Windows NT Server computer will not start.You do not have the Windows NT setup disks but you have an Emergency Repair disk.What must you do to recover the system?(Choose two.)A.Create the Windows NT setup disks by using the Winnt. exe program on anthor computer.B.Restore the registry from the Emergency Repair disk by using the Rdisk.exe utility.C.Boot with the Emergency Repair disk and recover the registry.D.Boot with the Windows NT setup disks and restore the registry from the Emergency Repair disk.AD35. You install Windows NT Server without creating an Emergency Repair disk. You then configure several SCSI devices and printers.You want to back up the configuration settings so that you can quickly restore the computer in the event of a startup failure.How should you do this?A.Save a copy of the registry by using the Windows NT Backup program.B.Save all configuration information to disk by using Disk Administrator.C.Make a copy of the registry hives by using Save Key in the Registry Editor.D.Create an Emergency Repair disk with the current configuration settings by using the Rdisk.exe utility.D微软认证模拟试题:IE4.0考题Additional components added in to IEAK that are custom, must be digitally signed and in What type of format?A. (. dat)B. (. ico)C. (. exe)D. (. cab)Answer: C, DCAB files are executables that are added into IEAK for custom component install. They should be :A. Approved by versionB. Digitally signedC. Approved by IE development teamD. Compressed for installationAnswer: BWhich of the following would allow your user to access certain files but at the same time avoid her from downloading unsigned controls?A. Do not place any URLs in any zone.B. Place URLs in question in the Restricted Sites Zone.C. Place URLs in question in the Restricted Sites Zone and set Download Unsigned ActiveX Controls to Disable.D. Place URLs in question in the Restriced Sites Zone with medium security settings.Answer: AWhen Installing IE 4.0 on a NT 4.0 Workstation, the user must login as which of the following to complete the installation.A. Member of Server OperatorsB. Any userC. Member of Power UsersD. Member of AdministratorsAnswer: C, DWhen Installing IE 4.0 on a Windows 95 machine, the user must login as which of the following to complete the installation.A. Member of Server OperatorsB. Any userC. Member of Power UsersD. Member of AdministratorsAnswer: BWhich settings will be imported from Netscape Navigator 3.0 to Internet Explorer 4.0?A. cookies, bookmarks, & proxy informationB. plug- ins and favoritesC. cookies, plug- ins and proxy settingsD. favorites, cookies and plug- insAnswer: AHow many favorites or favorite links can you add during a custom build of IE4.0 through IEAK?A. 20B. 10C. 200D. 100Answer: CHow many download sites can you add to a custom setup of IE4.0 through IEAK?A. 20B. 10C. 200D. 100Answer: BSuppose the following situation exists: Several developers at your company frequently download ActiveX components from the Internet for beta testing.Required Result:Prompt the developers before downloading signed ActiveX controls.Optional Desired Results:1) Enable the developers to download unsigned ActiveX controls.2) Enable the developers to run ActiveX scripts.Proposed Solution:Set up Internet Explorer and accept the default configuration.Which results does the proposed solution produce?A. The proposed solution produces the required result and both of the optional desired results.B. The proposed solution produces the required result and only one of the optional desired results.C. The proposed solution produces the required result but neither of the optional desired results.D. The proposed solution does not produce the required result.Answer: BWhere does IE get the information for the AutoComplete fearture?A. Favorites folderB. Manually AddedC. Temporary Internet Files folderD. History folderAnswer: DTo customize the control panel and my computer of a custom install of IE4.0 which files must be modified?A. Mycomp. htmB. Mycomp. httC. Controlp. htmD. Controlp. httAnswer: CFor an ISP using IEAK for IE4.0 what are the 2 types of user signups available?A. Internet sign- up serverB. Use sign up wizard in setupC. Serverless setupD. ISP connection wizardAnswer: A, CYou are an administrator for a global organization. Your users require multiple languages for the Internet Explorer. You currently have 3 different installation options and need them in 3 different languages. How many different times must you reset your system's regional settings in order to make your custom packages.A. noneB. sixC. threeD. nineAnswer: AThe resolution of a fully qualified domain name to an IP address uses what service?A. WINSB. DNSC. PPTPD. ARPAnswer: BAfter setting up a dialing parameters, How should you test to see if your configuration is correct?A. Do a test install and run setup. exeB. Run Setup. ins from command lineC. Click verify information on dialing parameters screenD. Click test sign up pageAnswer: DIn which stage of building a custom version of IE4.0 through IEAK ,will you be able to modify the security zone?A. Zone 1B. Zone 3C. Zone 4D. Zone 5Answer: D。

微软认证真题:基于.NET的Web应用程序开发

微软认证真题:基于.NET的Web应用程序开发

1:您创建了一个名为Address的用户控件,该控件在名为Address.ascx的文件中被定义。

Address显示一张HTML表的地址字段。

某些容器页面可能包含不止一个Address用户控件实例。

如,一个页面可能包含一个送货地址和一个付货地址。

您将一个名为Caption的公共属性添加到该Address用户控件。

标题属性将用于区分不同的实例。

您希望该标题在地址字段表格的第一个<td>元素显示。

您需要将代码添加到该表格的<td>元素,以显示标题。

您应该使用哪段代码?(A)A.<td><%=Caption%%>></td>B.<td><script runat=”server”>Caption</script></td>C.<td><script >document.write(“Caption”);</script><td>D.<td>=Caption</td>2:您为一家在线购物站点创建一个应用程序。

该应用程序使用一个Microsoft SQL Server 2000数据库。

数据库包含名为getProductsByCategory的存储过程,用于返回匹配指定类型代码的所有产品。

该类别代码以名为@ProdCode的参数形式提供。

该应用程序包括名为ShowProducts.aspx的页面。

您正用Visual 一调试ShowProducts.aspx.ShowProducts.aspx使用getProductsByCategory存储过程填充一个DataSet 对象。

您在getProductsByCategory中设置一个断点,以便能够在调试程序中单步调试该存储过程。

在调试getProductsByCategory时,您需要查看@ProdCode的当前位置。

微软70536认证题库

微软70536认证题库

1、您创建一个通过使用用户凭据运行的方法。

您需要使用Microsoft Windows组向用户授权。

您必须添加代码段,该代码段确定用户是否在名为Clerk的本地组中。

您应该使用哪个代码段?A. WindowsIdentity currentUser = WindowsIdentity.GetCurrent();foreach (IdentityReference grp in currentUser.Groups) {NTAccount grpAccount = ((NTAccount)grp.Translate(typeof(NTAccount)));isAuthorized = grpAccount.Value.Equals(Environment.MachineName + @"\Clerk");if(isAuthorized)break;}B. WindowsPrincipal currentUser = (WindowsPrincipal)Thread.CurrentPrincipal;isAuthorized = currentUser.IsInRole("Clerk");C. GenericPrincipal currentUser = (GenericPrincipal) Thread.CurrentPrincipal;isAuthorized = currentUser.IsInRole("Clerk");D. WindowsPrincipal currentUser = (WindowsPrincipal)Thread.CurrentPrincipal;isAuthorized = currentUser.IsInRole(Environment.MachineName);答案:B2、您正在开发一个将在网络上传输敏感信息的服务器应用程序。

web基础试题及答案

web基础试题及答案

web基础试题及答案一、单项选择题(每题2分,共20分)1. 以下哪个协议是用于网页传输的?A. FTPB. HTTPC. SMTPD. POP3答案:B2. HTML5是下列哪个组织制定的?A. W3CB. IETFC. ISOD. IEEE答案:A3. 在HTML中,用于定义最重要的标题的标签是?A. `<h1>`B. `<h2>`C. `<h3>`D. `<h6>`答案:A4. CSS选择器中,类选择器使用哪种符号?A. #B. .C. @D. %答案:B5. JavaScript中,用于获取元素的id属性的函数是?A. getElementById()B. getElementsByClassName()C. querySelector()D. getElementsByTagName()答案:A6. 在HTML中,用于创建无序列表的标签是?A. `<ul>`B. `<ol>`C. `<li>`D. `<dl>`答案:A7. 下列哪个属性用于设置图片的替代文本?A. srcB. altC. titleD. href答案:B8. 在CSS中,哪个属性用于设置元素的背景颜色?A. background-colorB. backgroundC. bgcolorD. color答案:A9. JavaScript中,用于输出信息到控制台的函数是?A. console.log()B. alert()C. print()D. echo()答案:A10. 在HTML中,用于定义客户端脚本的标签是?A. `<script>`B. `<noscript>`C. `<applet>`D. `<embed>`答案:A二、多项选择题(每题3分,共15分)1. 下列哪些是HTML5的新特性?A. 语义化标签B. 音频和视频元素C. 画布元素D. 框架元素答案:ABC2. CSS中,哪些属性可以设置字体样式?A. font-familyB. font-sizeC. font-weightD. color答案:ABC3. JavaScript中,哪些方法可以用来监听事件?A. onclickB. onmouseoverC. addEventListenerD. onsubmit答案:BCD4. 下列哪些标签在HTML中是块级元素?A. `<div>`B. `<p>`C. `<span>`D. `<ul>`答案:ABD5. 在CSS中,哪些选择器可以用于选择多个元素?A. 类选择器B. 标签选择器C. 属性选择器D. 通配符选择器答案:ABD三、判断题(每题1分,共10分)1. HTML中的`<br>`标签用于创建新段落。

大学web考试题及答案详解

大学web考试题及答案详解

大学web考试题及答案详解一、选择题(每题2分,共20分)1. HTML5中,用于定义最重要的标题的标签是()。

A. `<h1>`B. `<h2>`C. `<h3>`D. `<h6>`答案:A2. CSS中,以下哪个属性用于设置文本的对齐方式?()A. `color`B. `text-align`C. `font-size`D. `background-color`答案:B3. JavaScript中,用于获取页面元素的DOM方法是什么?()A. `getElementById()`B. `getElementsByClassName()`C. `querySelector()`D. A和C都正确答案:D4. 在HTML中,用于创建一个有序列表的标签是()。

A. `<ul>`B. `<ol>`C. `<dl>`D. `<table>`答案:B5. 对于一个网页来说,响应式设计的主要优势是什么?()A. 提高搜索引擎排名B. 提高用户体验C. 减少开发成本D. B和C都是答案:D6. 在JavaScript中,`document.write`方法的作用是什么?()A. 创建一个新文档B. 将内容写入到HTML文档中C. 读取用户输入D. 打开一个新的浏览器窗口答案:B7. CSS中,`box-sizing`属性的默认值是什么?()A. `content-box`B. `border-box`C. `padding-box`D. `margin-box`答案:A8. 在HTML5中,`<canvas>`元素用于()。

A. 嵌入视频B. 嵌入音频C. 绘制图形D. 显示图像答案:C9. JavaScript中的`window.onload`事件何时触发?()A. 当浏览器开始加载网页B. 当浏览器结束加载网页C. 当用户点击网页D. 当用户关闭网页答案:B10. 在HTML中,`<meta>`标签通常用于指定()。

2021年微软认证模拟试题 IIS考题

2021年微软认证模拟试题 IIS考题

微软认证模拟试题 IIS考题1. You setup three Intra web sites and set them to use host headers. How do users find them?A Modify Hosts files to the serverB Modify Hosts files to all the clientsC Modify Lmhost files to all the clientsD Modify Wins Server2. What must you do if you want to find all unfiltered files?a @contents= unfliteredb @ unfiltered = TRUEc Tun srchenu.exed List noise word file3. How can you maximize the performance if you using SSL?A Add more RamB Increase CPUC Fast HDD Use SSL certificate4. What is the easiest way to find how many 32K objects have HTML extensions?A Import a log file to an excel spread sheetB Site ServerC Use NT Explorer to search the web site DIRD Use FTP5. You want to decrease the amount of TAM that index sever uses. Choose 2 ?A Increase number of Word ListB Decrease number of Word ListC Increase size o f Word ListD Decrease size of Word List6.-What IIS entries would be stored in the IIS Metabase. Select 2A) Location of the IIS help filesB) Virtual Folder security informationC) Home Directory permissionsD) Index Server settingsE) Site Server Express settings7.- You currently store NNTP files in a single virtual directory on a single RAID 5 disk array. How can you improve performance ?A) Create additional virtual folders on the single disk arrayB) Create additional virtual folders on multiple disk arraysC) Move the virtual folder location onto a non RAID 5 disk8- -You want to enable logging of your web site. What option should you choose to allow the lowest processing overhead.A) Normal Text LogB) Compressed Normal Text LogC) Logging to a SQL databaseD) Logging to a remote SQL database 模板,内容仅供参考。

2023年微软招聘笔试试题及答案

2023年微软招聘笔试试题及答案

2023年微软招聘笔试试题及答案第一题题目:请解释什么是云计算?答案:云计算是一种通过网络提供计算资源和服务的模式。

它允许用户通过互联网访问虚拟化的计算资源,如计算能力、存储空间和软件应用。

这些资源可以根据需要进行动态分配和管理,为用户提供灵活、可扩展和可靠的计算环境。

第二题题目:请简述微软Azure的主要产品和服务。

答案:微软Azure是一种云计算平台,它提供一系列的产品和服务,包括:1. 虚拟机:Azure提供可扩展的虚拟机实例,用户可以根据需要创建和管理虚拟机来运行各种应用程序和服务。

2. 存储:Azure提供持久性存储服务,包括Blob存储、文件存储和表格存储,可以用于存储和访问各种数据。

3. 数据库:Azure提供多种数据库服务,包括SQL数据库、Cosmos DB和Azure数据库服务,适用于不同类型的数据存储和管理需求。

4. 人工智能:Azure提供人工智能服务,如计算机视觉、语音识别和自然语言处理,使开发人员能够构建智能应用程序和系统。

5. 网络:Azure提供虚拟网络服务,包括虚拟网络、子网和网络安全组,用户可以在Azure中创建可扩展的网络架构。

6. 安全和合规性:Azure提供安全和合规性服务,包括身份验证、访问控制、数据加密和合规性认证,以帮助用户确保数据的安全性和合规性。

第三题题目:请解释什么是软件开发生命周期(SDLC)?答案:软件开发生命周期(SDLC)是指软件开发过程中的一系列阶段和活动。

这些阶段包括需求分析、系统设计、编码、测试、部署和维护。

SDLC旨在确保软件开发过程的组织性、可控性和可重复性,以确保交付高质量的软件产品。

第四题题目:请解释什么是敏捷开发(Agile Development)?答案:敏捷开发是一种软件开发方法论,强调在开发过程中的灵活性、协作和快速迭代。

敏捷开发通过将开发过程分解为多个短期迭代周期(一般为2到4周),每个周期中完成一部分功能,以满足客户需求。

微软认证经典习题及答案17

微软认证经典习题及答案17

微软认证经典习题及答案17小编为大家收集整理了《微软认证经典习题及答案17》供大家参考,希望对大家有所帮助!!!81. 您有一台运行 Windows 7 的计算机。

您安装一个第三方 Web 浏览器。

您发现 HTML 文件与 Windows Internet Explorer 不再有关联。

您需要确保每当打开一个 HTML 文件时都会启动“Internet Explorer”。

从“Internet 选项”中,您应该怎么做?A. 打开“连接”选项卡并单击“设置”。

B. 打开“常规”选项卡并单击“用户默认”。

考试用书C. 打开“程序”选项卡并单击“设为默认值”。

D. 打开“程序”选项卡并单击“管理加载项”。

Answer: C82. 您有一台运行 Windows 7 和 Windows Internet Explorer 8 的计算机。

您已经在这台计算机上安装了一个第三方 Internet Explorer 工具栏。

您需要暂时禁用该工具栏。

解决方案不得影响任何其他已安装的工具栏。

您应该怎么做?A. 启动“InPrivate 浏览会话”。

B. 运行 Msconfig.exe 并启用“有选择的启动”。

C. 从“工具”菜单中,选择“兼容性视图设置”。

D. 从“工具”菜单中,打开“管理加载项”并修改加载项设置。

Answer: D83. 您有一台名为 Computer1 的计算机运行 Windows 7 和Windows Internet Explorer 8。

一位用户报告 Computer1 有很多Internet Explorer 配置问题,在浏览 Internet 时导致不稳定。

您需要配置“Internet Explorer”使用所有默认设置。

从“Internet 选项”中,您应该怎么做?A. 从“高级”选项卡中,单击“重置”。

B. 从“程序”选项卡中,单击“设置程序”。

C. 从“高级”选项卡中,单击“还原高级设置”。

计算机软件能力考试Web服务与中间件历年真题2024精细分析

计算机软件能力考试Web服务与中间件历年真题2024精细分析

计算机软件能力考试Web服务与中间件历年真题2024精细分析2024年计算机软件能力考试Web服务与中间件真题紧扣当下的网络技术发展趋势,重点考察了Web服务与中间件相关的知识和能力。

本文将对该真题进行精细分析,以帮助考生更好地理解和应对类似题目。

一、题目要求简析本次考试的题目是"计算机软件能力考试Web服务与中间件历年真题2024精细分析"。

从题目中可以看出,这是一篇关于计算机软件能力考试中涉及到的Web服务与中间件真题的分析文章。

所以,在写作时我们要全面解析2024年的真题,突出重点并提供详细的分析。

二、Web服务与中间件的重要性Web服务与中间件是当前互联网和软件开发领域的重要组成部分。

Web服务是基于Web技术,通过标准的互联网协议提供的、跨平台的应用程序接口(API)。

中间件则是一种支持不同应用之间进行通信与交互的软件层。

这两者的结合,为现代软件开发、系统集成和信息交换提供了强大的支持。

三、2024年真题详解以下是2024年计算机软件能力考试Web服务与中间件真题的详细解析:真题一:在Web服务中,SOAP与RESTful的区别是什么?请简要描述。

解析:该题目考察了考生对于Web服务中的两种常见通信协议的了解程度。

SOAP是一种基于XML的消息传输协议,主要用于描述Web服务的接口和数据格式。

RESTful则是一种基于HTTP的更加简洁、轻量级的通信协议,具有可扩展性和灵活性。

考生可从协议特点、使用场景、技术实现等方面进行简要描述。

真题二:请简述Web服务中WSDL文档的作用和内容。

解析:该题目考察了考生对于Web服务描述语言(WSDL)的理解。

WSDL是一种用于描述Web服务接口的XML格式文档。

它包含了Web服务的具体信息,包括服务地址、操作方法、参数、返回值等。

考生可以简要描述WSDL文档的作用和内容,如帮助客户端了解和使用Web服务等。

真题三:在中间件领域,消息队列是什么?并简要说明其使用场景。

微软MCITP考试70-646题库

微软MCITP考试70-646题库

Exam:70-646Title:PRO:Windows Server2008,Server AdministratorQUESTION 1You need to recommend a Windows Server 2008 R2 server configuration that meets the following requirements:·Supports the installation of Microsoft SQL Server 2008·Provides redundancy for SQL services if a single server failsWhat should you recommend?A.Install a Server Core installation of Windows Server 2008 R2 Enterprise on two servers. Configure theservers in a failover cluster.B.Install a full installation of Windows Server 2008 R2 Standard on two servers. Configure Network LoadBalancing on the two servers.C.Install a full installation of Windows Server 2008 R2 Enterprise on two servers. Configure Network LoadBalancing on the two servers.D.Install a full installation of Windows Server 2008 R2 Enterprise on two servers. Configure the servers in afailover cluster.Answer: DQUESTION 2Your network consists of a single Active Directory domain. Your main office has an Internet connection.Your company plans to open a branch office. The branch office will connect to the main office by using a WAN link. The WAN link will have limited bandwidth. The branch office will not have access to the Internet. The branch office will contain 30 Windows Server 2008 R2 servers. You need to plan the deployment of the servers in the branch office.The deployment must meet the following requirements:·Installations must be automated.·Computers must be automatically activated.·Network traffic between the offices must be minimized.What should you include in your plan?A.In the branch office, implement Key Management Service (KMS), a DHCP server, and WindowsDeployment Services (WDS).e Multiple Activation Key (MAK) Independent Activation on the servers. In the main office, implement aDHCP server and Windows Deployment Services (WDS).C.In the main office, implement Windows Deployment Services (WDS). In the branch office, implement aDHCP server and implement the Key Management Service (KMS).e Multiple Activation Key (MAK) Independent Activation on the servers. In the main office, implement aDHCP server. In the branch office, implement Windows Deployment Services (WDS).Answer: AQUESTION 3Your network contains a Webbasedapplication that runs on Windows Server 2003. You plan to migrate the Webbased application to Windows Server 2008 R2. You need to recommend a server configuration to support the Webbased application.The server configuration must meet the following requirements:·Ensure that the application is available to all users if a single server?fails·Support the installation of .NET applications·Minimize software costsWhat should you recommend?A.Install the Server Core installation of Windows Server 2008 R2 Standard on two servers. Configure theservers in a Network Load Balancing cluster.B.Install the full installation of Windows Server 2008 R2 Web on two servers. Configure the servers in aNetwork Load Balancing cluster.C.Install the full installation of Windows Server 2008 R2 Enterprise on two servers. Configure the servers in afailover cluster.D.Install the full installation of Windows Server 2008 R2 Datacenter on two servers. Configure the servers in afailover cluster.Answer: BQUESTION 4Your company purchases 15 new 64bit servers as follows:·Five of the servers have a single processor.·Five of the servers have a single dual core processor.·Five of the servers have two quad core processors.You plan to deploy Windows Server 2008 R2 on the new servers by using Windows Deployment Services (WDS). You need to recommend a WDS install image strategy that meets the following requirements: ·Minimizes the number of install images·Supports the deployment of Windows Server 2008 R2What should you recommend?A.one install image file that contains three install imagesB.one install image file that contains a single install imageC.two install image files that each contain a single install imageD.three install image files that each contain a single install imageAnswer: BQUESTION 5Your network contains a single Active Directory site.You plan to deploy 1,000 new computers that will run Windows 7 Enterprise. The new computers have Preboot Execution Environment (PXE) network adapters.You need to plan the deployment of the new computers to meet the following requirements:·Support 50 simultaneous installations of Windows 7·Minimize the impact of network operations during the deployment of the new computers·Minimize the amount of time required to install Windows 7 on the new computersWhat should you include in your plan?A.Deploy the Windows Deployment Services (WDS) server role. Configure the IP Helper tables on all routers.B.Deploy the Windows Deployment Services (WDS) server role. Configure each WDS server by using nativemode.C.Deploy the Windows Deployment Services (WDS) server role and the Transport Server feature. Configurethe Transport Server to use a custom network profile.D.Deploy the Windows Deployment Services (WDS) server role and the Transport Server feature. Configurethe Transport Server to use a static multicast address range.Answer: DQUESTION 6Your network consists of a single Active Directory site that includes two network segments. The network segments connect by using a router that is RFC 1542 compliant.You plan to use Windows Deployment Services (WDS) to deploy Windows Server 2008 R2 servers. All new servers support PreBoot Execution Environment (PXE).You need to design a deployment strategy to meet the following requirements:·Support Windows Server?2008 R2·Deploy the servers by using WDS in both network segments·Minimize the number of servers used to support WDSWhat should you include in your design?A.Deploy one server. Install WDS and DHCP on the server. Configure the IP Helper tables on the routerbetween the network segments.B.Deploy two servers. Install WDS and DHCP on both servers. Place one server on each of the networksegments. Configure both servers to support DHCP option 60.C.Deploy two servers. Install WDS and DHCP on both servers. Place one server on each of the networksegments. Configure both servers to support DHCP option 252.D.Deploy two servers. Install WDS and DHCP on one server. Install DHCP on the other server. Place oneserver on each of the network segments. Configure both servers to support DHCP option 60.Answer: AQUESTION 7Your company has 250 branch offices. Your network contains an Active Directory domain. The domain controllers run Windows Server 2008 R2. You plan to deploy Readonly Domain Controllers (RODCs) in the branch offices.You need to plan the deployment of the RODCs to meet the following requirements:·Build each RODC at the designated branch office.·Ensure that the RODC installation source files do not contain cached secrets.·Minimize the bandwidth used during the initial synchronization of Active Directory Domain Services(AD?DS).What should you include in your plan?e Windows Server Backup to perform a full backup of an existing domain controller. Use the backup tobuild the new RODCs.e Windows Server Backup to perform a custom backup of the critical volumes of an existing domaincontroller. Use the backup to build the new RODCs.C.Create a DFS namespace that contains the Active Directory database from one of the existing domaincontrollers. Build the RODCs by using an answer file.D.Create an RODC installation media. Build the RODCs from the RODC installation media.Answer: DQUESTION 8Your network consists of a single Active Directory domain. The network is located on the 172.16.0.0/23 subnet.The company hires temporary employees. You provide user accounts and computers to the temporary employees. The temporary employees receive computers that are outside the Active Directory domain. The temporary employees use their computers to connect to the network by using wired connections and wireless connections. The company's security policy specifies that the computers connected to the network must have the latest updates for the operating system.You need to plan the network's security so that it complies with the company's security policy. What shouldyou include in your plan?A.Implement a Network Access Protection (NAP) strategy for the 172.16.0.0/23 subnet.B.Create an extranet domain within the same forest. Migrate the temporary employees' user accounts to theextranet domain. Install the necessary domain resources on the 172.16.0.0/23 subnet.C.Move the temporary employees' user accounts to a new organizational unit (OU). Create a new GroupPolicy object (GPO) that uses an intranet Microsoft Update server. Link the new GPO to the new OU.D.Create a new subnet in a perimeter network. Relocate the wireless access point to the perimeter network.Require authentication through a VPN server before allowing access to the internal resources.Answer: AQUESTION 9Your company has a main office and two branch offices. The main office is located in London. The branch offices are located in New York and Paris. Your network consists of an Active Directory forest that contains three domains named , , and . All domain controllers run Windows Server 2008 R2 and have the DNS Server server role installed. The domain controllers for contoso. com are located in the London office. The domain controllers for are located in the Paris office. The domain controllers for are located in the New York office. A domain controller in the domain has a standard primary DNS zone for . Adomain controller in the domain has a standard primary DNS zone for . A domain controller in the domain has a standard primary DNS zone for newyork.contoso. com.You need to plan a name resolution strategy for the Paris office that meets the following requirements:·If a WAN link fails, clients must be able to resolve hostnames for .·If a WAN link fails, clients must be able to resolve hostnames for .·The DNS servers in Paris must be updated when new authoritative DNS servers are added to newyork. .What should you include in your plan?A.Configure conditional forwarding for . Configure conditional forwarding for newyork.contoso.com.B.Create a standard secondary zone for . Create a standard secondary zone for newyork..C.Convert the standard zone into an Active Directoryintegrated zone. Add all DNS servers in the forest to theroot hints list.D.Create an Active Directoryintegrated stub zone for . Create an Active Directoryintegrated stubzone for .Answer: BQUESTION 10Your network consists of a single Active Directory domain. All domain controllers run Windows Server 2008 R2. You need to implement a Certificate Services solution that meets the following requirements:·Automates the distribution of certificates for internal users·Ensures that the network's certificate infrastructure is as secure as possible·Gives external users access to resources that use certificatebased authenticationWhat should you do?A.Deploy an online standalone root certification authority (CA). Deploy an offline standalone root CA.B.Deploy an offline enterprise root certification authority (CA). Deploy an offline enterprise subordinate CA.C.Deploy an offline standalone root certification authority (CA). Deploy an online enterprise subordinate CA.Deploy an online standalone subordinate CA.D.Deploy an online standalone root certification authority (CA). Deploy an online enterprise subordinate CA.Deploy an online standalone subordinate CA.Answer: CQUESTION 11Your network contains an Active Directory forest named .You plan to deploy a new child domain named . The child domain will contain two domain controllers. Both domain controllers will have the DNS Server server role installed. All users and computers in the branch office will be members of the domain. You need to plan the DNS infrastructure for the child domain to meet the following requirements:·Ensure resources in the root domain are accessible by fully qualified domain names.·Ensure resources in the child domain are accessible by fully qualified domain names.·Provide name resolution services in the event that a single server fails for a prolonged period of time.·Automatically recognize when new DNS servers are added to or removed from the domain. What should you include in your plan?A.On both domain controllers, add a conditional forwarder for and create a standard primaryzone for .B.On both domain controllers, modify the root hints to include the domain controllers for . On onedomain controller, create an Active Directoryintegrated zone for .C.On one domain controller create an Active Directoryintegrated zone for and create anActive Directoryintegrated stub zone for .D.On one domain controller, create a standard primary zone for . On the other domain controller,create a standard secondary zone for .Answer: CQUESTION 12Your network is configured as shown in the following diagram.You deploy an enterprise certification authority (CA) on the internal network. You also deploy a Microsoft Online Responder on the internal network. You need to recommend a secure method for Internet users to verify the validity of individual certificates.The solution must minimize network bandwidth.What should you recommend?A.Deploy a subordinate CA on the perimeter network.B.Install a standalone CA and the Network Device Enrollment Service (NDES) on a server on the perimeternetwork.C.Install a Network Policy Server (NPS) on a server on the perimeter network. Redirect authenticationrequests to a server on the internal network.D.Install Microsoft Internet Information Services (IIS) on a server on the perimeter network. Configure IIS toredirect requests to the Online Responder on the internal network.Answer: DQUESTION 13Your network contains two DHCP servers. The DHCP servers are named DHCP1 and DHCP2. The internal network contains 1,000 DHCP client computers that are located on a single subnet. A router separates the internal network from the Internet. The router has a single IP address on the internal interface. DHCP1 has the following scope information.·Starting IP address: 172.16.0.1·Ending IP address: 172.16.7.255·Subnet mask: 255.255.240.0You need to provide a faulttolerant DHCP infrastructure that supports the client computers on the internal network. In the event that a DHCP server fails, all client computers must be able to obtain a valid IP address. How should you configure DHCP2?A.Create a scope for the subnet 172.16.0.0/20. Configure the scope to use a starting IP address of 172.16.8.1and an ending IP address of 172.16.15.254.B.Create a scope for the subnet 172.16.0.0/21. Configure the scope to use a starting IP address of 172.16.0.1and an ending IP address of 172.16.15.254.C.Create a scope for the subnet 172.16.8.0/21. Configure the scope to use a starting IP address of 172.16.8.1and an ending IP address of 172.16.10.254.D.Create a scope for the subnet 172.17.0.0/16. Configure the scope to use a starting IP address of 172.17.0.1and an ending IP address of 172.17.255.254.Answer: AQUESTION 14Your company has a main office and three branch offices. The network consists of a single ActiveDirectory domain. Each office contains an Active Directory domain controller. You need to create a DNS infrastructure for the network that meets the following requirements:·The DNS infrastructure must allow the client computers in each office to register DNS names within their respective offices.·The client computers must be able to resolve names for hosts in all offices.What should you do?A.Create an Active Directoryintegrated zone at the main office site.B.Create a standard primary zone at the main office site and at each branch office site.C.Create a standard primary zone at the main office site. Create a secondary zone at each branch office site.D.Create a standard primary zone at the main office site. Create an Active Directoryintegrated stub zone ateach branch office site.Answer: AQUESTION 15Your network consists of a single Active Directory domain. The network contains two Windows Server 2008 R2 computers named Server1 and Server2. The company has two identical print devices. You plan to deploy print services. You need to plan a print services infrastructure to meet the following requirements:·Manage the print queue from a central location.·Make the print services available, even if one of the print devices fails.What should you include in your plan?A.Install and share a printer on Server1. Enable printer pooling.B.Install the Remote Desktop Services server role on both servers. Configure Remote Desktop ConnectionBroker (RD Connection Broker).C.Install and share a printer on Server1. Install and share a printer on Server2. Use Print Management toinstall the printers on the client computers.D.Add Server1 and Server2 to a Network Load Balancing cluster. Install a printer on each node of the cluster. Answer: AQUESTION 16Your network contains two servers that run the Server Core installation of Windows Server 2008 R2. The two servers are part of a Network Load Balancing cluster.The cluster hosts a Web site. Administrators use client computers that run Windows 7.You need to recommend a strategy that allows the administrators to remotely manage the Network Load Balancing cluster. Your strategy must support automation.What should you recommend?A.On the servers, enable Windows Remote Management (WinRM).B.On the servers, add the administrators to the Remote Desktop Users group.C.On the Windows 7 client computers, enable Windows Remote Management (WinRM).D.On the Windows 7 client computers, add the administrators to the Remote Desktop Users group. Answer: AQUESTION 17Your company has a main office and a branch office. You plan to deploy a Readonly Domain Controller (RODC) in the branch office. You need to plan a strategy to manage the RODC. Your plan must meet the following requirements:·Allow branch office support technicians to maintain drivers and disks on the RODC·Prevent branch office support technicians from managing domain user accountsWhat should you include in your plan?A.Configure the RODC for Administrator Role Separation.B.Configure the RODC to replicate the password for the branch office support technicians.C.Set NTFS permissions on the Active Directory database to Read & Execute for the branch office supporttechnicians.D.Set NTFS permissions on the Active Directory database to Deny Full Control for the branch office supporttechnicians.Answer: AQUESTION 18Your network consists of a single Active Directory domain. The network contains five Windows Server2008 R2 servers that host Web applications. You need to plan a remote management strategy to managethe Web servers. Your plan must meet the following requirements:·Allow Web developers to configure features on the Web sites·Prevent Web developers from having full administrative rights on the Web serversWhat should you include in your plan?A.Configure request filtering on each Web server.B.Configure authorization rules for Web developers on each Web server.C.Configure the security settings in Internet Explorer for all Web developers by using a Group Policy.D.Add the Web developers to the Account Operators group in the domain.Answer: BQUESTION 19Your network consists of a single Active Directory domain. The functional level of the domain is Windows Server 2008 R2. The domain contains 200 Windows Server 2008 R2 servers. You need to plan a monitoring solution that meets the following requirements.·Sends a notification by email to the administrator if an application error occurs on any of the servers·Uses the minimum amount of administrative effortWhat should you include in your plan?A.On one server, create event subscriptions for each server. On the server, attach tasks to the applicationerror events.B.On one server, create an Event Trace Sessions Data Collector Set. On all servers, create a SystemPerformance Data Collector Set.C.On all servers, create event subscriptions for one server. On all servers, attach a task for the applicationerror events.D.On all servers, create a System Performance Data Collector Set. On one server, configure the reportsettings for the new Data Collector set.Answer: AQUESTION 20Your network consists of a single Active Directory domain. The network includes a branch office named Branch1. Branch1 contains 50 member servers that run Windows Server 2008 R2. An organizational unit (OU) named Branch1Servers contains the computer objects for the servers in Branch1. A global group named Branch1admins contains the user accounts for the administrators. Administrators maintain all member servers in Branch1. You need to recommend a solution that allows the members of Branch1admins group to perform the following tasks on the Branch1 member servers.·Stop and start services·Change registry settingsWhat should you recommend?A.Add the Branch1admins group to the Power Users local group on each server in Branch1.B.Add the Branch1admins group to the Administrators local group on each server in Branch1.C.Assign the Branch1admins group change permissions to the Branch1Servers OU and to all child objects.D.Assign the Branch1admins group Full Control permissions on the Branch1Servers OU and to all childobjects.Answer: BQUESTION 21Your network consists of a single Active Directory domain. The network includes a branch office named Branch1. Branch1 contains a Readonly Domain Controller (RODC) named Server1. A global group named Branch1?admins contains the user accounts for administrators. Administrators manage the client computers and servers in Branch1.You need to recommend a solution for delegating control of Server1. Your solution must meet the following requirements:·Allow the members of the Branch1admins group to administer Server1 including, change device drivers and install operating system updates by using Windows Update.·Provide the Branch1admins group rights on Server1 only.·Prevent Branch1admins group from modifying Active Directory objects.What should you recommend?A.Add the Branch1admins global group to the Server Operators builtin local group.B.Add the members of the Branch1admins global group to the Administrators builtin local group of Server1.C.Grant Full Control permission on the Server1 computer object in the domain to the Branch1admins group.D.Move the Server1 computer object to a new organizational unit (OU) named Branch1servers. Grant FullControl permission on the Branch1servers OU to the Branch1admins group.Answer: BQUESTION 22Your network consists of a single Active Directory forest. The forest functional level is Windows Server 2008R2. The forest contains two domains named and . contains a user named User1. contains an organizational unit (OU) named Security.You need to give User1 administrative rights so that he can manage Group Policies for the Security OU.You want to achieve this goal while meeting the following requirements:·User1 must be able to create and configure Group Policies in .·User1 must be able to link Group Policies to the Security OU.·User1 must be granted the least administrative rights necessary to achieve the goal.What should you do?A.Add User1 to the Administrators group for .B.Add User1 to the Group Policy Creator Owners group in . Modify the permissions on theSecurity OU.C.Run the Delegation of Control Wizard on the Security OU. In the Group Policy Management Console,modify the permissions of the Group Policy Objects container in the domain.D.Run the Delegation of Control Wizard on . In the Group Policy Management Console,modify the permissions of the Group Policy Objects container in the domain.Answer: CQUESTION 23Your network contains several branch offices. All servers run Windows Server 2008 R2. Each branch office contains a domain controller and a file server. The DHCP Server server role is installed on the branch office domain controllers. Each office has a branch office administrator.You need to delegate the administration of DHCP to meet the following requirements:·Allow branch office administrators to manage DHCP scopes for their own office·Prevent the branch office administrators from managing DHCP scopes in other offices·Minimize administrative effortWhat should you do?A.In the Active Directory domain, add the branch office administrators to the Server Operators builtin localgroup.B.In the Active Directory domain, add the branch office administrators to the Network Configuration Operatorsbuiltinlocal group.C.In each branch office, migrate the DHCP Server server role to the file server. On each file server, add thebranch office administrator to the DHCP Administrators local group.D.In each branch office, migrate the DHCP Server server role to the file server. In the Active Directory domain,add the branch office administrators to the DHCP Administrators domain local group.Answer: CQUESTION 24Your company has a single Active Directory domain. You have 30 database servers that run Windows Server 2008 R2.The computer accounts for the database servers are stored in an organizational unit (OU) named Data. The user accounts for the database administrators are stored in an OU named Admin. The database administrators are members of a global group named D_Admins. You must allow the database administrators to perform administrative tasks on the database servers. You must prevent the database administrators from performing administrative tasks on other servers. What should you do?A.Deploy a Group Policy to the Data OU.B.Deploy a Group Policy to the Admin OU.C.Add D_Admins to the Domain Admins global group.D.Add D_Admins to the Server Operators builtin local group.Answer: AQUESTION 25Your network consists of a single Active Directory forest that contains a root domain and two child domains. All servers run Windows Server 2008 R2. A corporate policy has the following requirements:·All local guest accounts must be renamed and disabled.·All local administrator accounts must be renamed.You need to recommend a solution that meets the requirements of the corporate policy.What should you recommend?A.Implement a Group Policy object (GPO) for each domain.B.Implement a Group Policy object (GPO) for the root domain.C.Deploy Network Policy and Access Services (NPAS) on all domain controllers in each domain.D.Deploy Active Directory Rights Management Services (AD RMS) on the root domain controllers.Answer: AQUESTION 26Your network consists of a single Active Directory domain. The functional level of the domain is Windows Server 2008 R2. All domain controllers run Windows Server 2008 R2.A corporate policy requires that the users from the research department have higher levels of account and password security than other users in the domain. You need to recommend a solution that meets the requirements of the corporate policy. Your solution must minimize hardware and software costs.What should you recommend?A.Create a new Active Directory site. Deploy a Group Policy object (GPO) to the site.B.Create a new Password Settings Object (PSO) for the research department's users.C.Create a new organizational unit (OU) named Research in the existing domain. Deploy a Group Policyobject (GPO) to the Research OU.D.Create a new domain in the forest. Add the research department's user accounts to the new domain.Configure a new security policy in the new domain.Answer: B。

web认证考试真题全部201题_

web认证考试真题全部201题_

(全部201题)S e c t i o n A1.你是一家公司的We b应用开发人员,你创建了一个A S P.N E T的应用程序来访问销售情况的数据。

这些数据都存储在服务器S e r v e r A上的M i c r o s o f t S Q L S e r v e r2000数据库中。

公司购买了一个工厂自动化应用软件,这个应用软件安装在S e r v e r A上,S e r v e r A上另外有一个名为F a c t o r y的S Q L S e r v e r2000实例和一个F a c t o r y D B的数据库。

你用Wi n d o w s集成验证的方法与F a c t o r y D B连接。

你想在你的A S P.N E T应用程序中新增一个页面来显示F a c t o r y D B中的库存数据,你用S q l C o n n e c t i o n对象连接数据库,现在你需要在S e r v e r A上创建一个名为F a c t o r y的连接字符串和S Q L S e r v e r实例中的F a c t o r y D B数据库连接。

你该用哪个字符串?A.“S e r v e r=S e r v e r A;D a t a S o u r c e=F a c t o r y;I n i t i a l C a t a l o g=F a c t o r y D B;I n t e g r a t e dS e c u r i t y=S S P I”B.“S e r v e r=S e r v e r A;D a t a S o u r c e=F a c t o r y;D a t a b a s e=F a c t o r y D B;I n t e g r a t e d S e c u r i t y=S S P1”C.“D a t a S o u r c e=S e r v e r A\F a c t o r y;I n i t i a l C a t e g o r y=F a c t o r y;I n t e g r a t e d S e c u r i t y=S S P1”D.“D a t a S o u r c e=S e r v e r A\F a c t o r y;D a t a b a s e=F a c t o r y D B;I n t e g r a t e d S e c u r i t y=S S P1”正确答案:D2.你正在为一家公司的I n t e r n e t网站创建A S P.N E T应用程序。

2021年微软70536认证题库及答案9

2021年微软70536认证题库及答案9

2021年微软70536认证题库及答案9小编为大家收集整理了《202*年微软70536认证题库及答案9》供大家参考,希望对大家有所帮助!!!36.您编写以下代码以使用平台调用从Win32应用程序编程接口(API)中调用函数。

intrc=MessageBox(hWnd,text,caption,type);您需要定义方法原型。

您应该使用哪个代码段:A. [DllImport("user32")]public static extern intWin32API_User32_MessageBox(inthWnd, String text, String caption, uint type);B. [DllImport("user32")]public static extern intMessageBoxA(inthWnd, Stringtext,String caption, uint type);C. [DllImport(@"C:\WINDOWS\system32\user32.dll")]public static extern intMessageBox(inthWnd, String text,String caption, uint type);D. [DllImport("user32")]public static extern intMessageBox(inthWnd, String text,String caption, uint type);Answer: D38.您需要为一个事件编写多播委托。

该事件还必须能够使用EventHandler委托。

您应该使用哪个代码段?A. public delegateboolPowerDeviceOn( DateTimeautoPowerOff );B. public delegate voidPowerDeviceOn( DateTimeautoPowerOff );C. public delegate boolPowerDeviceOn (object sender, EventArgsautoPowerOff ) ;D. public delegate intPowerDeviceOn( bool result-,DateTimeautoPowerOff );Answer:C40.您正在开发一个应用程序,以存储有关公司销售小组和技术技术支持小组的数据。

微软认证考试aspnet练习题及答案供参考

微软认证考试aspnet练习题及答案供参考

__微软认证考试aspnet练习题及答案供参考微软认证考试练习题及答案微软认证考试练习题及答案你创建了一个.应用程序,该程序将运行在TK公司的WEB站点上。

你的应用程序包括100个WEB页面。

你想配置你的应用程序,当HTTP代码发生错误时,可显示自定义的错误信息给用户。

同时你想当程序发生错误时记录到日志中。

你想以最小的配置影响完成该目标,下面的那二件事你必需做(选二项)(AD)A、为应用程序在Global.asax文件中创建ApplicationError过程,来限制.代码错误;B、为应用程序在Web.config文件中创建ApplicationError过程,来限制.代码错误;C、为应用程序在Global.asax文件中创建CustomErros事务,来限制HTTP错误;D、为应用程序在Web.config文件中创建CustomErros过程,来限制HTTP错误;E、为应用程序中的每个页面添加Page指令,来限制限制.代码错误;F、为应用程序中的每个页面添加Page指令,来限制限制HTTP错误;注:Web.config文件没有ApplicationError过程故B错,同理C也错。

E、F与本题无关。

你为TK公司创建了一个.应用程序,该应用程序早期的版本运用一个用VB6.0编写的ActiveX组件。

新的.应用程序将接着运用这个ActiveX组件。

你想使你的.应用程序和ActiveX组件间的数据汇合尽可能地快。

下面那二个操作你应当选择(CD)A、用ODBC绑定;B、运用late绑定;C、运用early绑定;D、设置页面Page指令中的pat属性为True;E、设置页面Page指令中的pat属性为False注:pat属性当设为 true 时,允许在单线程单元 (STA) 线程上执行页。

这允许页调用 STA 组件,例如用 Microsoft Visual Basic 6.0 开发的组件。

将该属性设为 true 还允许页调用 + 1.0 组件,该组件要求可以访问非托管 Active Server Pages () 内置对象。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

第一组题(1,2,4不确定)背景信息:您正在开发一项订单处理Web服务:可供多个国家/地区的客户端使用。

业务要求:为遵守服务级别协议(SLA),订单处理服务必须在处理每份订单时更新以下性能指标:处理的订单总数平均处理时间(以秒为单位)在Applicationservices类中创建性能计数器,并提供一个方法来收集数据。

技术要求:客户端将通过使用.NET Framework调用订单处理服务。

订单处理服务要求将订单日期存储为UTC DateTime值。

如果客户端提供的DateTime值不是UTC DataTime值,则必须假定DateTime值为订单处理服务所在的时区的本地值。

有效的电子邮件地址必须符合以下要求:●电子邮件地址必须以至少三个字母数字字符开头,后跟@符号,然后是域。

●域必须以至少两个字母数字字符开产学研,后跟一个句点(.),然后是至少两个字母数字字符。

订单处理服务必须能够记录对已提交订单执行的所有步骤。

应用程序结构:备注图片隐藏文字(订单处理服务可接受由客户定义的自定义步骤。

)(并且行号中的由两个字符组成的前缀标识这些代码所属的特定文件)Order.CSOrderProcessor.csOP01 public class ProcessCompleteOP02 {OP03 public Order order;OP04 Public OrderProcessor Processor;OP05 }OP06OP07 public class OrderProcessorOP08 {OP09 public event EventHandler ProcessiongComplete;OP10 public delegate bool ProcessOrderStep(Order order);OP11OP12 private event ProcessOrderStep OrderProcesses;OP13OP14 public void SubmitOrder(string email,int cartId,DateTime orderDate) OP15 {OP16 if(!IsValidEmail(email))OP17 throw new ApplicationException(“Invalid Email address”); OP18OP19 var order =new Order();OP20 order.Email =email;OP21 order.CartId=cartId;OP22 Order.OrderDate=NormalizedOrderDate(orderDate);OP23 ProcessOrder(order);OP24OP25 if(order.Error)OP26 throw new ApplicationException(“Error processing order”);OP27OP28 ApplicationServices.LogOrderFinished(order);OP29 }OP30OP31 private DateTime NormalizedOrderDate(DateTime inputOrderDate)OP32 {OP33 return DateTime.Now;OP34 }OP35OP36 public void AddOrderProcessStep(ProcessOrderStep newOrderStepProcess) OP37 {OP38 OrderProcesses +=newOrderStepProcess;OP39 }OP40OP41 private bool RunCutomerStep(Order order)OP42 {OP43 return true;OP44 }OP45OP46 private void ProcessOrder(Order order)OP47 {OP48 OrderProcesses.Invoke(order);OP49 order.Error=RunCustomerStep(order);OP50OP51 ProcessingComplete.Invoke(…);OP52 }OP53OP54 private bool IsValidEmail(string email)OP55 {OP56 if(email.IndexOf(“@”)>0)OP57 {OP58 return true;OP59 }OP60 return false;OP61 }OP62 }OrderRepository.csOrderProcessingSteps.csApplicationServices.cs1.按客户和订单日期从用久性存储中检索特定报告所需的订单,然后将其序列化为流。

您需要确保仅在必要时,将订单加载到内存中。

您应该将哪个代码段用作OrderRepository.cs文件中OrdersOnDate函数的主体?A.foreach(intcartId in _repository.CartIdsForCustomer(customerID)){Order order=_repository.LoadOrder(cartId);if(order.OrderDate==date){yieldretun order;}}B. int[] carts=_repository.CartIdsForCustomer(customerId);Order order=_repository.LoadOrder(carts[cartId]);List<Order> result=new List<Order>();if(order.OrderDate==date){result.Add(order);}return result;C. Var list=new LinkedList<Order>();foreach(intcartId in _repository.CartIdsForCustomer(customerId)){Order order=_repository.LoadOrder(cartId);if(Order.OrderDate==date){list.AddFirst(order);}}IEnumberator<Order> result =list.GetEnumerator();Return result as IEnumberable<Order>;D. int[] carts=_repository.CartIdsForCustomer(customerId);Order order=_repository.LoadOrder(carts[cartId]);if(order.OrderDate==date){return new Order[]{order};}{return new Order[0];}答案:A2.客户通过提供名为CustomerAssembly的.NET Framework程序集来定义一个自定义步骤。

该程序集必须包含一个包括静态方法的公共类。

该静态方法必须接受一个Order参数并返回一个表示自定义步骤的结果的bool值。

您应该将哪个代码段用作OrderProcessor.cs文件中RunCustomerStep函数的主体?A. Assembly customerSteps = AppDomain.CurrentDomain.Load("CustomerAssembly"); foreach (Type type in customerSteps.GetTypes()){foreach(Methodinfo method in type.GetMethods()){ParameterInfo[] parameters = method.GetParameters();if (parameters.Length == 2 && parameters[0].ParameterType == typeof(Order) && parameters[1].ParameterType == typeof(bool) && parameters[1].IsRetval){return (bool)method.Invoke(null, new object[] { order });}}}throw new ApplicationException("No step found");B. Assembly customerSteps = AppDomain.CurrentDomain.Load("CustomerAssembly"); MethodInfocustomerStep=(MethodInfo)customerSteps.CreateInstance("OrderProcessor.ProcessOrderStep");return (bool)customerStep.Invoke(null,new object[]{order});throw new ApplicationException("No step found");C. Assembly customerSteps = AppDomain.CurrentDomain.Load("CustomerAssembly");foreach (Type type in customerSteps.GetTypes()){foreach(Methodinfo method in type.GetMethods()){ParameterInfo[] parameters = method.GetParameters();if (parameters.Length == 1 && parameters[0].ParameterType == typeof (Order) &&method.ReturnType == typeof(bool)){return (bool)method.Invoke(null, new object[] { order });}}}throw new ApplicationException("No step found");D.AssemblycustomerSteps = AppDomain.CurrentDomain.Load("CustomerAssembly"); MethodInfocustomerStep=(MethodInfo)Activator.CreateInstance(typeof(OrderProcessor.ProcessOrderStep),new object[]{"bool","Order"});return (bool)customerStep.Inoke(null,new object[]{order});throw new ApplicationException("No step found");答案:B3.您需要确保客户端提供的DateTime值以正确的格式存储。

相关文档
最新文档