Microsoft Designing and Implementing Microsoft DevOps Solutions (AZ-400 Korean Version) - AZ-400 Korean FREE EXAM DUMPS QUESTIONS & ANSWERS
Azure DevOps에 Project1이라는 프로젝트가 있습니다. Project1에는 Pipe1이라는 빌드 파이프라인이 있으며, 이 파이프라인은 Appl이라는 애플리케이션을 빌드합니다.
Pool1이라는 에이전트 풀이 있으며, 이 풀에는 Windows Server 2019 기반 자체 호스팅 에이전트가 포함되어 있습니다. Pipe1은 Pool1을 사용합니다.
당신은 Project2라는 이름의 또 다른 프로젝트를 구현할 계획입니다. Project2에는 Pipe2라는 빌드 파이프라인이 있으며, 이 파이프라인은 App2라는 애플리케이션을 빌드합니다.
App1과 App2는 서로 충돌하는 종속성을 가지고 있습니다.
두 빌드 파이프라인이 서로 충돌할 가능성을 최소화해야 합니다. 따라서 솔루션은 인프라 비용을 최소화해야 합니다.
어떻게 해야 할까요?
Pool1이라는 에이전트 풀이 있으며, 이 풀에는 Windows Server 2019 기반 자체 호스팅 에이전트가 포함되어 있습니다. Pipe1은 Pool1을 사용합니다.
당신은 Project2라는 이름의 또 다른 프로젝트를 구현할 계획입니다. Project2에는 Pipe2라는 빌드 파이프라인이 있으며, 이 파이프라인은 App2라는 애플리케이션을 빌드합니다.
App1과 App2는 서로 충돌하는 종속성을 가지고 있습니다.
두 빌드 파이프라인이 서로 충돌할 가능성을 최소화해야 합니다. 따라서 솔루션은 인프라 비용을 최소화해야 합니다.
어떻게 해야 할까요?
Correct Answer: C
Vote an answer
프로비저닝된 장치와 프로비저닝되지 않은 장치가 포함된 개인 배포 그룹이 있습니다.
Microsoft Visual Studio App Center를 사용하여 배포 그룹에 새로운 iOS 애플리케이션을 배포해야 합니다.
어떻게 해야 하나요?
Microsoft Visual Studio App Center를 사용하여 배포 그룹에 새로운 iOS 애플리케이션을 배포해야 합니다.
어떻게 해야 하나요?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
GitHub 조직을 가지고 계십니다.
다음 그림에 표시된 대로 개인 액세스 토큰(PAT) 정책을 구성합니다.

아래 드롭다운 메뉴를 이용하여 그림에 제시된 정보를 바탕으로 각 문장을 완성하는 답을 선택하세요. 참고: 정답 하나당 1점입니다.

다음 그림에 표시된 대로 개인 액세스 토큰(PAT) 정책을 구성합니다.

아래 드롭다운 메뉴를 이용하여 그림에 제시된 정보를 바탕으로 각 문장을 완성하는 답을 선택하세요. 참고: 정답 하나당 1점입니다.

Correct Answer:

Explanation:

Webapp1이라는 이름의 Azure 웹 앱이 있습니다.
Webapp1에서 오류가 발생한 상위 10개 페이지를 자세히 보여주는 보고서를 생성하려면 Azure Monitor 쿼리를 사용해야 합니다.
어떻게 질문을 완료해야 할까요? 답변하려면 답변 영역에서 적절한 옵션을 선택하세요.
참고: 정답 하나당 1점입니다.

Webapp1에서 오류가 발생한 상위 10개 페이지를 자세히 보여주는 보고서를 생성하려면 Azure Monitor 쿼리를 사용해야 합니다.
어떻게 질문을 완료해야 할까요? 답변하려면 답변 영역에서 적절한 옵션을 선택하세요.
참고: 정답 하나당 1점입니다.

Correct Answer:

Explanation:

Box 1: requests
Failed requests (requests/failed):
The count of tracked server requests that were marked as failed.
Kusto code:
requests
| where success == ' False '
Box 2: success == false
Reference:
https://docs.microsoft.com/en-us/azure/azure-mon itor/ platform/app-insights-metrics
과제 4
Project1의 경우 Pool1이라는 이름의 자체 호스팅 에이전트 Pod를 생성해야 합니다.
Project1의 모든 파이프라인은 Pool1에 접근할 수 있어야 합니다.
Project1의 경우 Pool1이라는 이름의 자체 호스팅 에이전트 Pod를 생성해야 합니다.
Project1의 모든 파이프라인은 Pool1에 접근할 수 있어야 합니다.
Correct Answer:
See explanation below
Explanation:
Step 1: Understand the Requirements
* You need to create a self-hosted agent for Azure Pipelines.
* It will be hosted in a pod (for example, in Kubernetes).
* All pipelines in Project1 should be able to use this agent pool named Pool1 .
Step 2: Create the Agent Pool in Azure DevOps
* Go to your Azure DevOps organization : https://dev.azure.com/{YourOrganizationName}
* In the bottom-left corner, click on the Organization settings gear icon.
* In the left menu, click on Agent pools .
* Click on Add pool .
* Provide the following:
* Pool name: Pool1
* Pool type: Self-hosted
* Grant access permission to all pipelines: Checked (so that all Project1 pipelines can use this pool)
* Click Create .
Now you have an empty agent pool named Pool1 .
Step 3: Prepare the Self-hosted Agent as a Pod
You need to deploy an Azure Pipelines agent container as a pod . Here's how to do it:
Option 1: Using Kubernetes directly (YAML deployment)
* Create a Kubernetes deployment YAML file for the agent pod:
apiVersion: apps/v1
kind: Deployment
metadata:
name: azure-pipelines-agent
labels:
app: azure-pipelines-agent
spec:
replicas: 1
selector:
matchLabels:
app: azure-pipelines-agent
template:
metadata:
labels:
app: azure-pipelines-agent
spec:
containers:
- name: agent
image: mcr.microsoft.com/azure-pipelines/vsts-agent:latest
env:
- name: AZP_URL
value: " https://dev.azure.com/{YourOrganizationName} "
- name: AZP_TOKEN
valueFrom:
secretKeyRef:
name: azure-pipelines-token
key: token
- name: AZP_POOL
value: " Pool1 "
- name: AZP_AGENT_NAME
value: " agent-pod "
* Create a Kubernetes secret for the personal access token (PAT) :
kubectl create secret generic azure-pipelines-token --from-literal=token= < your-PAT > Note:
* Replace < your-PAT > with a PAT that has "Agent Pools (Read & manage)" scope.
* Replace {YourOrganizationName} with your actual Azure DevOps organization.
* Deploy the pod:
bash
Copy
kubectl apply -f azure-pipelines-agent.yaml
Step 4: Validate the Agent Connection
* Go back to Organization Settings > Agent pools > Pool1 in Azure DevOps.
* You should see the agent pod connected and listed as online .
Step 5: Use the Pool in Pipelines
By default, all pipelines in Project1 will now have access to the Pool1 agent pool because you granted access during the pool creation.
In your pipeline YAML files, specify the pool name to use the self-hosted agent:
yaml
Copy
pool:
name: Pool1
Explanation:
Step 1: Understand the Requirements
* You need to create a self-hosted agent for Azure Pipelines.
* It will be hosted in a pod (for example, in Kubernetes).
* All pipelines in Project1 should be able to use this agent pool named Pool1 .
Step 2: Create the Agent Pool in Azure DevOps
* Go to your Azure DevOps organization : https://dev.azure.com/{YourOrganizationName}
* In the bottom-left corner, click on the Organization settings gear icon.
* In the left menu, click on Agent pools .
* Click on Add pool .
* Provide the following:
* Pool name: Pool1
* Pool type: Self-hosted
* Grant access permission to all pipelines: Checked (so that all Project1 pipelines can use this pool)
* Click Create .
Now you have an empty agent pool named Pool1 .
Step 3: Prepare the Self-hosted Agent as a Pod
You need to deploy an Azure Pipelines agent container as a pod . Here's how to do it:
Option 1: Using Kubernetes directly (YAML deployment)
* Create a Kubernetes deployment YAML file for the agent pod:
apiVersion: apps/v1
kind: Deployment
metadata:
name: azure-pipelines-agent
labels:
app: azure-pipelines-agent
spec:
replicas: 1
selector:
matchLabels:
app: azure-pipelines-agent
template:
metadata:
labels:
app: azure-pipelines-agent
spec:
containers:
- name: agent
image: mcr.microsoft.com/azure-pipelines/vsts-agent:latest
env:
- name: AZP_URL
value: " https://dev.azure.com/{YourOrganizationName} "
- name: AZP_TOKEN
valueFrom:
secretKeyRef:
name: azure-pipelines-token
key: token
- name: AZP_POOL
value: " Pool1 "
- name: AZP_AGENT_NAME
value: " agent-pod "
* Create a Kubernetes secret for the personal access token (PAT) :
kubectl create secret generic azure-pipelines-token --from-literal=token= < your-PAT > Note:
* Replace < your-PAT > with a PAT that has "Agent Pools (Read & manage)" scope.
* Replace {YourOrganizationName} with your actual Azure DevOps organization.
* Deploy the pod:
bash
Copy
kubectl apply -f azure-pipelines-agent.yaml
Step 4: Validate the Agent Connection
* Go back to Organization Settings > Agent pools > Pool1 in Azure DevOps.
* You should see the agent pod connected and listed as online .
Step 5: Use the Pool in Pipelines
By default, all pipelines in Project1 will now have access to the Pool1 agent pool because you granted access during the pool creation.
In your pipeline YAML files, specify the pool name to use the self-hosted agent:
yaml
Copy
pool:
name: Pool1
Azure DevOps 구독에는 Project 1과 Project 2라는 두 개의 프로젝트가 있습니다. 프로젝트에는 다음 표에 표시된 작업이 포함되어 있습니다.

