CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 39: AZ-203: Developing Solutions for Microsoft Azure

HOTSPOT -A company is developing a gaming platform. Users can join teams to play online and see leaderboards that include player statistics. The solution includes an entity named Team. You plan to implement an Azure Redis Cache instance to improve the efficiency of data operations for entities that rarely change. You…

Nội dung câu hỏi

HOTSPOT -A company is developing a gaming platform. Users can join teams to play online and see leaderboards that include player statistics. The solution includes an entity named Team. You plan to implement an Azure Redis Cache instance to improve the efficiency of data operations for entities that rarely change. You need to invalidate the cache when team data is changed. How should you complete the code? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. Hot Area:

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Explanation Box 1: IDatabase cache = connection.GetDatabase();Connection refers to a previously configured ConnectionMultiplexer. Box 2: cache.StringSet("teams",")To specify the expiration of an item in the cache, use the TimeSpan parameter of StringSet. cache.StringSet("key1", "value1", TimeSpan.FromMinutes(90)); References:https://azure.microsoft.com/sv-se/blog/lap-around-azure-redis-cache-preview/ — đáp án hiện tại

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề