A.增加一个CompareValidator控件到Web窗体。设置它的ControlToValidate属性值为txtDate; 设置它的Type属性值为Date;设置它的Operator属性值为DataTypeCheck。
B. 增加一个RangeValidator控件到Web窗体。设置它的ControlToValidate属性值为txtDate;设 置它的Type属性值为Date;设置它的MinimumValue属性值为01/01/1900;MaximumValue 属性值为当前日期。
C. 增加一个CustomValidator控件到Web窗体。设置它的ControlToValidate属性值为txtDate; 然后在partial 类写一个返回Boolean值的日期验证方法。然后设置ClientValidationFunction 属性值为刚才方法的名称。
D. 增加一个RegularExpressionValidator控件到Web窗体。设置它的ControlToValidate属性值为 txtDate;设置ValidationExpression属性值为验证用户输入数据格式为nn-nn-nnnn的正则表 达式,其中n代表从0到9的数字。
第1题
.Youneedtominimizetheamountoftimeittakesforclientcomputerstodownloadacertificaterevocationlist(CRL).Whatshouldyoudo()
A.InstallandconfigureanOnlineResponder.
B.Installandconfigureanadditionaldomaincontroller.
C.ImporttheRootCAcertificateintotheTrustedRootCertificationAuthoritiesstoreonallclientworkstations.
D.ImporttheIssuingCAcertificateintotheTrustedRootCertificationAuthoritiesstoreonallclientworkstations.
第2题
located in a branch office. You view the BranchCache configuration of Server1 as shown in the exhibit. (Click the Exhibit button.) You need to ensure that client computers in the branch office retrieve cached files from Server1 only.What should you do on Server1?()
A.Install the BranchCache for Network Files role service
B.Install the Services for Network File System role service
C.Run netsh.exe branchcache set service mode=DISTRIBUTED
D.Run netsh.exe branchcache set service mode=HOSTEDSERVER
第3题
gopenedondomaincontrollersandontheissuingCA.YouneedtoallowuserstorequestcertificatesfromaWebinterface.YouinstalltheActiveDirectoryCertificateServices(ADCS)serverrole.Whatshouldyoudonext()
A.ConfiguretheOnlineResponderRoleServiceonamemberserver.
B.ConfiguretheOnlineResponderRoleServiceonadomaincontroller.
C.ConfiguretheCertificateEnrollmentWebServiceroleserviceonamemberserver.
D.ConfiguretheCertificateEnrollmentWebServiceroleserviceonadomaincontroller.
第4题
to a library book catalog. The following code segment defines the service contract. (Line numbers are included for reference only.)01 [ServiceContract()]02 [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]03 public Class LibraryService04 {05 public Book GetBookByTitle(string title)06 {07 ...08 }0910 [WebGet(UriTemplate = "Book/{id}")]11 public Book GetBookById(string id)12 {13 ...14 }15 }Library patrons want the ability to search the catalog by title.You need to ensure that the GetBookByTitle method is exposed as a service method.Which code segment should you insert at line 04?()
A. [WebGet(UriTemplate = "Book/{title}")]
B. [WebGet(UriTemplate = "BookByTitle/{title}")]
C. [WebGet(UriTemplate = "Book/{titleToSearch}")]
D. [WebGet(UriTemplate = "{titleToSearch}")]
第5题
A. 设置页属性 AutoEventWireup="False"。移除Web窗体元素中onunload="Page_Unload" 。
B. 设置页属性 AutoEventWireup="False"。在Web窗体元素中增加 OnUnload="Page_Unload" 。
C. 设置页属性AutoEventWireup="False"。增加Web窗体属性autocomplete=on。
D. 设置页属性AutoEventWireup="True".
第6题
ws Communication Foundation (WCF) service.You are adding a service reference to the WCF service. You need to ensure that the generated proxy does not block the calling thread when executing a service method.What should you do when adding the service reference? ()
A. Set the Collection type to ObservableCollection.
B. Select the Reuse types in all referenced assemblies option.
C. Select the Generate asynchronous operations option.
D. Select the Always generate message contracts option.
第7题
A.ClassMyDictionaryImplementsDictionary(OfString,String)
B.ClassMyDictionaryInheritsHashTable
C.ClassMyDictionaryImplementsIDictionary
D.
第8题
sconfiguredasastandaloneCertificationAuthority(CA)ontheserver.YouneedtoauditchangestotheCAconfigurationsettingsandtheCAsecuritysettings.Whichtwotasksshouldyouperform()
A.ConfigureauditingintheCertificationAuthoritysnap-in.
B.Enableauditingofsuccessfulandfailedattemptstochangepermissionsonfilesinthe%SYSTEM32%\CertSrvdirectory.
C.Enableauditingofsuccessfulandfailedattemptstowritetofilesinthe%SYSTEM32%\CertLog directory.
D.EnabletheAuditobjectaccesssettingintheLocalSecurityPolicyfortheActiveDirectoryCertificateServices(ADCS)server.
第9题
intranet application and is currently unsecured. You need to ensure that the service meets the following requirements: The service now must be exposed as an Internet application. The service must be secured at the transport level. Impersonation and delegation cannot be enabled.What should you use? ()
A. basicHttpBinding and HTTP
B. basicHttpBinding and Kerberos
C. wsHttpBinding and Kerberos
D. wsHttpBinding and HTTPS
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!