Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us

 Home

 Search

Latest Brain Dumps

 BrainDump List

 Certifications Dumps

 Microsoft

 CompTIA

 Oracle

  Cisco
  CIW
  Novell
  Linux
  Sun
  Certs Notes
  How-Tos & Practices 
  Free Online Demos
  Free Online Quizzes
  Free Study Guides
  Free Online Sims
  Material Submission
  Test Vouchers
  Users Submissions
  Site Links
  Submit Site

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Online Training Demos and Learning Tutorials for Windows XP, 2000, 2003.

 

 

 

 





Braindumps for "1Z0-030" Exam

some dumps required...

 some dumps required... 
thanks buddy ad it


Google
 
Web www.certsbraindumps.com


Braindumps: Dumps for 70-547 Exam Brain Dump

Study Guides and Actual Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA


Advertise

Submit Braindumps

Forum

Tell A Friend

    Contact Us





Braindumps for "70-547" Exam

Designing and Developing Web-Based Applications by Using the Microsoft .NET Framework

 Question 1.
You work as the Enterprise application developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The design of applications forms part of your responsibilities at ITCertKeys.com. ITCertKeys.com operates as an examination Web site. 

You are developing a Web-based application for ITCertKeys.com. This application, upon completion, should allow users to take various online examinations. Every time a user takes on online test, you want the following business rules to be met: 
1. Display a congratulatory message when a user passes a test.
2. Display a motivational message when a user fails a test.
3. Display a different message when a user meets the minimum requirements for a test.

The following Exhibit illustrates the pseudo-code that you wrote to meet these requirements:

Exhibit:
if pass
display congratulatory message
else if meeting minimum requirements
display different message
else
display motivational message

What conclusion can you draw?

A. None of the requirements will be met.
B. All the requirements will be met.
C. All requirements, except the display of a different message when the user meets the minimum 
    requirements, will be met.
D. All the requirements, except the display of the motivational message when a user fails a test, 
    will be met.

Answer: B

Explanation: 
All the requirements for the application will be met. A different message will be displayed in the event of the user passing, failing or just meeting the minimum requirements for a test. If the user passes, then the congratulatory message will be displayed, if the user meets the minimum requirements then the different message will be displayed. Otherwise the user fails the test in which case the motivational message will be displayed.

Incorrect answers:
A: This is incorrect because this pseudo-code will yield the desired results.
C: This is only partly correct since the code will also result in the display of the different message 
    in case the user meets the minimum requirements of a test.
D: This is only partly correct since the code will result in displaying the motivational message in 
    case the user fails the test.

Question 2.
You work as the Enterprise application developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The design of applications forms part of your responsibilities at ITCertKeys.com. You are currently developing Web-based applications for ITCertKeys.com. 

One of these applications that you developed is destined to allow the user to display multiple lines in a TextBox control. Each of the lines in the TestBox control is concatenated into a single string. Each message in the TextBox control will consist of more than five lines. You now need to configure this Web-based application to meet these requirements. 

What should you do?

A. You should include calling the Concat method in the application using a String instance.
B. You should include calling the Append method in the application using a String instance.
C. You should include calling the Add method in the application using a StringBuilder instance.
D. You should include calling the Append method in the application using a StringBuilder 
    instance.

Answer: D

Explanation: 
The StringBuilder instance has a larger internal buffer to handle larger strings and since you will have at least five lines concatenated in the same string, you should make use of a StringBuilder instance to call the Append method. Strings are immutable and every time a string is concatenated, at least two strings are de-referenced, but stay in memory until Garbage collection. The StringBuilder, due to its larger internal buffer is capable of maintaining a large internal buffer and only extends the buffer than required to do so. This makes using the StringBuilder unstance for efficient.

Incorrect answers:
A: You should not make use of the String class as it is unable to modify its contents in place. The 
    String class will always return a new string when the contents are changed and this will result 
    in a drop in the performance.
B: This is partly correct since you need to call the Append method, however you should make use 
    of a StringBuilder instance and not the String instance.
C: This is incorrect as there is no such method named Add method. You need to make use of the 
    Append method when using the StringBuilder class.

Question 3.
You work as the Enterprise application developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. There is only one Web server at ITCertKeys.com. The design of applications forms part of your responsibilities at ITCertKeys.com. ITCertKeys.com operates as a manufacturing company.

You are currently developing Web-based applications for ITCertKeys.com. All the departments at ITCertKeys.com will have its own Web application for custom content and functionality that is department-specific. All these Web applications make use of third party .NET 1.1 components. These components are all shared by other Web applications within ITCertKeys.com.

You must meet the following requirements in your development of these Web-based applications:
1. The Web-based applications must require the shared components.
2. The Web-based applications must also require ASP.NET 2.0 features.

You should develop these applications with the least amount of developer effort and time. To this end you need to take a decision on how you will meet these requirements in your solution.

