网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()
A

<a href=’mailto:${contextParam.webmasterEmail}’>contact us</a>

B

<a href=’mailto:${applicationScope.webmasterEmail}’>contact us</a>

C

<a href=’mailto:${contextInitParam.webmasterEmail}’>contact us</a>

D

<a href=’mailto:${initParam.webmasterEmail}’>contact us</a>


参考答案

参考解析
解析: 暂无解析
更多 “单选题All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()A a href=’mailto:${contextParam.webmasterEmail}’contact us/aB a href=’mailto:${applicationScope.webmasterEmail}’contact us/aC a href=’mailto:${contextInitParam.webmasterEmail}’contact us/aD a href=’mailto:${initParam.webmasterEmail}’contact us/a” 相关考题
考题 A developer has created a web application that includes a servlet for each use case in the application.These servlets have become rather difficult to maintain because the request processing methods havebecome very large. There is also common processing code in many servlets because these use cases arevery similar. Which two design patterns can be used together to refactor and simplify this web application?()A、ProxyB、View HelperC、Front ControllerD、Session FacadeE、Business DelegateF、Model-View-Controller

考题 You are designing a Windows Azure web application.  All users authenticate by using their Active Directory Domain Services (AD DS) credentials.  You need to recommend an approach for enabling single sign-on for domain-authenticated users.   Which two actions should you recommend?()A、 Use Forms authenticationto generate claims.B、 Use Active Directory Federation Services (AD FS) to generate claims.C、 Use SqlMembershipProvider in the web application.D、 Use Windows Identity Foundation in the web application.

考题 You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deployment descriptor: 10. 11.footerEmail 12.joe@estates-r-us.biz 13. Which EL code snippet will insert this context parameter into the footer?()A、a href=’mailto:${footerEmail}’Contact me/aB、a href=’mailto:${initParam@footerEmail}’Contact me/aC、a href=’mailto:${initParam.footerEmail}’Contact me/aD、a href=’mailto:${contextParam@footerEmail}’Contact me/aE、a href=’mailto:${contextParam.footerEmail}’Contact me/a

考题 All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()A、a href=’mailto:${contextParam.webmasterEmail}’contact us/aB、a href=’mailto:${applicationScope.webmasterEmail}’contact us/aC、a href=’mailto:${contextInitParam.webmasterEmail}’contact us/aD、a href=’mailto:${initParam.webmasterEmail}’contact us/a

考题 A Company.com developer has created a web application that includes a servlet for each use case in the application. These servlets have become rather difficult to maintain because the request processing methods have become very large. There is also common processing code in many servlets because these use cases are very similar.  Which two design patterns can be used together to refactor and simplify this web application? ()A、 ProxyB、 View HelperC、 Front ControllerD、 Session FaçadeE、 Business DelegateF、 Model-View-Controller

考题 Every morning, you inspect your company's development and staging servers. You do this to ensure that the servers have the same versions of all files in your Web application.For security reasons, you can only access the staging server through FTP.You need to synchronize files from the staging server so that the staging server matches the development server.You want to achieve this goal by using the minimum amount of administrative effort. Which tool should you use?() A、FTPB、XCOPYC、the Publish Web toolD、the Copy Web tool

考题 You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()A、Enable WebDAV.B、Enable Server Side Includes.C、Configure both Web sites to use different IP addresses.D、Configure both Web sites to use different application pools.

考题 You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application.myStrings.resxmyStrings.enCA.resxmyString.en-US.resxmyStrings.fr-CA.resxmyStrings.es-MX.resx resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()A、Add the following configuration section to the Web.config file. B、Set the directive for each page in your site as follows:%@ page="" uiculture="“Auto”"C、Add the following code segment to the pages load event.lblName.Text = @”{myStrings}Name”; lblAddress.Text = @”{myStrings}Address”; lblEmail.Text = @”{myStrings}Email”; lblPhone.Text = @”{myStrings}Phone”;D、Add the following code segment to the pages load event. lblName.Text = Resources.myStrings.Name; lblAddress.Text = Resources.myStrings.Address; lblEmail.Text = Resources.myStrings.Email; lblPhone.Text = Resources.myStrings.Phone;

考题 You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()A、Enable WebDAV.B、Enable Server Side Includes.C、Configure both Web sites to use different IP addresses.D、Configure both Web sites to use different application pools.

考题 You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use?()A、WebAuditEventB、WebEventManagerC、WebBaseEventD、WebRequestEvent

考题 You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled. The application requires access to environment variables on each computer. You need to ensure that users who do not have administrative permissions can install the application. Which deployment method should you use? ()A、Start from Web.B、Install from Web.C、Start from network shareD、Install from network share.

考题 Your network consists of a single Active Directory domain. You have 10 Web servers run Windows Server 2003 Service Pack 2 (SP2). You need to archive all of the application event logs for all the Web servers. The archived logs must contain all information from the original logs. What should you do? ()A、Connect to each Web Server by using Event Viewer. Save the Application logs as the CSV file type.B、Connect to each Web Server by using Event Viewer. Save the Application logs as the Event Log file type.C、On each Web server, open the Security Configuration and Analysis snap-in, analyze the computer, and then export the settings.D、Run Security Configuration Wizard for each Web Server. Save the data to an .inf file.

