logo

CuriousTab

CuriousTab

Discussion


Home Certification Microsoft Certification See What Others Are Saying!
  • Question
  • You create an ASP.NET application to provide corporate news and information to XYZ?s employees. The application is used by employees in New Zealand. Default.aspx has a Web Form label control named currentDateLabel. The Page.Load event handler for Default.aspx included the following line of code: currentDateLabel.Text = DateTime.Now.ToString(?D?) You need to ensure that the data is displayed correctly for employees in New Zealand. What should you do?


  • Options
  • A. In the Web.config file for the application, set the culture attribute of the globalization element to en-NZ.
  • B. In the Web.config file for the application, set the uiCulture attribute of the globalization element to en-NZ.
  • C. In Visual Studio .NET, set the responseEncoding attribute in the page directive for Default.aspx to UTF-8.
  • D. In Visual Studio .NET, save the Default.aspx page for both versions of the application by selecting Advanced Save Options from the File menu and selecting UTF-8.

  • Correct Answer
  • In the Web.config file for the application, set the culture attribute of the globalization element to en-NZ. 

    Explanation

    The culture attribute of the globalization element specifies the default culture for processing incoming Web requests.

     

    Incorrect Answers:

     

    B: The uiculture attribute of the globalization specifies the default culture for processing locale dependent resource searches. It does not apply in this scenario.

     

    C, D: The UTF8Encoding Class class encodes Unicode characters using UCS Transformation Format, 8-bit form (UTF-8). This encoding supports all Unicode character values and surrogates. However, it does not help in displaying data in New Zealand format.


  • More questions

    • 1. If you wanted administrators to see a message when logging into the router, which command would you use?

    • Options
    • A. message banner motd
    • B. banner message motd
    • C. banner motd
    • D. message motd
    • Discuss
    • 2. At which layer of the OSI model would you assume the problem is if you type show interface serial 1 and receive the following message? Serial 1 is down, line protocol is down

    • Options
    • A. Physical layer
    • B. Data Link layer
    • C. Network layer
    • D. None
    • Discuss
    • 3. Which commands loads a new version of the Cisco IOS into a router?

    • Options
    • A. copy flash ftp
    • B. copy ftp flash
    • C. copy flash tftp
    • D. copy tftp flash
    • Discuss
    • 4. What is the command to copy a Cisco IOS to a TFTP server?
    • Discuss
    • 5. When a PC sends a packet to another PC in a remote network, what destination IP address and MAC address will be in the frame that it sends to its default gateway?
    • Discuss
    • 6. What is the administrative distance of OSPF?

    • Options
    • A. 90
    • B. 100
    • C. 110
    • D. 120
    • Discuss
    • 7. With which network type will OSPF establish router adjacencies but not perform the DR/BDR election process?

    • Options
    • A. Point-to-Point
    • B. Backbone area 0
    • C. Broadcast multi-access
    • D. Non-broadcast multi-access
    • Discuss
    • 8. A network administrator needs to configure a router with a distance-vector protocol that allows classless routing. Which of the following satisfies those requirements?

    • Options
    • A. IGRP
    • B. OSPF
    • C. RIPv1
    • D. EIGRP
    • Discuss
    • 9. You get a call from a network administrator who tells you that he typed the following into his router: Router (config) #router ospf 1 Router (config-router) # network 10.0.0.0. 255. 0.0.0 area 0 He tells you he still can't see any routes in the routing table. What configuration error did the administrator make?

    • Options
    • A. The wildcard mask is incorrect
    • B. The OSPF area is wrong
    • C. The OSPF Process ID is incorrect.
    • D. The AS configuration is wrong
    • Discuss
    • 10. Which proprietary Cisco STP extensions would put a switch port into err-disabled if a BPDU is received on this port?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment