单选题You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment. You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their a

题目
单选题
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment. You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event? ()
A

Wizard1.RequireEmail = True

B

Wizard1.Email = user@address.com

C

Wizard1.MailDefinition.From = registration@mysite.com

D

SmtpMail.SmtpServer = mail.contoso.com


相似考题
更多“You create a Web Form that allows users to create a new acco”相关问题
  • 第1题:

    You have an Exchange Server 2010 organization named contoso.com.All users have a Personal Archive.You need to ensure that messages that are older than 90 days are moved from the user’s mailboxto the Personal Archive.What should you do?()

    • A、Create a retention tag.Assign the retention tag to a retention policy.Apply the retention policy to all users
    • B、Create a retention tag.Assign the retention tag to a retention policy.Create a journal rule
    • C、Create managed custom folder.Run the New Managed Content Settings wizard.Create a journal rule
    • D、Run the New Managed Content Settings wizard.Create a new managed folder mailbox policy.Apply the policy to all users

    正确答案:A

  • 第2题:

    You need to specify the changes to the existing firewall configuration settings that are required by the HTTP endpoint that will be used by the proseware_projects database. What should you do?()

    • A、Create a Web publishing rule on ISA2 that allows HTTP traffic on port 5017 from IIS1 to the SQL Server computer.
    • B、Create a Web publishing rule on ISA1 that allows HTTP traffic on port 5017 from IIS1 to the SQL Server computer.
    • C、Create a Web publishing rule on ISA2 that allows HTTPS traffic on port 5017 from IIS1 to the SQL Server computer.
    • D、Create a Web publishing rule on ISA1 that allows HTTPS traffic on port 5017 from IIS1 to the SQL Server computer.

    正确答案:D

  • 第3题:

    tony would like to make it easier for users of the video application to enter new doc using the “video form”, he’d like users to be able to create new “video” doc form within the view. Which one of the following should tony so to build this interface?()

    • A、create a view action that has the following formula:@command([create];”video”)
    • B、create a form action that has the following formula:@command([compose];”video”)
    • C、create a view action that has the following formula:@command([compose];”video”)
    • D、create a database action that has the following formula:@command([compose];”video”)

    正确答案:C

  • 第4题:

    You have two servers that run Windows Server 2008 named Server1 and Server2. You install Windows SharePoint Services (WSS) 3.0 on Server1. You install the SMTP feature on Server2. You configure the outgoing e-mail settings on Server1 to use the SMTP service on Server2. You need to ensure that e-mail messages from Server1 are forwarded to users. What should you do?()

    • A、On Server2, create a new application pool, and then associate the application pool with a new Web site.
    • B、On Server2, configure the SMTP service to accept anonymous connections and to relay e-mail messages.
    • C、On Server1, create a new application pool. On an internal DNS server, create a new MX record for Server1.
    • D、On Server1, create a new application pool. On an internal DNS server, create a new MX record for Server2.

    正确答案:B

  • 第5题:

    You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment. You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event? ()

    • A、Wizard1.RequireEmail = True
    • B、Wizard1.Email = "user@address.com"
    • C、Wizard1.MailDefinition.From = "registration@mysite.com"
    • D、SmtpMail.SmtpServer = "mail.contoso.com"

    正确答案:C

  • 第6题:

    Your network contains 20 offices. Each office contains 1,000 users.  The users access their e-mail messages by using Microsoft Office Outlook. You have an Exchange Server 2010 organization.  You need to recommend an Exchange Server solution that meets the following requirements:.Ensures that users in each office download the list of recipients for their office only  .Ensures that users in each office can send e-mail messages to any user in the organization  What should you recommend?()

    • A、Create 20 new address lists and 20 offline address books (OABs).
    • B、Create 20 new managed folder mailbox policies and 20 e-mail address policies.
    • C、Create 20 new dynamic distribution groups, and then create 20 new global address lists (GALs).
    • D、Create 20 new mailbox databases, and then move the mailboxes from each office to a separatemailbox database.

    正确答案:A

  • 第7题:

    You need to design an access control strategy for resources that are located in the extranet for partners and for internal users. Your solution must meet business and security requirements. What should you do?()

    • A、Create a new child domain named extranet.corp.woodgrovebank.com in the existing forest. Create user accounts for users from partner companies in the new child domain. Create shortcut trusts in which the child domain trusts every domain in the forest
    • B、Create a new forest and domain named extranet.woodgrovebank.com. Create user accounts for users from partner companies in the new domain. Create a one-way forest trust relationship in which the extranet forest trusts the company forest
    • C、Create a new forest and domain named extranet.woodgrovebank.com. Create user accounts for users from partner companies in the new domain. Create an external trust relationship in which the extranet domain trusts the den.corp.woodgrovebank.com domain
    • D、Create a child domain of the den.corp.woodgrovebank.com domain for the extranet. Create user accounts for users from partner companies in the new child domain. Create an external trust relationship in which the forest root domain trusts the extranet domain

    正确答案:B

  • 第8题:

    You need to design a domain model that meets the company business and security requirements for controlling access to the new Web-based ordering application. What should you do?()

    • A、Create a child OU within the existing domain
    • B、Create a child domain of the existing domain
    • C、Create a new domain in a new forest. Configure the new domain to trust the existing domain
    • D、Create a new tree in the existing forest. Configure the new domain to trust the existing domain

    正确答案:C

  • 第9题:

    Your network contains two Web servers named Web1 and Web2. Web1 hosts the companys corporate Web site. Web2 is a test server that contains a copy of the Web site.Users connect to Web1 by using the URL http://www.contoso.com.A Web developer named User1 plans to test updates to the Web site on Web2.You need to ensure that User1 connects to Web2 by using the URL http://www.contoso.com. The solution must ensure that all other computers connect to Web1.What should you do?()

    • A、From User1s computer, create a record in the Hosts file.
    • B、From User1s computer, create a record in the Lmhosts file.
    • C、From a DNS server, create a new Host (A) resource record.
    • D、From a DNS server, create a new Alias (CNAME) resource record.

    正确答案:A

  • 第10题:

    单选题
    You need to design an access control strategy for resources that are located in the extranet for partners and for internal users. Your solution must meet business and security requirements. What should you do?()
    A

    Create a new child domain named extranet.corp.woodgrovebank.com in the existing forest. Create user accounts for users from partner companies in the new child domain. Create shortcut trusts in which the child domain trusts every domain in the forest

    B

    Create a new forest and domain named extranet.woodgrovebank.com. Create user accounts for users from partner companies in the new domain. Create a one-way forest trust relationship in which the extranet forest trusts the company forest

    C

    Create a new forest and domain named extranet.woodgrovebank.com. Create user accounts for users from partner companies in the new domain. Create an external trust relationship in which the extranet domain trusts the den.corp.woodgrovebank.com domain

    D

    Create a child domain of the den.corp.woodgrovebank.com domain for the extranet. Create user accounts for users from partner companies in the new child domain. Create an external trust relationship in which the forest root domain trusts the extranet domain


    正确答案: A
    解析: 暂无解析

  • 第11题:

    多选题
    You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()
    A

    Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.

    B

    Add a SiteMapPath control to the Web Form and bind the TreeView control to it.

    C

    Embed the site map XML within the SiteMap node of a Web.sitemap file.

    D

    Embed the site map XML within the AppSettings node of a Web.config file.

    E

    Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.

    F

    Set the SkipLinkText property of the SiteMapPath control to Sales.


    正确答案: A,E
    解析: 暂无解析

  • 第12题:

    多选题
    You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform? ()
    A

    Create a valid definition in the Web.config file.

    B

    Set the passwordFormat attribute of the configured membership provider to Encrypted.

    C

    Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.

    D

    Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.


    正确答案: B,C
    解析: 暂无解析

  • 第13题:

    You have a Windows Server 2008 server that has the Web Server (IIS) server role installed. The server hosts multiple Web sites.  You need to configure the server to automatically release memory for a single Web site. You must achievethis goal without affecting the other Web sites. What should you do?()

    • A、Create a new Web site and edit the bindings for the Web site.
    • B、Create a new application pool and associate the Web site to the application pool.
    • C、Create a new virtual directory and modify the Physical Path Credentials on the virtual directory.
    • D、From the Application Pool Defaults, modify the Recycling options.

    正确答案:B

  • 第14题:

    You deploy a windows server 2008 VPN server behind a firewall. Remote uses connect to the VPN by using portable computers that run windows vista with the latest service pack. The firewall is configured to allows only secured web communications. You need to enable remote users to connect as securely as possible. You must achieve this goal without opening any additional ports on the firewall. What should you do?()

    • A、Create an IPsec tunnel.
    • B、Create an SSTP VPN connection.
    • C、Create a PPTP VPN connection.
    • D、Create a L2tp VPN connection.

    正确答案:B

  • 第15题:

    norma has a form action that will allow users to create comments to the existing doc. When Norma views the form in her web browser, she sees the action. but when she opens the form in her notes client she cannot see the action . which one of the following should she do to correct the problom? ()

    • A、delete old action and create a new one on the form
    • B、Make sure the comments form is available for notes clients use
    • C、Make the action a shared action and disable the hide-when setting for “web borwsers”
    • D、Check the actions hide-when setting to make sure the action is available for “notes 4.6 later”

    正确答案:D

  • 第16题:

    You have a server named Server1 that runs Windows Server 2003 Web Edition Service Pack 2 (SP2). You create a new virtual directory named App1. App1 contains a Web application. Users report that when they enter http://app1 in their Web browsers, they are unable to connect to the Web application. You need to ensure that users can access the Web application when they connect to http://app1. What should you do? ()

    • A、Move the content of the Web application to C:/App1. Change the home directory for App1.
    • B、Move the content of the Web application to C:/App1. Change the application pool for App1.
    • C、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use port 8080. In DNS, create a Host record for App1.
    • D、Remove the App1 virtual directory. Create a new Web site, and then configure the Web site to use a host header of App1. In DNS, create a Host record for App1.

    正确答案:D

  • 第17题:

    You are a systems administrator responsible for deploying Windows SharePoint Services (WSS) for accessby users from an external business partner. You have installed the appropriate server role and have verified that the SharePoint Web site loads properly from the local server computer. All options are usingtheir installation default values. External users report that they cannot log on to the site. Which of thefollowing changes should you make to resolve the problem?()

    • A、Create a new site within an existing site collection for the external users.
    • B、Create a new site collection for the external users.
    • C、Change the authentication mode for the Web application to Forms authentication.
    • D、Modify the User Permissions For Web Applications settings.

    正确答案:C

  • 第18题:

    You are designing a migration strategy to create user IDs for all company users in the new environment. What should you do?()

    • A、Create a script that uses Active Directory Services Interfaces (ADSI) to import all user account into the new environment.
    • B、Create new accounts for all users. Create a trust relationship between the existing environment and the new environment to enable access to resources in the existing environment.
    • C、Import all user accounts into the new environment by using the Active Directory Migration Tool (ADMT).
    • D、Import all user accounts into the new environment. Instruct users to no change their passwords during the migration phase so that they can access resources in the existing environment.

    正确答案:A

  • 第19题:

    You create a Web Form that contains a TreeView control. The TreeView control allows users to navigate within the Marketing section of your Web site. The following XML defines the site map for your site. You need to bind the TreeView control to the site map data so that users can navigate only within the Marketing section. Which three actions should you perform?()

    • A、Add a SiteMapDataSource control to the Web Form and bind the TreeView control to it.
    • B、Add a SiteMapPath control to the Web Form and bind the TreeView control to it.
    • C、Embed the site map XML within the SiteMap node of a Web.sitemap file.
    • D、Embed the site map XML within the AppSettings node of a Web.config file.
    • E、Set the StartingNodeUrl property of the SiteMapDataSource control to ~/Marketing.aspx.
    • F、Set the SkipLinkText property of the SiteMapPath control to Sales.

    正确答案:A,C,E

  • 第20题:

    You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()

    • A、Create a valid definition in the Web.config file.
    • B、Set the passwordFormat attribute of the configured membership provider to Encrypted.
    • C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
    • D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

    正确答案:A,C

  • 第21题:

    You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()

    • A、Configure the SqlMembershipProvider in the web.config file.
    • B、Configure the SqlProfileProvider in the web.config file.
    • C、Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.
    • D、Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.

    正确答案:A,D

  • 第22题:

    多选题
    You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()
    A

    Configure the SqlMembershipProvider in the web.config file.

    B

    Configure the SqlProfileProvider in the web.config file.

    C

    Create an ASP.NET page that contains a default CreateUserWizard control to create a new user account.

    D

    Create an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.


    正确答案: B,D
    解析: 暂无解析

  • 第23题:

    单选题
    You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file. Which code segment should you add to the Page_Load event?()
    A

     Wizard1.RequireEmail = True

    B

     Wizard1.Email = user@address.com

    C

     Wizard1.MailDefinition.From = registration@mysite.com

    D

     SmtpMail.SmtpServer = mail.contoso.com


    正确答案: D
    解析: 暂无解析

  • 第24题:

    单选题
    You create a Web Form that contains a button named btnCancel that enables users to exit the page. When users click this button, validation must not occur. During testing you learn that clicking the Cancel button does not enable users to exit the page. You need to ensure that users can always exit the page. What should you do? ()
    A

    Set the Enabled property of the validation controls on the Web Form to False.

    B

    Set the CausesValidation property of the btnCancel button to False.

    C

    Set the CausesValidation property of the btnCancel button to True.

    D

    Set the Visible property of the validation controls on the Web Form to False.


    正确答案: C
    解析: 暂无解析