CCNA-146 · 理解確認
Infrastructure as Code · 理解確認
試験項目 5.3 · 22問
Infrastructure as Code(IaC)の説明として適切なのはどれか。
B. Network InfrastructureをCloud Controllerだけで管理する方法
C. InfrastructureのProvisioning / Configuration / ManagementをCodeとして扱う方法
D. Network InfrastructureのUser TrafficをCode自体でForwardする方法
答えと解説
答え:C
InfrastructureのProvisioning / Configuration / ManagementをCodeとして扱う方法
Network構成をCode Definitionとして管理しAutomationでInfrastructureへ反映している。このApproachはどれか。
B. Cloud Management PlatformのHosting Locationだけを示すApproach
C. ControllerのNetwork-wide Visibilityだけを示すApproach
D. Infrastructure DefinitionをCodeで管理するInfrastructure as Code
答えと解説
答え:D
Infrastructure DefinitionをCodeで管理するInfrastructure as Code
IaCでNetwork構成そのものを表現する中心Artifactとして適切なのはどれか。
B. 各Deviceへ手入力したCommandの作業記録だけ
C. Networkを流れるUser PacketのPayload情報だけ
D. Management Controllerの設置Location情報だけ
答えと解説
答え:A
Machine-readableなInfrastructure Definition
YAML等のDefinitionを変更するとNetwork構成の意図も変更される運用である。このDefinitionが担う役割はどれか。
B. Infrastructure ConfigurationをMachine-readableに表現する
C. Cloud Management PlatformのHosting Locationを示すだけ
D. Device-Based Manual Operationの作業時刻を記録するだけ
答えと解説
答え:B
Infrastructure ConfigurationをMachine-readableに表現する
IaCでVersion Controlを利用する主な利点はどれか。
B. User PacketのForwardingを高速化する
C. Definitionの変更履歴や差分を追跡しやすくする
D. ControllerをCloudへ移動する
答えと解説
答え:C
Definitionの変更履歴や差分を追跡しやすくする
Infrastructure Definitionの過去版と現在版の差分を確認したい。最も関係するPracticeはどれか。
B. DefinitionをDeviceへ反映するAutomation Engine
C. Definitionの変更内容を確認するCode Review
D. Definitionの履歴を保持するVersion Control
答えと解説
答え:D
Definitionの履歴を保持するVersion Control
IaCがCode / Change Reviewと相性が良い理由はどれか。
B. Infrastructure変更をDefinitionから自動承認できる
C. Infrastructure変更をUser Trafficだけから判断できる
D. Infrastructure変更をController配置だけで判断できる
答えと解説
答え:A
Infrastructure変更をDefinitionの差分として適用前に確認できる
Pull RequestでNetwork Definitionの変更点をReviewしてから適用する。示しているPracticeはどれか。
B. Code / Change Review
C. Cloud-only Management
D. Data Plane Forwarding
答えと解説
答え:B
Code / Change Review
IaCによるRepeatable Deploymentの説明として適切なのはどれか。
B. 毎回異なるManual CommandだけでInfrastructureを作る
C. 同じDefinitionとAutomationを再利用して同様のInfrastructureを展開する
D. 同じController Locationだけを再利用してInfrastructureを展開する
答えと解説
答え:C
同じDefinitionとAutomationを再利用して同様のInfrastructureを展開する
Lab環境を毎回同じDefinitionから再構築したい。IaCのどの利点が最も関係するか。
B. Device Console Access
C. Data Plane Centralization
D. Repeatable Deployment
答えと解説
答え:D
Repeatable Deployment
IaCがConfiguration Consistencyを高めやすい理由はどれか。
B. すべてのDeviceが同じHardwareになるため
C. User Trafficが同じ経路になるため
D. Controllerが必ずCloudになるため
答えと解説
答え:A
共通Definitionを基準に複数環境へ同じ設定を反映しやすい
DevとTest環境のNetwork設定差分を減らすため同じInfrastructure Definitionを利用した。狙いはどれか。
B. Configuration Consistency
C. Data Plane Centralization
D. Cloud Region分離
答えと解説
答え:B
Configuration Consistency
IaC Definitionと実Infrastructureの間でAutomation Engineが担う役割はどれか。
B. Definitionの差分を人へ表示するだけ
C. DefinitionをDevice / Controller等へ反映する
D. DefinitionをUser TrafficへEncapsulateする
答えと解説
答え:C
DefinitionをDevice / Controller等へ反映する
RepositoryへDefinitionをCommitしただけではNetworkが変わらず、Deployment Engine実行後に反映された。何を示すか。
B. IaCではDefinitionをInfrastructureへ適用するEngineを利用できない
C. ControllerはDefinitionの有無に関係なく変更を自動適用する
D. Definitionの適用にはExecution Mechanismが別途必要になり得る
答えと解説
答え:D
Definitionの適用にはExecution Mechanismが別途必要になり得る
IaC WorkflowへValidation / Testingを組み込む目的として適切なのはどれか。
B. DefinitionをVersion Controlへ保存するだけで正しさを保証する
C. DefinitionをAutomation Engineへ渡すだけで正しさを保証する
D. DefinitionをDeclarative形式にするだけで正しさを保証する
答えと解説
答え:A
DefinitionやExpected Stateの問題を適用前後に確認する
変更Definitionを適用前にPolicy Testし、適用後にExpected Stateを確認した。何を示すか。
B. Validation / TestingをIaC Workflowへ組み込んでいる
C. Cloud Hostingだけを利用している
D. Data PlaneをControllerへ移行している
答えと解説
答え:B
Validation / TestingをIaC Workflowへ組み込んでいる
Declarative IaCとImperative IaCの違いとして適切なのはどれか。
B. DeclarativeだけがIaCでImperativeはIaCではない
C. DeclarativeはDesired State、Imperativeは到達手順を記述する
D. DeclarativeはCLI、ImperativeはGUIを意味する
答えと解説
答え:C
DeclarativeはDesired State、Imperativeは到達手順を記述する
「VLAN 20が存在する状態」を定義する方式と、「Command A→B→Cを順に実行する」方式を比較した。前者はどれか。
B. Device-Based Management
C. Cloud-Based Management
D. Declarative Approach
答えと解説
答え:D
Declarative Approach
IaCと単発Script Automationの違いとして適切なのはどれか。
B. IaCはScriptを一切利用せずAutomationだけを禁止する点が中心
C. IaCはControllerを利用せずDeviceだけへ適用する点が中心
D. IaCはCloud環境だけを対象にInfrastructureを管理する点が中心
答えと解説
答え:A
IaCはInfrastructure Definition自体をCodeとして管理する点が中心
Interface Counterを収集するだけのScriptがあるがInfrastructure Definitionは管理していない。この説明として適切なのはどれか。
B. AutomationではあるがInfrastructure Definitionを管理しないため、それだけでIaCとは限らない
C. Automationであれば必ずController-Based Managementにも分類される
D. Automationであれば必ずCloud-Based Managementにも分類される
答えと解説
答え:B
AutomationではあるがInfrastructure Definitionを管理しないため、それだけでIaCとは限らない
IaCとDevice / Controllerの関係として適切なのはどれか。
B. IaC DefinitionはDeviceへ直接適用する方法しか利用できない
C. IaC DefinitionはDeviceへ直接またはController経由で適用できる
D. IaC DefinitionはCloud-managed Deviceにしか適用できない
答えと解説
答え:C
IaC DefinitionはDeviceへ直接またはController経由で適用できる
同じRepositoryのNetwork Definitionを、Site-AではDevice APIへ、Site-BではController APIへ反映している。何を示すか。
B. IaCはDevice-Based Managementと同時には利用できない
C. IaCはCloud-hosted Managementでのみ利用できる
D. IaCは異なるManagement Architectureと組み合わせて利用できる
答えと解説
答え:D
IaCは異なるManagement Architectureと組み合わせて利用できる