What should you do?

A. You should upgrade the shared components to .NET 2.0
B. You should enable directory browsing on the Web Server to access the shared components.
C. You should place the shared components in the same directory as the main Web application.
D. Since ASP.NET 2.0 Web applications are compatible with .NET 1.1 components you should 
    not do anything.

Answer: D

Explanation: 
The ASP.NET 2.0 and ASP.NET 1.1 runtime can run on the same machine without any additional configuration settings required. The ASP.Net 1.1 components can benefit from the performance options that are available in ASP.NET 2.0 and ASP.NET 2.0 applications can continue to communicate with the ASP.NET 1.1 components. Thus there is no need to do anything.

Incorrect answers:
A: There is no need to upgrade the shared components to ASP.NET 2.0. This option would not 
    be available if the components are third party and data access components should then be 
    redesigned to take full advantage of the ASP.NET 2.0 benefits. In fact it would be simpler 
    upgrading an ASP.NET 1.1 site to ASP.NET 2.0.
B: You should not enable directory browsing on the Web server because it can allow any user to 
    see the directory structure of your Web site. And furthermore, directory browsing will not allow 
    different versions of ASP.NET to run.
C: The shared components should not be placed in the same directory as the main Web 
    application. Merging the files into the same directory will create a problem with other Web 
    applications accessing the shared component.

Question 4.
You work as the Enterprise application developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The design of applications forms part of your responsibilities at ITCertKeys.com. ITCertKeys.com operates as an online-retailer.

You are currently developing a Web-based application for ITCertKeys.com. This application will server as an order fulfillment application. Upon completion this application will allow the ITCertKeys.com users to enter a zip code into a TextBox control where they will be able to find all the packages that have been shipped to a particular geographical area. The application will take the TextBox value and construct a query similar to the one illustrated in the Exhibit below:

Exhibit:
SELECT * FROM Orders WHERE zip = '21006';
You now need to make sure that you mitigate the possibility of malicious code being inserted into the query strings passed to the SQL Server for parsing and execution.

What should you do?

A. You should use a RequiredFieldValidator control on the TextBox.
B. You should validate user input using stored procedures.
C. You should build Transact-SQL statements directly from the TextBox input.
D. You should concatenate user input from the TextBox.

Answer: B

Explanation: 
It is possible that malicious code can be inserted into user input variables that are concatenated with SQL statements and executed, i.e. the SQL injection attack. To prevent this from happening you should configure the Web-based application to validate all input prior to sending the request to the database by making use of least privilege accounts when accessing the database, and using stored procedures rather than dynamically constructed SQL when possible.

Incorrect answers:
A: You should not make use of the RequiredFieldValidator control on the TextBox. This will force 
    the users to enter a value for the zip code, but would not prevent malicious code from being 
    accepted as input.
C: You should not build the Transact-SQL statement directly from the TextBox input as it provides 
    a user with an opportunity to insert malicious code. And executing the Transact-SQL 
    statements directly from the TextBox input has to potential to harm your database.
D: You should not concatenate user input from the TextBox. The input from the TextBox control 
    should rather be validated prior to concatenation as invalidated concatenation input makes an 
    application susceptible to SQL injection attacks.

Question 5.
You work as the Enterprise application developer at ITCertKeys.com. The ITCertKeys.com network consists of a single Active Directory domain named ITCertKeys.com. All servers in the domain run Windows Server 2003. The design of applications forms part of your responsibilities at ITCertKeys.com. ITCertKeys.com operates as a company that provides financial, investment and accounting services to its customers.

You are currently developing a Web-based application for ITCertKeys.com. This application will be used to maintain the investment account information for the ITCertKeys.com customers. This investment account information is sent as Extensible Markup Language (XML) documents from the Microsoft SQL Server 2005 database. Each XML document should contain customer feedback information. You want this application to allow you to contact the customers regarding the given feedback. 

Following are the requirements that should be met:
1. The Web-based application must retrieve each customer's contact details such as name, 
   address, and e-mail address from the XML document.
2. You must be allowed to determine which geographical area has the most customer complaints.
3. The customer data should remain in XML format.
4. You must maximize performance of the query.

You thus need to make a decision as to which approach you can use to query the SQL Server data to meet these requirements.

What should you do?

A. Query the SQL Server data using a SELECT statement with the FOR XML clause.
B. Query the SQL Server data using a SELECT statement that calls the DataType.Xml method.
C. Query the SQL Server data using a SELECT statement with an OPENXML function.
D. Query the SQL Server data using a SELECT statement with the OPENROWSET function.

Answer: C

Explanation: 
The OPENXML function can be used to query data from an XML document. It is also possible to convert the XML data, store it is a temporary table, then query the data, but this schlep will be eliminated using the OPENXML function and also you should not change the data from XML because the Web site data must remain in XML format. Thus the database should be queried with the SELECT statement with an OPENXML function.

