A DevOps engineer is asked to access an Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) cluster to deploy new applications and manage existing ones.
Which two statements are true? (Choose two.)
To access an OKE cluster using kubectl, you need to set up a Kubernetes configuration file (kubeconfig). By default, the kubeconfig file is named config and stored in the $HOME/.kube directory.
When a cluster's Kubernetes API endpoint has a public IP address, you can use Cloud Shell to access the cluster. Setting up a kubeconfig file is required to authenticate and manage the cluster.
You are a DevOps project administrator. You are creating Oracle Cloud Infrastructure (OCI) Identity and Access Management (IAM) policies that will be used in a DevOps CI/CD pipeline for deployment to an Oracle Container Engine for Kubernetes (OKE) environment.
Which OCI IAM policy can be used?
Choosen policy specifies an IAM policy allowing the group (in this case, the deployment pipeline) to manage devops-family resources within a specific compartment. The devops-family is a group of services that includes the OCI DevOps service, which is suitable for managing CI/CD pipelines, deployments, and related operations for an OKE environment.
A DevOps team is deploying a new version of their application to their production environment using the Canary deployment strategy in the OCI DevOps service. They want to ensure that the production environment is not affected by any potential issues caused by the new version.
Which statement is true in regards to the Canary deployment strategy?
In a Canary deployment strategy, a new version of an application is rolled out to a small subset of the production environment (the canary) first, while the majority of the production environment still runs the current stable version. This approach helps to detect potential issues before the new version is fully deployed.
The Invoke Function stage can be used as an optional step in the deployment pipeline to run additional validation (e.g., automated tests or other checks) on the new version before gradually shifting more traffic to it or moving to full production deployment.
While adding variables to your build_spec.yaml file, you made a mistake that resulted in a failed build pipeline.
What is the error you could have made?
In build_spec.yaml for OCI DevOps, variables must be correctly defined and used according to the specification. If you defined parameters using ${VARIABLE_NAME} and then attempted to assign their values through the Parameters tab in the build pipeline, you may have introduced an error. The syntax and usage of parameters must be properly defined in both the build_spec.yaml and the build pipeline interface.
As a DevOps engineer at XYZ Corp, you are responsible for ensuring the smooth operation of high-traffic web applications hosted on Oracle Cloud Infrastructure (OCI). The web applications run on multiple OCI resources, including virtual machines, load balancers, and databases. Recently, users have reported failures while accessing one of the OCI-based web applications, and you suspect HTTP 5XX errors on the load balancer. You need to quickly identify and address this issue.
Which of the following statements can assist you in quickly identifying and monitoring the HTTP 5XX error rate on the load balancer and setting up notifications?
The Monitoring service in OCI can be used to track metrics for various OCI resources, including load balancers. You can monitor specific metrics, such as HTTP 5XX error rates, to identify issues.
By using Alarms, you can set up thresholds for the HTTP 5XX error rate and receive notifications when the threshold is breached. The notifications can be configured through OCI Notifications, which allows integration with email, PagerDuty, Slack, and other channels.