多项选择题
You are planning the migration of a Microsoft SQL Server 2008 database to SQL Azure.
You need to recommend an approach for ensuring that database connectivity does not degrade.
Which two actions should you recommend?()
A. Implement transactions for database queries.
B. Close database connections in the application.
C. Use Microsoft ADO.NET in the data access layer.
D. Implement a retry policy in the data access layer.
相关考题
-
单项选择题
A Windows Azure application retrieves data from SQL Azure. You need to recommend an approach for improving application query performance. What should you recommend?()
A. Create a database view to retrieve the data.
B. Use a clustered index on the SQL Azure database tables.
C. Open a new database connection when an operation times out.
D. Create SQL Azure database table indexes basedon application queries -
单项选择题
An application uses Windows Azure Table storage. The application uses five tables. One table used by the application is approaching the limit for storage requests per second. You need to recommend an approach for avoiding data access throttling. What should you recommend?()
A. Use a single partition key for the table.
B. Compress data before storing it in the table.
C. Create additional partition keys for the table.
D. Continually remove unnecessary data from the table. -
单项选择题
A Windows Azure application stores data in a SQL Azure database. The application will start an operation that includes three insert statements. You need to recommend an approach for rolling back the entire operation if the connection to SQL Azure is lost. What should you recommend?()
A. Ensure that all statements execute in the same database transaction.
B. Create a stored procedure in the database that wraps the insert statements in a TRY CATCH block.
C. Create a stored procedure in the database that wraps the insertstatements in a TRANSACTION block.
D. Open a new connection to the database. Use a separate transaction scope to roll back the original operation.
