Q8Cloud Architecture
What is a cloud landing zone?
What is a cloud landing zone? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy t…
Answer
What is a cloud landing zone? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q9Cloud Architecture
What are the benefits and trade-offs of multi-cloud?
What are the benefits and trade-offs of multi-cloud? Begin with functional, security, performance, compliance, and recovery requirements. Select …
Answer
What are the benefits and trade-offs of multi-cloud? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q12Compute
What is autoscaling and how does it work?
What is autoscaling and how does it work? Begin with functional, security, performance, compliance, and recovery requirements. Select services th…
Answer
What is autoscaling and how does it work? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q16Compute & Deployment
What is Kubernetes and when is it useful?
What is Kubernetes and when is it useful? Begin with functional, security, performance, compliance, and recovery requirements. Select services th…
Answer
What is Kubernetes and when is it useful? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q22Networking
What is a route table?
What is a route table? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone i…
Answer
What is a route table? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q23Networking
Compare AWS security groups and network ACLs.
Compare AWS security groups and network ACLs. In AWS, select the suitable managed or self-managed service, confirm account and region, and grant …
Answer
Compare AWS security groups and network ACLs. In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q25Networking
What is NAT and why is it used?
What is NAT and why is it used? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressin…
Answer
What is NAT and why is it used? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q26Networking
What is VPC/VNet peering?
What is VPC/VNet peering? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alon…
Answer
What is VPC/VNet peering? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q27Networking
VPN vs dedicated cloud connectivity: what are the trade-offs?
VPN vs dedicated cloud connectivity: what are the trade-offs? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries…
Answer
VPN vs dedicated cloud connectivity: what are the trade-offs? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q28Networking
What is a private endpoint or private link?
What is a private endpoint or private link? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Priva…
Answer
What is a private endpoint or private link? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q30Networking
What is TLS termination and should backend traffic be encrypted?
What is TLS termination and should backend traffic be encrypted? Define address ranges, routes, ingress/egress controls, DNS, and failure boundar…
Answer
What is TLS termination and should backend traffic be encrypted? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q31Networking
How do you troubleshoot a cloud connectivity issue?
How do you troubleshoot a cloud connectivity issue? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitl…
Answer
How do you troubleshoot a cloud connectivity issue? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q36Storage
What is object versioning?
What is object versioning? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them…
Answer
What is object versioning? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q38Storage & Security
What does a cloud key management service do?
What does a cloud key management service do? Choose storage based on access pattern, performance, durability, consistency, and recovery requireme…
Answer
What does a cloud key management service do? Choose storage based on access pattern, performance, durability, consistency, and recovery requirements. Apply least-privilege access, encryption, lifecycle/retention policies, and monitoring. Versioning or snapshots help recovery but are not a substitute for tested backups.
Syntax
identity → storage API → object/volume/share → policy + encryption + lifecycle
Example
Keep storage private, grant access to the workload identity, enable encryption, and test retention and restore procedures.
Code example
# Inspect storage and access controls
aws s3 ls
aws s3api get-public-access-block --bucket <bucket-name>
Diagram
Application identity → storage endpoint → data + keys + backup/lifecycle
Key Points
- Access policy
- encryption
- lifecycle
- durability
- restore testing
Q39Storage
How do snapshots differ from backups?
How do snapshots differ from backups? Choose storage based on access pattern, performance, durability, consistency, and recovery requirements. Ap…
Answer
How do snapshots differ from backups? Choose storage based on access pattern, performance, durability, consistency, and recovery requirements. Apply least-privilege access, encryption, lifecycle/retention policies, and monitoring. Versioning or snapshots help recovery but are not a substitute for tested backups.
Syntax
identity → storage API → object/volume/share → policy + encryption + lifecycle
Example
Keep storage private, grant access to the workload identity, enable encryption, and test retention and restore procedures.
Code example
# Inspect storage and access controls
aws s3 ls
aws s3api get-public-access-block --bucket <bucket-name>
Diagram
Application identity → storage endpoint → data + keys + backup/lifecycle
Key Points
- Access policy
- encryption
- lifecycle
- durability
- restore testing
Q40Storage & Data
What is a data lake?
What is a data lake? Choose storage based on access pattern, performance, durability, consistency, and recovery requirements. Apply least-privile…
Answer
What is a data lake? Choose storage based on access pattern, performance, durability, consistency, and recovery requirements. Apply least-privilege access, encryption, lifecycle/retention policies, and monitoring. Versioning or snapshots help recovery but are not a substitute for tested backups.
Syntax
identity → storage API → object/volume/share → policy + encryption + lifecycle
Example
Keep storage private, grant access to the workload identity, enable encryption, and test retention and restore procedures.
Code example
# Inspect storage and access controls
aws s3 ls
aws s3api get-public-access-block --bucket <bucket-name>
Diagram
Application identity → storage endpoint → data + keys + backup/lifecycle
Key Points
- Access policy
- encryption
- lifecycle
- durability
- restore testing
Q45Azure Identity
What are managed identities in Azure?
What are managed identities in Azure? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and ac…
Answer
What are managed identities in Azure? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. Use least-privilege Azure RBAC, enable appropriate diagnostics, and verify service-specific limits and recovery options.
Syntax
az account show
az resource list -g <resource-group> -o table
Example
Inspect the active subscription and target resource group before changing configuration.
Code example
# Azure CLI examples; replace placeholders
az account show
az resource list -g rg-demo -o table
Diagram
Entra ID / Azure RBAC → Subscription → Resource group → Azure resource
Key Points
- Azure CLI
- scope
- RBAC
- region/SKU
- diagnostics
Q46AWS Identity
What are IAM roles in AWS?
What are IAM roles in AWS? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM…
Answer
What are IAM roles in AWS? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q49Azure Identity
What are Microsoft Entra ID and service principals?
What are Microsoft Entra ID and service principals? Configure the relevant Azure resource using the correct subscription, region, SKU, network bo…
Answer
What are Microsoft Entra ID and service principals? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. Use least-privilege Azure RBAC, enable appropriate diagnostics, and verify service-specific limits and recovery options.
Syntax
az account show
az resource list -g <resource-group> -o table
Example
Inspect the active subscription and target resource group before changing configuration.
Code example
# Azure CLI examples; replace placeholders
az account show
az resource list -g rg-demo -o table
Diagram
Entra ID / Azure RBAC → Subscription → Resource group → Azure resource
Key Points
- Azure CLI
- scope
- RBAC
- region/SKU
- diagnostics
Q51Identity & Access
How should cloud secrets be stored and rotated?
How should cloud secrets be stored and rotated? Identify the principal, authenticate it with an approved identity provider, and authorize only th…
Answer
How should cloud secrets be stored and rotated? Identify the principal, authenticate it with an approved identity provider, and authorize only the actions required at the narrowest practical scope. Prefer managed identities or short-lived federated credentials to embedded long-lived secrets, and audit privileged operations.
Syntax
principal + action + resource + condition → allow/deny
Example
Grant a workload identity only the read actions it needs on the required resource, and review that assignment regularly.
Code example
# Illustrative least-privilege policy shape
{
"Effect": "Allow",
"Action": ["service:Read"],
"Resource": "specific-resource"
}
Diagram
User/workload → authentication → policy evaluation → resource access
Key Points
- Authentication vs authorization
- least privilege
- scoped roles
- audit
- credential hygiene
Q53AWS Governance
What is AWS Organizations and a multi-account strategy?
What is AWS Organizations and a multi-account strategy? In AWS, select the suitable managed or self-managed service, confirm account and region, …
Answer
What is AWS Organizations and a multi-account strategy? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q54Governance & Security
What are cloud policy guardrails?
What are cloud policy guardrails? Define standards and enforce them with policy, tagging, budgets, alerts, and reviewed exceptions. Assign owners…
Answer
What are cloud policy guardrails? Define standards and enforce them with policy, tagging, budgets, alerts, and reviewed exceptions. Assign owners to alerts and include data transfer, backups, high availability, and non-production usage in cost estimates; budget alerts are not always hard spending caps.
Syntax
measure → allocate → set guardrail → alert → remediate
Example
Tag resources with owners and environments, alert on budget thresholds, and review actual spend against usage and reliability needs.
Code example
# Example metadata convention
Environment=production
Owner=platform-team
CostCenter=1234
# Configure budgets and alerts in cloud cost-management tooling
Diagram
Cloud resources → tags/usage telemetry → cost & policy reports → owner action
Key Points
- Ownership
- policy
- budget alerts
- quotas
- auditability
Q56Governance & Cost
How do budgets, alerts, and quotas control cloud spend?
How do budgets, alerts, and quotas control cloud spend? Define standards and enforce them with policy, tagging, budgets, alerts, and reviewed exc…
Answer
How do budgets, alerts, and quotas control cloud spend? Define standards and enforce them with policy, tagging, budgets, alerts, and reviewed exceptions. Assign owners to alerts and include data transfer, backups, high availability, and non-production usage in cost estimates; budget alerts are not always hard spending caps.
Syntax
measure → allocate → set guardrail → alert → remediate
Example
Tag resources with owners and environments, alert on budget thresholds, and review actual spend against usage and reliability needs.
Code example
# Example metadata convention
Environment=production
Owner=platform-team
CostCenter=1234
# Configure budgets and alerts in cloud cost-management tooling
Diagram
Cloud resources → tags/usage telemetry → cost & policy reports → owner action
Key Points
- Ownership
- policy
- budget alerts
- quotas
- auditability
Q57Governance & Cost
How do you estimate cloud costs before deployment?
How do you estimate cloud costs before deployment? Automate repeatable validation, build an identifiable artifact, apply security checks, and dep…
Answer
How do you estimate cloud costs before deployment? Automate repeatable validation, build an identifiable artifact, apply security checks, and deploy through controlled environments. Use minimal pipeline permissions, protect production credentials, observe rollout health, and define rollback criteria before release.
Syntax
commit → build → test/scan → immutable artifact → deploy → verify
Example
Build a versioned artifact once, promote the same digest through staging and production, and verify health after rollout.
Code example
# Pipeline outline
npm ci
npm test
docker build -t registry.example.com/app:${GIT_SHA} .
# scan, publish, deploy, then run smoke tests
Diagram
Source → CI checks → artifact registry → staging → approval/traffic shift → production
Key Points
- Automated checks
- immutable artifacts
- least privilege
- rollout health
- rollback
Q58Reliability
What is an SLA, and how does it differ from an SLO?
What is an SLA, and how does it differ from an SLO? Define standards and enforce them with policy, tagging, budgets, alerts, and reviewed excepti…
Answer
What is an SLA, and how does it differ from an SLO? Define standards and enforce them with policy, tagging, budgets, alerts, and reviewed exceptions. Assign owners to alerts and include data transfer, backups, high availability, and non-production usage in cost estimates; budget alerts are not always hard spending caps.
Syntax
measure → allocate → set guardrail → alert → remediate
Example
Tag resources with owners and environments, alert on budget thresholds, and review actual spend against usage and reliability needs.
Code example
# Example metadata convention
Environment=production
Owner=platform-team
CostCenter=1234
# Configure budgets and alerts in cloud cost-management tooling
Diagram
Cloud resources → tags/usage telemetry → cost & policy reports → owner action
Key Points
- Ownership
- policy
- budget alerts
- quotas
- auditability
Q61Azure Networking
What is Azure Virtual Network peering?
What is Azure Virtual Network peering? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and a…
Answer
What is Azure Virtual Network peering? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. Use least-privilege Azure RBAC, enable appropriate diagnostics, and verify service-specific limits and recovery options.
Syntax
az account show
az resource list -g <resource-group> -o table
Example
Inspect the active subscription and target resource group before changing configuration.
Code example
# Azure CLI examples; replace placeholders
az account show
az resource list -g rg-demo -o table
Diagram
Entra ID / Azure RBAC → Subscription → Resource group → Azure resource
Key Points
- Azure CLI
- scope
- RBAC
- region/SKU
- diagnostics
Q62Azure Identity
What is Azure Key Vault?
What is Azure Key Vault? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. …
Answer
What is Azure Key Vault? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. Use least-privilege Azure RBAC, enable appropriate diagnostics, and verify service-specific limits and recovery options.
Syntax
az account show
az resource list -g <resource-group> -o table
Example
Inspect the active subscription and target resource group before changing configuration.
Code example
# Azure CLI examples; replace placeholders
az account show
az resource list -g rg-demo -o table
Diagram
Entra ID / Azure RBAC → Subscription → Resource group → Azure resource
Key Points
- Azure CLI
- scope
- RBAC
- region/SKU
- diagnostics
Q64Azure Networking
Compare Azure Application Gateway and Azure Load Balancer.
Compare Azure Application Gateway and Azure Load Balancer. Configure the relevant Azure resource using the correct subscription, region, SKU, net…
Answer
Compare Azure Application Gateway and Azure Load Balancer. Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. Use least-privilege Azure RBAC, enable appropriate diagnostics, and verify service-specific limits and recovery options.
Syntax
az account show
az resource list -g <resource-group> -o table
Example
Inspect the active subscription and target resource group before changing configuration.
Code example
# Azure CLI examples; replace placeholders
az account show
az resource list -g rg-demo -o table
Diagram
Entra ID / Azure RBAC → Subscription → Resource group → Azure resource
Key Points
- Azure CLI
- scope
- RBAC
- region/SKU
- diagnostics
Q65Azure Networking
What is Azure Private Link?
What is Azure Private Link? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access polic…
Answer
What is Azure Private Link? Configure the relevant Azure resource using the correct subscription, region, SKU, network boundary, and access policy. Use least-privilege Azure RBAC, enable appropriate diagnostics, and verify service-specific limits and recovery options.
Syntax
az account show
az resource list -g <resource-group> -o table
Example
Inspect the active subscription and target resource group before changing configuration.
Code example
# Azure CLI examples; replace placeholders
az account show
az resource list -g rg-demo -o table
Diagram
Entra ID / Azure RBAC → Subscription → Resource group → Azure resource
Key Points
- Azure CLI
- scope
- RBAC
- region/SKU
- diagnostics
Q69AWS Services
What is Amazon DynamoDB?
What is Amazon DynamoDB? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM p…
Answer
What is Amazon DynamoDB? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q70AWS Services
What is Amazon CloudFront?
What is Amazon CloudFront? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM…
Answer
What is Amazon CloudFront? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q71AWS Observability
What are Amazon CloudWatch and CloudTrail used for?
What are Amazon CloudWatch and CloudTrail used for? In AWS, select the suitable managed or self-managed service, confirm account and region, and …
Answer
What are Amazon CloudWatch and CloudTrail used for? In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q72AWS Networking
Compare AWS Internet Gateway and NAT Gateway.
Compare AWS Internet Gateway and NAT Gateway. In AWS, select the suitable managed or self-managed service, confirm account and region, and grant …
Answer
Compare AWS Internet Gateway and NAT Gateway. In AWS, select the suitable managed or self-managed service, confirm account and region, and grant narrowly scoped IAM permissions. Review quotas, cost, availability, and operational responsibilities before production use.
Syntax
aws sts get-caller-identity
aws <service> describe-<resource>
Example
Verify the active AWS identity/account and inspect the resource before applying changes.
Code example
# AWS CLI examples; verify the service-specific command
aws sts get-caller-identity
aws ec2 describe-vpcs --output table
Diagram
AWS account → IAM role/policy → VPC/service resource → CloudWatch/CloudTrail
Key Points
- AWS account/region
- IAM
- service settings
- telemetry
- cost
Q74Infrastructure as Code
Compare Terraform, Bicep, and CloudFormation.
Compare Terraform, Bicep, and CloudFormation. Infrastructure as code makes changes reviewable and repeatable. Validate configuration, inspect pla…
Answer
Compare Terraform, Bicep, and CloudFormation. Infrastructure as code makes changes reviewable and repeatable. Validate configuration, inspect planned changes, protect state and credentials, and detect drift. Use controlled state storage and do not blindly apply destructive changes.
Syntax
init → validate → plan/diff → review → apply
Example
Validate configuration and review the plan in CI before applying through a controlled identity.
Code example
# Terraform workflow
terraform init
terraform fmt -check
terraform validate
terraform plan
Diagram
Versioned IaC → validation/plan → review/approval → cloud control plane
Key Points
- Version control
- plan review
- state protection
- least privilege
- drift detection
Q76Infrastructure as Code
What is configuration drift and how can you detect it?
What is configuration drift and how can you detect it? Infrastructure as code makes changes reviewable and repeatable. Validate configuration, in…
Answer
What is configuration drift and how can you detect it? Infrastructure as code makes changes reviewable and repeatable. Validate configuration, inspect planned changes, protect state and credentials, and detect drift. Use controlled state storage and do not blindly apply destructive changes.
Syntax
init → validate → plan/diff → review → apply
Example
Validate configuration and review the plan in CI before applying through a controlled identity.
Code example
# Terraform workflow
terraform init
terraform fmt -check
terraform validate
terraform plan
Diagram
Versioned IaC → validation/plan → review/approval → cloud control plane
Key Points
- Version control
- plan review
- state protection
- least privilege
- drift detection
Q79Deployment
What is a rolling deployment?
What is a rolling deployment? Automate repeatable validation, build an identifiable artifact, apply security checks, and deploy through controlle…
Answer
What is a rolling deployment? Automate repeatable validation, build an identifiable artifact, apply security checks, and deploy through controlled environments. Use minimal pipeline permissions, protect production credentials, observe rollout health, and define rollback criteria before release.
Syntax
commit → build → test/scan → immutable artifact → deploy → verify
Example
Build a versioned artifact once, promote the same digest through staging and production, and verify health after rollout.
Code example
# Pipeline outline
npm ci
npm test
docker build -t registry.example.com/app:${GIT_SHA} .
# scan, publish, deploy, then run smoke tests
Diagram
Source → CI checks → artifact registry → staging → approval/traffic shift → production
Key Points
- Automated checks
- immutable artifacts
- least privilege
- rollout health
- rollback
Q80Deployment
How do feature flags help cloud releases?
How do feature flags help cloud releases? Automate repeatable validation, build an identifiable artifact, apply security checks, and deploy throu…
Answer
How do feature flags help cloud releases? Automate repeatable validation, build an identifiable artifact, apply security checks, and deploy through controlled environments. Use minimal pipeline permissions, protect production credentials, observe rollout health, and define rollback criteria before release.
Syntax
commit → build → test/scan → immutable artifact → deploy → verify
Example
Build a versioned artifact once, promote the same digest through staging and production, and verify health after rollout.
Code example
# Pipeline outline
npm ci
npm test
docker build -t registry.example.com/app:${GIT_SHA} .
# scan, publish, deploy, then run smoke tests
Diagram
Source → CI checks → artifact registry → staging → approval/traffic shift → production
Key Points
- Automated checks
- immutable artifacts
- least privilege
- rollout health
- rollback
Q85Security Architecture
What is a WAF and what does it protect against?
What is a WAF and what does it protect against? Begin with functional, security, performance, compliance, and recovery requirements. Select servi…
Answer
What is a WAF and what does it protect against? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q86Security Architecture
How does DDoS protection work?
How does DDoS protection work? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy …
Answer
How does DDoS protection work? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q88Security Architecture
How do you secure a public storage bucket?
How do you secure a public storage bucket? Choose storage based on access pattern, performance, durability, consistency, and recovery requirement…
Answer
How do you secure a public storage bucket? Choose storage based on access pattern, performance, durability, consistency, and recovery requirements. Apply least-privilege access, encryption, lifecycle/retention policies, and monitoring. Versioning or snapshots help recovery but are not a substitute for tested backups.
Syntax
identity → storage API → object/volume/share → policy + encryption + lifecycle
Example
Keep storage private, grant access to the workload identity, enable encryption, and test retention and restore procedures.
Code example
# Inspect storage and access controls
aws s3 ls
aws s3api get-public-access-block --bucket <bucket-name>
Diagram
Application identity → storage endpoint → data + keys + backup/lifecycle
Key Points
- Access policy
- encryption
- lifecycle
- durability
- restore testing
Q89Security Architecture
What is a cloud security baseline?
What is a cloud security baseline? Begin with functional, security, performance, compliance, and recovery requirements. Select services that sati…
Answer
What is a cloud security baseline? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost
Q90Observability
What are logs, metrics, and traces?
What are logs, metrics, and traces? Combine logs for event detail, metrics for trends, and traces for request flow. Define actionable alerts, pro…
Answer
What are logs, metrics, and traces? Combine logs for event detail, metrics for trends, and traces for request flow. Define actionable alerts, protect telemetry from sensitive-data leakage, and assign clear ownership for incident response.
Syntax
instrument → collect → correlate → alert → investigate
Example
Correlate a request trace with logs and latency metrics to determine whether a delay comes from the application or a downstream dependency.
Code example
# Example structured log
{"level":"error","service":"api","traceId":"abc-123","message":"Request timed out"}
Diagram
Application → logs + metrics + traces → dashboards/alerts → incident response
Key Points
- Logs
- metrics
- traces
- actionable alerts
- privacy and retention
Q91Observability
What are liveness and readiness health checks?
What are liveness and readiness health checks? Combine logs for event detail, metrics for trends, and traces for request flow. Define actionable …
Answer
What are liveness and readiness health checks? Combine logs for event detail, metrics for trends, and traces for request flow. Define actionable alerts, protect telemetry from sensitive-data leakage, and assign clear ownership for incident response.
Syntax
instrument → collect → correlate → alert → investigate
Example
Correlate a request trace with logs and latency metrics to determine whether a delay comes from the application or a downstream dependency.
Code example
# Example structured log
{"level":"error","service":"api","traceId":"abc-123","message":"Request timed out"}
Diagram
Application → logs + metrics + traces → dashboards/alerts → incident response
Key Points
- Logs
- metrics
- traces
- actionable alerts
- privacy and retention
Q94Cloud Architecture
What is a hub-and-spoke network topology?
What is a hub-and-spoke network topology? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private…
Answer
What is a hub-and-spoke network topology? Define address ranges, routes, ingress/egress controls, DNS, and failure boundaries explicitly. Private addressing alone is not a security boundary; validate effective routes and both directions of traffic, then use flow logs and health probes to diagnose failures.
Syntax
source → DNS → route → security rule → listener → destination
Example
Troubleshoot DNS, effective routes, security rules, listener health, TLS, and application logs in that order.
Code example
# Diagnostics
nslookup app.example.com
curl -v https://app.example.com/health
# Inspect effective routes and firewall/security rules
Diagram
Client → DNS → route table → firewall/NSG/security group → load balancer → workload
Key Points
- CIDR planning
- routes
- security rules
- DNS
- health checks
Q96Cloud Architecture
How do you choose between multi-zone and multi-region architecture?
How do you choose between multi-zone and multi-region architecture? Begin with functional, security, performance, compliance, and recovery requir…
Answer
How do you choose between multi-zone and multi-region architecture? Begin with functional, security, performance, compliance, and recovery requirements. Select services that satisfy them without unnecessary complexity, define identity and network boundaries, automate repeatable operations, and validate the design with monitoring and failure testing.
Syntax
requirements → service choice → secure configuration → monitor
Example
Choose the simplest service that satisfies the requirements, then test access, scaling, backup, monitoring, and cost before launch.
Code example
# Readiness checklist
# 1. Define requirements and recovery objectives
# 2. Apply identity/network controls
# 3. Automate deployment and validation
# 4. Monitor cost, health, and security
Diagram
Requirements → cloud services → network/identity controls → telemetry → operations
Key Points
- Requirements first
- service fit
- security
- operational readiness
- cost