考题 You have a server that runs Windows Server 2008. The Web Server (IIS) role is installed.  You plan to host multiple Web sites on the server. You configure a single IP address for the server. All Web sites are registered in DNS to point to the single IP address.  You need to ensure that each Web site only responds to requests by name from all client computers.  What should you do?()A、Configue a unique port for each Web site.B、Configue a unique IP address for each Web site.C、Configue a unique Host Header for each Web site.D、Edit the Hosts file on the server to add all the Web site names associated to the network address.

考题 Your company has an Active Directory Domain Services (AD DS) domain. All servers run Windows Server 2008 R2. You have a Remote Desktop Session Host (RD Session Host) server and a Remote Desktop Web Access (RD Web Access) server. You enable several RemoteApp applications on the RD Session Host server. You need to configure access to RemoteApp applications so that RD Web Access users see only applications to which they have been granted access. What should you do?()A、Use the RemoteApp Wizard to add to the RemoteApp Programs list setting.B、Assign domain users and domain security groups to each RemoteApp application.C、Use the RemoteApp Wizard to configure the RemoteApp program is available through RD Web Access setting.D、Specify custom menu locations on the RD Session Host server for each domain security group by using a Group Policy object (GPO).

考题 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. Windows Server 2008 is run by your company. The company network isconfigured as an Active Directory domain named wiikigo.com. The network has a Web server namedWEB1. The domain users use http://web1 to access WEB1. You have a self-signed certificate generatedfor WEB1 and have WEB1 configured to use SSL. Now you receive report from users saying that they geta warning message when they use https://web1 to connect to WEB1.You have to make sure that users can connect to WEB1 without receiving a warning message. So what action should you perform?()A、Join WEB1 to the wiikigo.com domain. Reissue the self-signed certificate. Request all the users to connect to WEB1 by using https: //web1.wiikigo.com.B、Create a DNS Host (A) Record for WEB1 in the wiikigo.com zone. Reissue the self-signed certificate.Request all the users to connect to WEB1 by using https: //web1.wiikigo.com.C、The https: //web1 name should be added to the list of Trusted Sites zone on all the computers in the domain.D、Open the Certificates snap-in on WEB1. The self-signed certificate should be exported to a web1.cerfile.Have the web1.cer file installed on all the computers in the domain.

考题 单选题You have created a web application that you license to real estate brokers. The webapp is highly customizable including the email address of the broker, which is placed on the footer of each page. This isconfigured as a context parameter in the deployment descriptor: 10. 11.footerEmail 12.joe@estates-r-us.biz 13. Which EL code snippet will insert this context parameter into the footer?()A a href=’mailto:${footerEmail}’Contact me/aB a href=’mailto:${initParam@footerEmail}’Contact me/aC a href=’mailto:${initParam.footerEmail}’Contact me/aD a href=’mailto:${contextParam@footerEmail}’Contact me/aE a href=’mailto:${contextParam.footerEmail}’Contact me/a

考题 单选题You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()A Enable WebDAV.B Enable Server Side Includes.C Configure both Web sites to use different IP addresses.D Configure both Web sites to use different application pools.

考题 单选题Every morning, you inspect your company's development and staging servers. You do this to ensure that the servers have the same versions of all files in your Web application.For security reasons, you can only access the staging server through FTP.You need to synchronize files from the staging server so that the staging server matches the development server.You want to achieve this goal by using the minimum amount of administrative effort. Which tool should you use?()A FTPB XCOPYC the Publish Web toolD the Copy Web tool

考题 单选题You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use? ()A WebAuditEventB WebEventManagerC WebBaseEventD WebRequestEvent

考题 单选题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. Windows Server 2008 is run by your company. The company network isconfigured as an Active Directory domain named wiikigo.com. The network has a Web server namedWEB1. The domain users use http://web1 to access WEB1. You have a self-signed certificate generatedfor WEB1 and have WEB1 configured to use SSL. Now you receive report from users saying that they geta warning message when they use https://web1 to connect to WEB1.You have to make sure that users can connect to WEB1 without receiving a warning message. So what action should you perform?()A Join WEB1 to the wiikigo.com domain. Reissue the self-signed certificate. Request all the users to connect to WEB1 by using https: //web1.wiikigo.com.B Create a DNS Host (A) Record for WEB1 in the wiikigo.com zone. Reissue the self-signed certificate.Request all the users to connect to WEB1 by using https: //web1.wiikigo.com.C The https: //web1 name should be added to the list of Trusted Sites zone on all the computers in the domain.D Open the Certificates snap-in on WEB1. The self-signed certificate should be exported to a web1.cerfile.Have the web1.cer file installed on all the computers in the domain.

