单项选择题
You are designing a Windows Azure application.
The application includes a web role and a worker role that communicate by using a Windows Azure Queue.
The worker role processes each message within 10 seconds of retrieving it from the queue. The worker role must process each message exactly one time.
If a process does not complete, the worker role must reprocess the message.
You need to recommend an approach for the worker role to manage messages in the queue.
What should you recommend?()
A. Process the message and then delete it from the queue.
B. Delete the message from the queue when retrieving the message.
C. Set the visibility timeout of the message to 1 when retrieving the message.
D. Process the message and then set the visibility timeout of themessage to the maximum value.
相关考题
-
多项选择题
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.
