单项选择题
You are designing a Windows Azure application.
The application includes two web roles and three instances of a worker role.
The web roles will send requests to the worker role through one or more Windows Azure Queues. You have the following requirements:
- Ensure that each request is processed exactly one time.
- Minimize the idle time of each worker role instance. - Maximize the reliability of request processing.
You need to recommend a queue design for sending requests to the worker role.
What should you recommend?()
A. Create a single queue. Send requests on the single queue.
B. Create a queue for each web role. Send requests on all queues at the same time.
C. Create a queue for each workerrole instance. Send requests on each worker queue in a round robin.
D. Create a queue for each combination of web roles and worker role instances. Send requests to all worker role instances based on the sending web role.
相关考题
-
单项选择题
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
