| Braindumps of 70-305
Developing and Implementing
Web Apps with MS VB.NET
Exam Questions, Answers, Braindumps (70-305)
Thanks to www.exams.ws and www.examcheets.com. But
there’s no need to have it from both of them,
only questions from only one are sufficient I think.
1:- You create an ASP.NET application that is deployed
on your company’s intranet. Sales representatives
use this application to connect to a database while
they are speaking to customers on the telephone. Your
code is running under the security context of the
user who requested the page. The application requires
each sales representative to supply a unique user
name and password to access the application. These
individual user names and passwords are included in
the ConnectionString property settings that your code
uses to connect to the database. All users have the
same access rights to the database. Sales representatives
report that it takes a long time to access the database.
You test the application and discover that a new connection
is created each time a sales representative connects
to the database. You want to reuse connections in
order to reduce the time it takes to access the database.
What should you do?
A. Modify the connection string to specify Windows
Integrated authentication.
B. Modify the connection string to increase the connection
timeout setting.
C. Modify the connection string so that is uses a
single application user name and password for every
connection to the database.
D. Modify the connection string so that is uses a
login user named that is a member of the sysadmin
fixed server role.
Answer: C
2:- You are creating an ASP.NET application to track
FolksTec sales orders. The application uses an ADO.NET
DataSet object that contains two DataTable objects.
One table is named Orders, and the other table is
named OrderDetails. The application displays data
from the Orders table in a list box. You want the
order details for an order to be displayed in a grid
when a user selects the order in the list box. You
want to modify these objects to enable your code to
find all the order details for the selected order.
What should you do?
A. Add a DataRelation object to the Relations collection
of the DataSet object.
B. Use the DataSet.Merge method to connect the Orders
table and the OrderDetails table to each other.
C. Add a ForeignKeyConstraint to the OrderDetails
table.
D. Add a keyref constraint to the DataSet schema.
Answer: A
3:- You create an ASP.NET application for online
ordering. You need to store a small amount of page-specific
information on pages that are submitted to the server.
This information does not need to be secured. The
page must work properly for browsers that do not support
cookies. You anticipate that the volume of orders
on the site will be high, and you need to conserve
server resources. What should you do?
A. Store the information in application state variables.
B. Store the information in session state variables.
C. Store the information in a Microsoft SQL Server
database.
D. Store the information in hidden fields on the
page.
Answer: D
4:- You develop a Windows-based application that
accesses a Microsoft SQL Server database. Users must
supply a user name and password when they start the
application. This information is then used to dynamically
build a connection string. When you test the application,
you discover that it is not using the SqlClient connection
pooling feature. You must reduce the time needed to
retrieve information. How should you modify the connection
string?
A. To use the Windows user logon when connecting
to the database.
B. To use the SQL Server user login when connection
to the database.
C. To use the same application logon ID and password
for every connection to the database.
D. To use the guest login ID and password for every
connection to the database.
Answer: C
5:- You are creating a new ASP.NET page named ItemList
that displays item and price information for many
different items. When a user logs on to the Web site,
the page retrieves the current list of prices from
a database. ItemList will be accessed by several thousand
registered users. When a price list is retrieved for
a user, the prices remain valid for as long as the
user continues to access the page. Users are allowed
to keep the same price list for several days. When
ItemList is posted back to the server, you want to
ensure that the price list was not altered on the
user’s computer. You also want to minimize the
memory resources consumed on the Web server. Which
three parameters should you add to the Page directive
in ItemList? (Each correct answer presents part of
the solution. Choose three)
A. EnableSessionState=”True”
B. EnableSessionState=”False”
C. EnableSessionState=”ReadOnly”
D. EnableViewState=”True”
E. EnableViewState=”False”
F. EnableViewStateMac=”True”
G. EnableViewStateMac=”False”
Answer: C, D, F
6:- You develop a Windows-based application that
accesses a Microsoft SQL Server database. Users must
supply a user name and password when they start the
application. This information is then used to dynamically
build a connection string. When you test the application,
you discover that it is not using the SqlClient connection
pooling feature. You must reduce the time needed to
retrieve information. How should you modify the connection
string?
A. To use the Windows user logon when connecting
to the database.
B. To use the SQL Server user login when connection
to the database.
C. To use the same application logon ID and password
for every connection to the database.
D. To use the guest login ID and password for every
connection to the database.
Answer: C
70-305
|