Incorrect answers:
A: The FOR XML clause is used to format the results of a query in XML format. In this case you 
    need to query the data from an XML document. Thus this option is not required.
B: The DataType.Xml method returns an object that represents a specified data type, and will   
    thus not allow you to query the XML document directly.
D: The OPENROWSET function is used for querying remote data sources and this is not what is 
    required in this scenario.

Question 6.
You work as an ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS547 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS547. You are developing a Web-based client application for the ITCertKeys.com Web site. The ITCertKeys.com Web site sells subscriptions to courseware material. 

The Web application must allow users to browse subscription options, to purchase subscriptions, to add subscriptions to a wish list, to store bank account details, and to review products online. You must implement a standardized layout according to the company's branding on each page. The pages must also implement a daily advertisement above the main menu. The advertisement must be replaced every morning. You want to reduce the effort required to maintain the Web application.

What should you do?

A. Add an AdRotator control to each Web page and place the daily advertisement in the 
    Advertisement file.
B. Include the daily advertisement in a Master Page and set the masterPageFile attribute in the 
    Web.config file.
C. Create a User Control for the daily advertisement and add the User Control to each Web page.
D. Include the daily advertisement in a Template Page and bind each Web page to the Template 
    Page.

Answer: B

Explanation: 
Master Pages allows you to create a common layout for across all pages that the Master Page is bound to. You can either bind the Master Page to each page in the Page directive on each page, or in the masterPageFile attribute of the Web.config file. If the masterPageFile attribute of the Web.config file is set to the location of the Master Page, any changes made to the Master Page will be propagated to each Web page. This will reduce the effort required to maintain the daily advertisement.

Incorrect Answers:
A: The AdRotator control is used to rotate between various advertisements contained in an 
    AdvertisementFile. Advertisements are displayed on the basis on page impressions. It is 
    possible to have only one advertisement in the AdvertisementFile and to change the 
    advertisement every morning but this is not the purpose of the AdRotator control.
C: You could include the advertisement in a User control but you would need a Master Page to 
    standardize the layout of each page. It would therefore require less effort to add the 
    advertisement to the Master Page.
D: ASP.NET does not support a Template Page.

Question 7.
You work as an ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS547 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS547. You are developing a Web-based client application for the ITCertKeys.com Web site. The ITCertKeys.com Web site sells subscriptions to courseware material. The Web application must allow users to browse subscription options, to purchase subscriptions, to add subscriptions to a wish list, to store bank account details, and to review products online. You must implement a standardized layout on each page. You must also ensure that all controls maintain a consistent appearance according
to the company's branding.

What should you do?

A. Implement Themes and Master Pages.
B. Implement Web Parts and User Controls.
C. Implement User Controls and Profile properties.
D. Implement Web Parts and Master Pages.

Answer: A

Explanation: 
Master Pages allows you to create a common layout for across all pages that the Master Page is bound to. You can either bind the Master Page to each page in the Page directive on each page, or in the masterPageFile attribute of the Web.config file. Themes allow you to maintain a consistent appearance for the controls across Web pages, and entire Web application, or all Web applications on a server.

Incorrect Answers:
B: Web Parts allow users to customize content, appearance and behavior of Web pages, while 
    User Controls allow you to reuse code across Web pages. Neither is used to implement 
    consistent layout nor consistent appearance of controls.
C: Profile properties is a provider framework that stores settings for individual users, while User 
    Controls allow you to reuse code across Web pages. Neither is used to implement consistent 
    layout nor consistent appearance of controls.
D: Web Parts allow users to customize content, appearance and behavior of Web pages. It does 
    not implement consistent layout or consistent appearance of controls.

Question 8.
You work as an ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS547 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS547. ITCertKeys.com has it headquarters in Washington and branch offices in Miami, Dallas and San Francisco. The ITCertKeys.com network contains a SQL Server 2005 database server named ITCertKeys-DB01 that is located at headquarters. ITCertKeys-DB01 hosts a database named ITK_Sales that stores sales information for the company. 

You are developing a Web-based client application for ITCertKeys.com. The Web application connects all branch offices to the ITK_Sales database. You need to develop a user interface that allows Sales personnel at each branch office to enter data regarding Returned goods. The Returned Goods data includes the customer's name, the product code, and the invoice number. You need to implement the appropriate user interface controls for entry of Returned Goods data.

What should you do?

A. Use a TextBox control for the customer's name, a TextBox control for the invoice number and 
    a TextBox control for the product code.
B. Use a DropDownList control for the customer's name, a DropDownList control for the invoice 
    number and a DropDownList control for the product code.
C. Use a DropDownList control for the customer's name, a TextBox control for the invoice 
    number and a DropDownList control for the product code.