병렬 작업 두 개를 구매하셨습니다.
오전 10시에 JobA와 JobB를 대기열에 추가합니다. 오전 10시 5분에 JobC를 대기열에 추가합니다.
JobC는 언제 실행되나요?

병렬 작업 두 개를 구매하셨습니다.
오전 10시에 JobA와 JobB를 대기열에 추가합니다. 오전 10시 5분에 JobC를 대기열에 추가합니다.
JobC는 언제 실행되나요?
Correct Answer: A
Vote an answer
Azure DevOps 대시보드를 구성하고 있습니다. 솔루션은 기술 요구 사항을 충족해야 합니다.
각 측정항목에 어떤 위젯을 사용해야 할까요? 정답을 확인하려면 적절한 위젯을 해당 측정항목으로 드래그하세요.
각 위젯은 한 번만 사용하거나, 여러 번 사용하거나, 전혀 사용하지 않을 수도 있습니다. 콘텐츠를 보려면 창 사이의 분할 막대를 드래그하거나 스크롤해야 할 수 있습니다.
참고: 정답 하나당 1점입니다.

각 측정항목에 어떤 위젯을 사용해야 할까요? 정답을 확인하려면 적절한 위젯을 해당 측정항목으로 드래그하세요.
각 위젯은 한 번만 사용하거나, 여러 번 사용하거나, 전혀 사용하지 않을 수도 있습니다. 콘텐츠를 보려면 창 사이의 분할 막대를 드래그하거나 스크롤해야 할 수 있습니다.
참고: 정답 하나당 1점입니다.