考题 单选题You write a Web application. This application must support multiple languages. You store the localized strings in the application as resources. You want these resources to be accessed according to a users language preference. You create the following resource files in the App_GlobalResources folder of your application.myStrings.resxmyStrings.enCA.resxmyString.en-US.resxmyStrings.fr-CA.resxmyStrings.es-MX.resx resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone. You create a Web Form that contains one label for each of these strings. You need to ensure that the correct localized version of each string is displayed in each label, according to a users language preference. What should you do? ()A Add the following configuration section to the Web.config file. B Set the directive for each page in your site as follows:%@ page= uiculture=“Auto”C Add the following code segment to the pages load event.lblName.Text = @”{myStrings}Name”; lblAddress.Text = @”{myStrings}Address”; lblEmail.Text = @”{myStrings}Email”; lblPhone.Text = @”{myStrings}Phone”;D Add the following code segment to the pages load event. lblName.Text = Resources.myStrings.Name; lblAddress.Text = Resources.myStrings.Address; lblEmail.Text = Resources.myStrings.Email; lblPhone.Text = Resources.myStrings.Phone;

考题 单选题You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled. The application requires access to environment variables on each computer. You need to ensure that users who do not have administrative permissions can install the application. Which deployment method should you use? ()A Start from Web.B Install from Web.C Start from network shareD Install from network share.

考题 单选题Your network consists of a single Active Directory domain. You have 10 Web servers run Windows Server 2003 Service Pack 2 (SP2). You need to archive all of the application event logs for all the Web servers. The archived logs must contain all information from the original logs. What should you do? ()A Connect to each Web Server by using Event Viewer. Save the Application logs as the CSV file type.B Connect to each Web Server by using Event Viewer. Save the Application logs as the Event Log file type.C On each Web server, open the Security Configuration and Analysis snap-in, analyze the computer, and then export the settings.D Run Security Configuration Wizard for each Web Server. Save the data to an .inf file.

考题 单选题You have a Web server named Server1 that runs Windows Server 2003 Service Pack 2 (SP2). Server1 hosts one Web site. You create a second Web site that hosts a third-party Web application named App1. The vendor of the third-party application states that the application does not support host headers. You need to ensure that users can access both Web sites. What should you do?()A Enable WebDAV.B Enable Server Side Includes.C Configure both Web sites to use different IP addresses.D Configure both Web sites to use different application pools.

考题 单选题Your company has an Active Directory Domain Services (AD DS) domain. All servers run Windows Server 2008 R2. You have a Remote Desktop Session Host (RD Session Host) server an d a Remote Desktop Web Access (RD Web Access) server.You enable several RemoteApp applications on the RD Session Host server.You need to configure access to RemoteApp applications so that RD Web Access users see only applications to which they have been granted access. What should you do?()A Use the RemoteApp Wizard to add to the RemoteApp Programs list setting.B Assign domain users and domain security groups to each RemoteApp application.C Use the RemoteApp Wizard to configure the RemoteApp program is a vailable through RD Web Access setting.D Specify custom menu locations on the RD Session Host server for each domain security group by using a Group Policy object (GPO).

考题 单选题You have a server that runs Windows Server 2008. The Web Server (IIS) role is installed.  You plan to host multiple Web sites on the server. You configure a single IP address for the server. All Web sites are registered in DNS to point to the single IP address.  You need to ensure that each Web site only responds to requests by name from all client computers.  What should you do?()A Configue a unique port for each Web site.B Configue a unique IP address for each Web site.C Configue a unique Host Header for each Web site.D Edit the Hosts file on the server to add all the Web site names associated to the network address.

考题 单选题Your web application views all have the same header, which includes the  tag in the  elementof the rendered HTML. You have decided to remove this redundant HTML code from your JSPs and put itinto a single JSP called /WEB-INF/jsp/header.jsp. However, the title of each page is unique, so you havedecided to use a variable called pageTitle to parameterize this in the header JSP, like this: 10.${param.pageTitle} Which JSP code snippet should you use in your main view JSPs to insert the header and pass thepageTitle variable?()A jsp:insert page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:insertB jsp:include page=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeC jsp:include file=’/WEB-INF/jsp/header.jsp’. ${pageTitle=’Welcome Page’}. /jsp:includeD jsp:insert page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:insertE jsp:include page=’/WEB-INF/jsp/header.jsp’. jsp:param name=’pageTitle’ value=’Welcome Page’ / . /jsp:include

考题 单选题All of your JSPs need to have a link that permits users to email the web master. This web application islicensed to many small businesses, each of which have a different email address for the web master. Youhave decided to use a context parameter that you specify in the deployment descriptor, like this: 42. 43.webmasterEmail 44.master@example.com 45. Which JSP code snippet creates this email link?()A a href=’mailto:${contextParam.webmasterEmail}’contact us/aB a href=’mailto:${applicationScope.webmasterEmail}’contact us/aC a href=’mailto:${contextInitParam.webmasterEmail}’contact us/aD a href=’mailto:${initParam.webmasterEmail}’contact us/a