NO.134 로그 용량 문제를 해결해야 합니다.
어떻게 해야 하나요?
시나리오, 로그 용량 문제: 개발자가 프로세서에 대한 추적 출력의 로그 메시지 수가 너무 많아서 로그 메시지가 손실된다고 보고합니다.
샘플링은 Azure Application Insights의 기능입니다. 원격 분석 트래픽 및 저장 공간을 줄이면서 애플리케이션 데이터의 통계적으로 정확한 분석을 유지하는 데 권장되는 방법입니다. 필터는 관련성이 있는 항목을 선택하므로 진단 조사를 수행할 때 항목 간에 탐색할 수 있습니다. 포털에 메트릭 카운트가 표시되면 통계에 미치는 영향을 최소화하기 위해 샘플링을 고려하여 다시 정규화됩니다.
샘플링은 트래픽 및 데이터 비용을 줄이고 스로틀링을 방지하는 데 도움이 됩니다.
참조:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling
이것은 사례 연구입니다. 사례 연구에는 별도의 시간이 정해져 있지 않습니다. 각 사례를 완료하는 데 원하는 만큼의 시험 시간을 사용할 수 있습니다. 그러나 이 시험에는 추가 사례 연구 및 섹션이 있을 수 있습니다. 주어진 시간 내에 이 시험에 포함된 모든 문제를 완료할 수 있도록 시간을 관리해야 합니다.
사례 연구에 포함된 질문에 답하려면 사례 연구에 제공된 정보를 참조해야 합니다. 사례 연구에는 사례 연구에 설명된 시나리오에 대한 자세한 정보를 제공하는 전시물 및 기타 리소스가 포함될 수 있습니다. 각 질문은 이 사례 연구의 다른 질문과 독립적입니다.
이 사례 연구가 끝나면 검토 화면이 나타납니다. 이 화면에서는 시험의 다음 섹션으로 이동하기 전에 답을 검토하고 변경할 수 있습니다. 새 섹션을 시작한 후에는 이 섹션으로 돌아갈 수 없습니다.
사례 연구를 시작하려면
이 사례 연구의 첫 번째 질문을 표시하려면 다음 버튼을 클릭합니다. 질문에 답하기 전에 왼쪽 창에 있는 버튼을 사용하여 사례 연구의 콘텐츠를 탐색하세요. 이러한 버튼을 클릭하면 비즈니스 요구 사항, 기존 환경 및 문제 진술과 같은 정보가 표시됩니다. 질문에 답할 준비가 되었으면 질문 버튼을 클릭하여 질문으로 돌아갑니다.
Topic 6, Coho Winery
라벨메이커 앱
코호 와이너리는 다양한 와인을 생산, 병에 담아 전 세계에 유통합니다. 귀하는 Azure 솔루션을 사용하여 온라인 주문 처리를 지원하기 위해 확장성과 복원력이 뛰어난 애플리케이션을 구현하는 개발자입니다.
코호 와이너리에는 와인 병의 라벨을 인쇄하는 LabelMaker 애플리케이션이 있습니다. 이 애플리케이션은 여러 프린터로 데이터를 전송합니다. 이 애플리케이션은 가상 머신(VM)에서 독립적으로 실행되는 5개의 모듈로 구성되어 있습니다. 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
