1. Question: Which of the following are required to send an HTML e-mail message? (Choose all that apply.)

    A
    Set MailMessage.Body to an HTML message.

    B
    Set MailMessage.Head to an HTML header.

    C
    Set MailMessage.IsBodyHtml to true.

    D
    Set MailMessage.Subject to HTML content.

    Note: Not available
    1. Report
  2. Question: Which of the following HTML tags correctly references the following linked resource as an image?
    ' Create a LinkedResource object for each embedded image
    Dim lr As LinkedResource = New LinkedResource( _
    "myPic.jpg", MediaTypeNames.Image.Jpeg)
    lr.ContentId = "myPic"

    A
    <img src="cid:myPic">

    B
    <img src="cid:myPic.jpg">

    C
    <img src="myPic">

    D
    <img src="myPic.jpg">

    Note: Not available
    1. Report
  3. Question: You want to send an HTML message that is also viewable in clients that do not support HTML. Which class should you use?

    A
    LinkedResource

    B
    Attachment

    C
    AlternateView

    D
    SmtpClient

    Note: Not available
    1. Report
  4. Question: Which method would you call to send an e-mail message and wait for the transmission to complete before proceeding?

    A
    MailMessage.Send

    B
    SmtpClient.Send

    C
    SmtpClient.SendAsync

    D
    MailMessage.SendAsync

    Note: Not available
    1. Report
  5. Question: You need to send e-mail messages from your assembly. The computer that will run your assembly also hosts an SMTP server. Which of the following are valid values for SmtpClient.Host? (Choose all that apply.)

    A
    self

    B
    10.1.1.1

    C
    localhost

    D
    127.0.0.1

    Note: Not available
    1. Report
  6. Question: What type of exception does the runtime throw if the SMTP server rejects a recipient e-mail address?

    A
    SmtpFailedRecipientException

    B
    SmtpFailedRecipientsException

    C
    SmtpException

    D
    SmtpClientException

    Note: Not available
    1. Report
  7. Question: You want to send an e-mail message to an SMTP server while encrypting the network communications. Which property do you need to modify from its default settings?

    A
    SmtpClient.Credentials

    B
    SmtpClient.DeliveryMethod

    C
    SmtpClient.Port

    D
    SmtpClient.EnableSsl

    Note: Not available
    1. Report
  8. Question: You are deploying a worldwide application. One of your offices is located in a region of China that does not have an existing culture code that exactly meets their needs. Although the zh-CN culture code is very close, this region uses slightly different number formatting. Which class should you use to build a custom culture that meets your requirements?

    A
    CultureInfo

    B
    CultureAndRegionBuilderInfo

    C
    RegionInfo

    D
    CompareInfo

    Note: Not available
    1. Report
  9. Question: You need to compare two strings, s1 and s2, in such a way that the comparison is made in exactly the same way regardless of culture settings. Which code sample does this correctly?

    A
    String.Compare(s1, s2, true)

    B
    String.Compare(s1, s2, StringComparison.InvariantCulture)

    C
    String.Compare(s1, s2, StringComparison.CurrentCulture)

    D
    String.Compare(s1, s2, CultureTypes.NeutralCultures)

    Note: Not available
    1. Report
  10. Question: You need to display a number as currency according to the guidelines for the es-ES culture (which might not be the user’s current culture). Which class should you use?

    A
    DateTimeFormat

    B
    CurrentUICulture

    C
    CultureInfo

    D
    RegionInfo

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd