4 questions

Deployment

A team wants every deployment of its network and compute resources to be reproducible, version-controlled, and auditable. Which approach best achieves this?

  • a.Manually configuring resources through the web console each time
  • b.Emailing a checklist of steps to the operations team
  • c.Defining infrastructure as code in declarative templates
  • d.Taking screenshots of the settings after each build

Infrastructure as code (IaC) defines resources in declarative, version-controlled templates so environments can be rebuilt identically and reviewed like any other code. Manual console changes and checklists are error-prone and not reliably reproducible or auditable.

Deployment

A company moves an existing application to the cloud with no changes to its architecture, simply relocating the VMs. Which migration strategy is this?

  • a.Lift-and-shift (rehost)
  • b.Refactor (re-architect)
  • c.Replatform
  • d.Retire

Lift-and-shift, or rehosting, moves a workload to the cloud as-is with minimal changes, which is fast but does not gain cloud-native benefits. Replatforming makes small optimizations, refactoring redesigns the application, and retiring removes it entirely.

Deployment

An administrator is subnetting a VPC and must place a database tier where instances have no direct route to the internet. Which design element accomplishes this?

  • a.Assigning public IP addresses to each database instance
  • b.Placing the databases in a public subnet with an internet gateway route
  • c.Opening the security group to 0.0.0.0/0 on all ports
  • d.Placing the databases in a private subnet with no internet gateway route

A private subnet has no route to an internet gateway, so its instances cannot be reached directly from the internet, which is appropriate for database tiers. Public IPs, public-subnet routing, or wide-open security groups would expose the databases.

Deployment

During capacity planning for a new deployment, which metric pair is most relevant when choosing an appropriately sized compute instance?

  • a.Data center latitude and longitude
  • b.Expected vCPU and memory utilization
  • c.The provider's stock ticker and market cap
  • d.The color of the management console theme

Right-sizing an instance requires matching its vCPU and memory to the workload's expected utilization to avoid over-provisioning cost or under-provisioning performance. The other options have no bearing on instance sizing.

Report