Correct Answer:

Explanation:
Graphical user interface, text, application Description automatically generated

Woodgrove Bank identifies the following technical requirements:
* The Azure DevOps dashboard must display the metrics shown in the following table:

Box 1: Velocity
Velocity displays your team velocity. It shows what your team delivered as compared to plan.
Box 2: Release pipeline overview
Release pipeline overview shows the status of environments in a release definition.
Box 3: Query tile
Query tile displays the total number of results from a query.
Reference:
https://docs.micros oft.com/en-us/azure/devops/report/dashboards/widget-catalog?view=azure-devops
패키지 피드를 포함하는 Azure DevOps 프로젝트를 관리합니다.
개발자가 패키지를 목록에서 제외하고 사용 중단할 수 있도록 해야 합니다. 해결책은 최소 권한 원칙을 따라야 합니다.
개발자에게 어떤 접근 권한을 부여해야 할까요?
개발자가 패키지를 목록에서 제외하고 사용 중단할 수 있도록 해야 합니다. 해결책은 최소 권한 원칙을 따라야 합니다.
개발자에게 어떤 접근 권한을 부여해야 할까요?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
2. GitHub 저장소가 있습니다.
메인 브랜치를 배포하기 전에 모든 코드 변경 사항이 회사 보안 부서의 검증을 거치도록 해야 합니다.
수행할 수 있는 두 가지 행동은 무엇입니까? 각 정답은 완전한 해결책을 제시합니다.
참고: 정답 하나당 1점입니다.
메인 브랜치를 배포하기 전에 모든 코드 변경 사항이 회사 보안 부서의 검증을 거치도록 해야 합니다.
수행할 수 있는 두 가지 행동은 무엇입니까? 각 정답은 완전한 해결책을 제시합니다.
참고: 정답 하나당 1점입니다.
Correct Answer: D,E
Vote an answer
하나의 관리 그룹에 4개의 Azure 구독이 있습니다. 각 구독에는 4개의 리소스 그룹이 포함되어 있습니다.
당신은 App1이라는 새로운 웹 앱을 개발합니다.
각 리소스 그룹에 App1 인스턴스를 배포할 계획입니다.
Appl을 배포하는 데 사용할 Bicep 템플릿을 생성해야 합니다. 솔루션은 다음 요구 사항을 충족해야 합니다.
* 각 App1 인스턴스의 이름은 각 구독 및 리소스 그룹에 대해 고유하게 지정되어야 합니다.
* App1을 호스팅하는 데 사용되는 각 App Service 플랜의 이름은 리소스 그룹 내에서 고유하게 지정되어야 합니다.
이 양식을 어떻게 작성해야 할까요? 답변하려면 답변란에서 적절한 옵션을 선택하세요.
참고: 정답 하나당 1점입니다.

당신은 App1이라는 새로운 웹 앱을 개발합니다.
각 리소스 그룹에 App1 인스턴스를 배포할 계획입니다.
Appl을 배포하는 데 사용할 Bicep 템플릿을 생성해야 합니다. 솔루션은 다음 요구 사항을 충족해야 합니다.
* 각 App1 인스턴스의 이름은 각 구독 및 리소스 그룹에 대해 고유하게 지정되어야 합니다.
* App1을 호스팅하는 데 사용되는 각 App Service 플랜의 이름은 리소스 그룹 내에서 고유하게 지정되어야 합니다.
이 양식을 어떻게 작성해야 할까요? 답변하려면 답변란에서 적절한 옵션을 선택하세요.
참고: 정답 하나당 1점입니다.

Correct Answer:

Explanation:

Azure 구독에 RG1이라는 리소스 그룹이 있습니다. RG1에는 다음과 같은 리소스가 포함되어 있습니다.
* Windows Server를 실행하고 IIS(인터넷 정보 서비스)가 설치된 Azure 가상 머신 4대
* Azure 가상 머신의 SQL Server
* Azure 로드 밸런서
Azure Pipelines를 사용하여 RG1의 가상 머신에 애플리케이션을 배포해야 합니다.
어떤 네 가지 행동을 순서대로 수행해야 할까요? 정답을 맞추려면 행동 목록에서 적절한 행동을 골라 답란으로 옮기고 순서대로 배열하세요.

* Windows Server를 실행하고 IIS(인터넷 정보 서비스)가 설치된 Azure 가상 머신 4대
* Azure 가상 머신의 SQL Server
* Azure 로드 밸런서
Azure Pipelines를 사용하여 RG1의 가상 머신에 애플리케이션을 배포해야 합니다.
어떤 네 가지 행동을 순서대로 수행해야 할까요? 정답을 맞추려면 행동 목록에서 적절한 행동을 골라 답란으로 옮기고 순서대로 배열하세요.

Correct Answer:

Explanation:

Step 1: Create an agent pool
Azure Pipelines provides a pre-defined agent pool named Azure Pipelines with Microsoft-hosted agents.
Step 2: Create a deployment group
Deployment groups make it easy to define logical groups of target machines for deployment, and install the required agent on each machine.
Step 3: Execute the Azure Pipelines Agent extension to the virtual machines Install the Azure Pipelines Agent Azure VM extension Step 4: Add and configure a deployment group job for the pipeline Tasks that you define in a deployment group job run on some or all of the target servers, depending on the arguments you specify for the tasks and the job itself.
Reference:
https://docs.m icrosoft.com/en-us/azure/devops/pipelines /release/deployment-groups/howto -provisi on-deployment-group-agen ts
Azure Application Insights 가용성 테스트를 구성합니다.
서비스 이용 가능 여부가 저하될 경우 회사 고객 서비스 부서에 이메일로 알려야 합니다.
이메일 및 후속 조치를 처리하는 Azure 로직 앱을 생성합니다.
로직 앱을 실행하려면 어떤 유형의 트리거를 사용해야 합니까?
서비스 이용 가능 여부가 저하될 경우 회사 고객 서비스 부서에 이메일로 알려야 합니다.
이메일 및 후속 조치를 처리하는 Azure 로직 앱을 생성합니다.
로직 앱을 실행하려면 어떤 유형의 트리거를 사용해야 합니까?
Correct Answer: A
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
GitHub Enterprise를 사용하여 소스 코드와 배포를 관리합니다.
GitHub Actions에서 workflow 1이라는 이름의 재사용 가능한 워크플로를 생성합니다.
호출 워크플로에 정의된 비밀 키가 workflow1으로 전달되는지 확인해야 합니다.
호출 워크플로의 YAML 파일에는 무엇을 포함해야 할까요?
GitHub Actions에서 workflow 1이라는 이름의 재사용 가능한 워크플로를 생성합니다.
호출 워크플로에 정의된 비밀 키가 workflow1으로 전달되는지 확인해야 합니다.
호출 워크플로의 YAML 파일에는 무엇을 포함해야 할까요?
Correct Answer: C
Vote an answer
회사의 테스트 프로세스를 자동화하고 있습니다.
웹 애플리케이션의 UI 테스트를 자동화해야 합니다.
어떤 프레임워크를 사용해야 할까요?
웹 애플리케이션의 UI 테스트를 자동화해야 합니다.
어떤 프레임워크를 사용해야 할까요?
Correct Answer: B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Windows Server를 실행하는 Azure 가상 머신의 기준 메트릭을 모니터링하는 전략을 설계하고 있습니다. 게스트 운영 체제에서 실행되는 프로세스에 대한 자세한 데이터를 수집해야 합니다. 어떤 에이전트 두 개를 배포해야 할까요? 각 정답은 솔루션의 일부를 나타냅니다. 참고: 각 정답은 1점입니다.
Correct Answer: A,D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).