QuestionQ14

Infrastructure as Code

Your team is tasked with deploying a new version of an application used by your company’s finance department. The application is critical to departmental operations, and any outage could have serious consequences.

Which OCI approach is recommended for creating environments in this scenario?

  • A Deploy the application to two separate OCI tenancies to ensure complete isolation between environments.
  • B Use a single Kubernetes cluster with two node pools, one for the blue-green environment and one for the canary environment.
  • C Configure two OKE clusters, selecting the blue-green traffic shift strategy using a load balancer.
  • D Use a single OCI region and create two separate Virtual Cloud Networks (VCNs), one for the blue environment and one for the green environment.
Explanation

Blue-green deployment keeps the current production environment available while a separate environment runs and validates the new release, enabling a controlled traffic cutover and rollback capability. Creating separate VCNs for the blue and green environments provides the required environmental separation within a single OCI region. For OKE blue-green deployments, OCI documentation specifies NGINX ingress for traffic routing rather than a load-balancer traffic-shift strategy.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!