第 134 号 您需要解决日志容量问题。
你该怎么办?
情景,日志容量问题:开发人员报告说,处理器跟踪输出中的日志信息数量过多,导致日志信息丢失。
采样是 Azure Application Insights 的一项功能。它是减少遥测流量和存储的推荐方法,同时保留了对应用程序数据的正确统计分析。筛选器会选择相关的项目,以便您在进行诊断调查时在项目之间进行导航。当指标计数显示在门户网站上时,会根据采样情况对其进行重新归一化处理,以尽量减少对统计数据的影响。
采样可降低流量和数据成本,并帮助您避免节流。
参考资料
https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling
这是一个案例研究。案例分析不单独计时。您可以利用尽可能多的考试时间完成每个案例。但是,本次考试可能会有额外的案例研究和章节。您必须合理安排时间,确保能够在规定时间内完成考试中的所有问题。
要回答案例研究中的问题,您需要参考案例研究中提供的信息。案例研究可能包含展品和其他资源,这些展品和资源提供了有关案例研究中描述的情景的更多信息。每个问题都独立于本案例研究中的其他问题。
在本案例学习结束时,会出现一个复习屏幕。该屏幕允许您在进入下一节考试之前复习答案并进行修改。开始新的部分后,您将无法返回本部分。
开始案例研究
要显示本案例研究的第一个问题,请单击 "下一步 "按钮。在回答问题之前,请使用左侧窗格中的按钮查看案例研究的内容。单击这些按钮可显示业务需求、现有环境和问题陈述等信息。准备好回答问题后,单击 "问题 "按钮返回问题。
Topic 6, Coho Winery
标签制作器应用程序
Coho Winery 在全球生产、装瓶和销售各种葡萄酒。您是一名开发人员,负责使用 Azure 解决方案实施高度可扩展和弹性的应用程序,以支持在线订单处理。
Coho Winery 有一个 LabelMaker 应用程序,用于打印酒瓶标签。该应用程序向多台打印机发送数据。该应用程序由五个模块组成,在虚拟机 (VM) 上独立运行。Coho Winery 计划将该应用程序迁移到 Azure,并继续支持标签创建。
外部合作伙伴向 LabelMaker 应用程序发送数据,包括用于定制标签设计的图样和文本。
Requirements. Data
You identify the following requirements for data management and manipulation:
Order data is stored as nonrelational JSON and must be queried using SQL.
Changes to the Order data must reflect immediately across all partitions. All reads to the Order data must fetch the most recent writes.
Requirements. Security
您需要满足以下安全要求:
Users of Coho Winery applications must be able to provide access to documents, resources, and applications to external partners.
External partners must use their own credentials and authenticate with their organization’s identity management solution.
External partner logins must be audited monthly for application use by a user account administrator to maintain company compliance.
Storage of e-commerce application settings must be maintained in Azure Key Vault.
E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD).
Conditional access policies must be applied at the application level to protect company content.
The LabelMaker application must be secured by using an AAD account that has full access to all namespaces of the Azure Kubernetes Service (AKS) cluster.
要求
标签制作器应用程序
Azure Monitor Container Health must be used to monitor the performance of workloads that are deployed to Kubernetes environments and hosted on Azure Kubernetes Service (AKS).
You must use Azure Container Registry to publish images that support the AKS deployment.
Architecture
问题
Calls to the Printer API App fail periodically due to printer communication timeouts.
Printer communication timeouts occur after 10 seconds. The label printer must only receive up to 5 attempts within one minute.
The order workflow fails to run upon initial deployment to Azure.
Order.json
Relevant portions of the app files are shown below. Line numbers are included for reference only.
This JSON file contains a representation of the data for an order that includes a single item.
Order.json