D. Use a TextBox control for the customer's name, a TextBox control for the invoice number and 
    a DropDownList control for the product code.

Answer: C

Explanation: 
The main data that can be read from a database is the product code and the customer's name. You can implement a data bound DropDownList to display the product code and customer name. A TextBox is a free-form input box that can be used for the invoiced price.

Incorrect Answers:
A: While it is possible that all data can be entered in TextBox controls, it would be difficult to verify 
    the accuracy of the data. Allowing Sales personnel to select the appropriate customer name 
    and product code from a DropDownList would greatly reduce data input errors.
B: A DropDownList for a price range would be inappropriate.
D: While it is possible that the customer name can be entered in TextBox controls, it would be 
    difficult to verify the accuracy of the data. Allowing Sales personnel to select the appropriate 
    customer name from a DropDownList would greatly reduce data input errors.

Question 9.
You work as an ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS547 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS547. You are developing a Web-based client application for ITCertKeys.com. 

You want users of the Web application to input a date on the Web form regardless of their local date format. You add three DropDownList controls named Year, Month and Day to the Web application. You want the date entered through these DropDownList controls will be displayed on subsequent pages in the user's local date format.

What should you do?

A. Instantiate a DateTime object using the values from the DropDownList controls.
B. Instantiate a DateTime object using the values from the GetDate method.
C. Let the users select their location and set the CurrentCulture property of the executing thread 
    to the associated CultureInfo object.
D. Set the enableClientBasedCulture attribute in the Web.config file to true.

Answer: A, C

Explanation: 
You must instantiate a DateTime object that accepts the values that the user entered in the DropDownList controls. The user should then select his or her location from a DropDownList. This location must be used to configure the CurrentCulture property of the executing thread to the associated CultureInfo object.

Incorrect Answers:
B: You want the user to input a date into the Web Form. The GetDate method does not allow user 
    input.
D: The enableClientBasedCulture attribute takes the culture settings of the browser. Although this 
    will work, the culture settings in the browser may be misconfigured.

Question 10.
You work as an ASP.NET developer at ITCertKeys.com. ITCertKeys.com uses the Microsoft Visual Studio .NET 2005 as their application development platform. You use a Microsoft Windows XP Professional client computer named ITCertKeys-WS547 as your development computer. Internet Information Services (IIS) is installed on ITCertKeys-WS547. You are developing a Web-based client application for the ITCertKeys.com Web site. The ITCertKeys.com Web site sells subscriptions to courseware material. Customers must be able to specify the term of subscription by specifying the start and end dates of their subscriptions in TextBox controls, and must specify their location in a DropDownList control. 

You must ensure that the values entered into the TextBox controls are dates that have not yet passed. You must also ensure that the start date is no more than 3 months in advance and that the end date is at least two weeks after the start date. Customers who want an open-ended subscription do not need to specify an end date. You decide to use RequiredFieldValidator controls to verify the start date TextBox control and the DropDownList control, and a RangeValidator control to verify the start date TextBox control.

Does your solution satisfy the requirements for this project?

A. Yes.
B. No, a RangeValidator does not verify the validity of a date.
C. No, a CompareValidator is required to verify the validity of the end date.
D. No, a CompareValidator is required to verify that the start date has not already passed.
E. No, a RequiredFieldValidator is required for the end date TextBox control.

Answer: C

Explanation: 
This solution does not meet requirements because it fails to ensure that the end date is at least two weeks after the start date. The RequiredFieldValidator verifies that a start date has been specified and that a location has been selected. The RangeValidator ensure that the start date has not already passed. You also need a CompareValidator to compare the end date to the start date and ensure that the end date is at least two weeks after the start date.

Incorrect Answers:
A: This solution does not meet requirements because it fails to ensure that the end date is at least 
    two weeks after the start date. The RequiredFieldValidator verifies that a start date has been 
    specified and that a location has been selected. The RangeValidator ensure that the start date 
    has not already passed. You also need a CompareValidator to compare the end date to the 
    start date and ensure that the end date is at least two weeks after the start date.
B: The RangeValidator ensure that the start date has not already passed and is therefore 
    required.
D: A CompareValidator compare the values in two controls. It can be used to ensure that the 
    values in the two controls are identical or are within a certain range of each other. It is not be 
    used to compare the value in the start date Text Box with the current date.
D: A RequiredFieldValidator should not be added for the end date TextBox control as customers 
    must be able to specify open-ended subscriptions. These customers will not enter an end date.



Google
 
Web www.certsbraindumps.com


Study Guides and Real Exam Questions For Oracle OCP, MCSE, MCSA, CCNA, CompTIA





              Privacy Policy                   Disclaimer                    Feedback                    Term & Conditions

www.helpline4IT.com

ITCertKeys.com

Copyright © 2004 CertsBraindumps.com Inc. All rights reserved.