考题解析 | 使用 Azure Cache for Redis 设计高性能的后端数据存储方案


  题目

Your company is designing an application named App1 that will use data from Azure SQL Database. App1 will be accessed over the internet by many users. You need to recommend a solution for improving the performance of App1.
What should you include in the recommendation?
Select only one answer.
A. Azure HPC cache
B. ExpressRoute
C. a CDN profile
D. Azure Cache for Redis

  参考答案

D

  参考解析

技巧:排除明显错误选项,在没有明显错误的选项中选择最合理的选项。
某公司正在设计一个名为 App1 的应用程序,该应用程序将从 Azure SQL Database 获取数据,并通过互联网被大量用户访问。需要推荐一个解决方案,以提高 App1 的性能。

A. 不正确。Azure HPC Cache。Azure HPC Cache 是为高性能计算(HPC)工作负载设计的缓存服务,主要用于加速对文件存储(如 Azure Blob Storage 或 NFS)的访问,与数据库查询或应用程序性能优化无关。
B. 不正确。ExpressRoute。ExpressRoute 是 Azure 提供的专用网络连接服务,用于在本地数据中心与 Azure 之间建立私有、低延迟的网络连接。无法直接优化互联网用户的访问性能,不解决应用程序与数据库之间的性能问题。
C. 不正确。CDN profile。CDN(内容分发网络)用于加速静态内容(如图片、CSS、JavaScript 文件)的交付,通过将内容缓存到全球边缘节点减少延迟。适用于静态内容,而 App1 的性能瓶颈可能在于数据库查询或动态数据。无法直接优化对 Azure SQL Database 的访问性能。
D. 正确。Azure Cache for Redis。Azure Cache for Redi 是一个完全托管的内存中数据存储服务,常用于缓存数据库查询结果、会话状态、API 响应等。可以缓存频繁访问的数据,减少对 Azure SQL Database 的直接查询,显著提高应用程序性能。适用于动态数据和数据库查询的缓存。