OCI Developer Flashcards
(121 cards)
Which messaging model is supported by the OCI Streaming service for any use case in which data is produced and processed continually and sequentially?
Pub-sub
You are a Cloud Native developer managing multiple microservices deployed on two different Container Engine for Kubernetes (OKE) clusters within the same Virtual Cloud Network (VCN). Your security teams need to monitor and analyze the network traffic between these microservices to ensure compliance and detect anomalies.
What is the most effective way to achieve this?
Use the OCI Logging service and VCN flow logs.
Your organization has built a web-based application that has a private REST API endpoint. You have been asked to abstract and expose the endpoint using an appropriate service on Oracle Cloud Infrastructure (OCI).
What will you use to do this?
OCI API Gateway.
Assume that your function does NOT have the –provisioned-concurrency option enabled.
Which parameter would you use to configure the time period during which an idle function will remain in memory before Oracle Functions removes its container image from memory?
The time period is not configurable.
You are a Cloud Solutions Architect tasked with securing access to an API deployed on Oracle Cloud Infrastructure (OCI) API Gateway for your company’s internal services. Authentication is a critical aspect of this deployment to ensure that only authorized users and applications can access the API.
Which two are valid authentication methods for accessing an OCI API Gateway endpoint?
- JSON Web Token (JWT)
- Oauth
Which two statements are valid regarding the Oracle Cloud Infrastructure (OCI) Streaming service?
- OCI Streaming stores all data for 24 hours by default, but that can be extended up to 7 days.
- A stream can be configured with either a public or private endpoint with support for customer-managed encryption keys.
What is the purpose of message locking in OCI Queue service queues?
To prevent a message that was delivered to a consumer from being processed by any other consumer.
You’re utilizing Oracle Cloud Infrastructure (OCI) Resource Manager to manage the life cycle of your infrastructure. You desire to be notified via email every time a Terraform action is initiated.
How can you accomplish this using the OCI Events service without the need for coding?
Create an OCI Notification topic with an email subscription, providing the email address for notification. Subsequentially, configure an OCI Events rule matching the condition “Resource Manager Job - Create”, and opt for the notification topic for the corresponding action.
Which is necessary to access an Oracle Cloud Infrastructure (OCI) Container Engine for Kubernetes (OKE) cluster using the kubectl CLI?
A configured OCI API signing key pair.
What is the maximum memory threshold for a function deployed to an Oracle Functions application?
3072 MB
Which statement is VALID regarding modifying Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) cluster properties?
You can change the number of worker nodes in a node pool along with the availability domains and subnets in which to place them.
OCI Functions monitors all deployed functions and collects and reports various metrics.
Which is NOT available when viewing the Application metrics in the OCI Console?
- Amount of CPU used by a function.
- Amount of RAM used by a function.
Which OCI service does NOT have resources available as action target to receive an event from the Events service?
Queue
Which is required before you can push and pull Docker images to and from Oracle Cloud Infrastructure Registry using the Docker CLI?
Auth token
You have two microservices, A and B, deployed in production. Service A depends on APIs provided by service B. Now, you’re planning to introduce changes to service A but without the need to deploy all of its dependencies, which include service B.
What would be the recommended approach for testing service A under these circumstances?
Use API mocks for testing purposes.
You are configuring an Oracle Cloud Infrastructure (OCI) API Gateway to handle requests for your microservices architecture. You need to set up various backend integrations to route incoming requests to appropriate services.
Which two are valid backend type options that you can choose when configuring your API Gateway Deployment?
- ORACLE_FUNCTIONS_BACKEND
- HTTP_BACKEND
Which statement about deleting a Kubernetes cluster is FALSE?
Upon deleting a cluster, other resources created during the cluster creation process or associated with the cluster (such as VCNs, internet gateway, NAT gateways, route tables, security lists, load balancers and block volumes) are deleted automatically.
You are faced with a scenario where a DevOps team intends to utilize Oracle Cloud Infrastructure (OCI) Vault to store secrets. These secrets will then be injected into an app’s environment variables (for example, DB_PASSWD) during deployment.
Which statement about managing secrets in Oracle Cloud Infrastructure (OCI) Vault is FALSE?
Secret version numbers start at 1 and increment by 2.
You are tasked with managing deployments on an OCI Container Engine for Kubernetes (OKE) cluster.
Which task is NOT required for setting up cluster access using a local installation of kubectl?
Generate an Auth token from the OCI console.
Suppose you are leading the development of a collaborative document editing platform, where users can create, edit and share documents in real time. To ensure scalability and flexibility, you decide to architect the platform using microservices.
Which two advantages of microservices would be most beneficial?
- Ability to communicate over lightweight APIs.
- Can be independently deployed.
Your team is troubleshooting a Cloud Native application deployed on Oracle Cloud Infrastructure (OCI), utilizing services such as Object Storage, Events, Functions, API Gateway and Autonomous Database.
Which is NOT a valid method for addressing issues encountered in OCI?
Employ OCI Cloud Guard to identify and visualize debug logs generated by the application.
You are creating a custom Dockerfile to be used for an Oracle Functions container.
Which privilege elevation command is allowed?
No privilege elevations are allowed.
In Oracle Cloud Infrastructure (OCI) Monitoring, which two metrics are automatically collected and made available by the feature for functions deployed with Oracle Functions?
- Number of times a functions is invoked.
- Length of time a function runs.
When deploying a new version of a microservice for testing purposes, how can a developer ensure that 10% of the traffic flows toward it in an OCI Service Mesh environment?
Adjust traffic splitting between the old and new versions of the microservice by adding a new entry in the virtual service route table manifest’s routeRules field, setting the percentage to 10%.