Courseiva

CCNA Cloud Native Architecture Questions

51 questions · Cloud Native Architecture topic · All types, answers revealed

1
MCQhard

You are implementing distributed tracing across multiple microservices running on OKE. You need to capture trace data from incoming API Gateway requests, through service mesh sidecars, down to the application pods, and export it to an open-standards tracing backend. Which architectural components should you configure?

A.Kubernetes Liveness probes configured with HTTP GET request headers.
B.OCI Audit log queries combined with Object Storage bucket lifecycle rules.
C.OCI Notifications service broadcast topics configured with JSON log forwarding.
D.W3C Trace Context header propagation across API Gateway, OCI Service Mesh Envoy proxies, and OpenTelemetry SDKs in applications.
AnswerD

Correct. W3C Trace Context headers ensure trace continuity across API Gateway, Service Mesh, and application code.

Why this answer

OCI API Gateway, OCI Service Mesh (Envoy proxies), and application OpenTelemetry (OTel) SDKs can be configured to propagate W3C trace context headers and export traces to an OTel-compatible collector.

2
Multi-Selectmedium

When designing cloud-native architectures on OCI using OCI Events and OCI Notifications, which THREE delivery endpoints are natively supported by OCI Notifications for publishing alert or event messages?

Select 3 answers
A.OCI Queue / OCI Streaming (via service endpoints)
B.HTTPS Custom Webhooks
C.Direct SMS text messages to mobile phone numbers globally
D.Physical fax machine transmission over analog telephone lines
E.Email
AnswersA, B, E

Correct. Notifications can publish messages to streaming or queue endpoints.

Why this answer

OCI Notifications service supports endpoints such as Email, HTTPS/Custom Webhooks, and OCI Streaming or OCI Queue / PagerDuty / Slack integrations via HTTPS.

3
MCQhard

You are designing a high-throughput event-driven system on OCI where OCI Functions are invoked asynchronously via OCI Events. A specific function experiences intermittent database connection timeouts during traffic spikes, resulting in dropped events. How should you architect the invocation pipeline to ensure reliable, at-least-once delivery and smooth out spikes?

A.Configure OCI API Gateway with request throttling in front of the OCI Function.
B.Increase the maximum memory and execution timeout limits on the OCI Function configuration.
C.Insert an OCI Queue or OCI Streaming service between OCI Events and the OCI Function to buffer and batch payloads.
D.Deploy the OCI Function inside a public subnet with an internet gateway for faster database roundtrips.
AnswerC

Buffers like OCI Queue or OCI Streaming decouple event producers from consumers, holding messages securely until the function is ready to process them.

Why this answer

Placing an OCI Streaming or OCI Queue service between OCI Events and OCI Functions allows buffering of incoming events so that functions can pull messages at a controlled rate, guaranteeing at-least-once delivery.

4
Multi-Selecthard

When designing an API Gateway implementation on OCI to expose backend microservices running on OKE, which THREE features or capabilities can you configure directly within the API Gateway deployment? (Choose three.)

Select 3 answers
A.Request throttling and rate-limiting to protect backend microservices from traffic surges.
B.Automatic multi-region database failover orchestration for Oracle Autonomous Database.
C.Cross-Origin Resource Sharing (CORS) policies to control browser-based access from web frontend applications.
D.JSON Web Token (JWT) validation for validating bearer tokens from identity providers.
E.Automatic provisioning and scaling of Kubernetes worker node pools inside OKE.
AnswersA, C, D

API Gateway supports rate limiting and request throttling policies to manage client traffic loads.

Why this answer

OCI API Gateway supports CORS configuration, rate limiting / request throttling, and JWT authentication natively within its deployment specifications.

5
MCQmedium

Your OKE cluster uses Calico for Kubernetes network policy enforcement. You need to write a network policy that allows Pod A in namespace 'frontend' to communicate with Pod B in namespace 'backend', while blocking all other ingress traffic to Pod B. How should you implement this?

A.Apply an OCI Identity and Access Management (IAM) policy restricting pod access.
B.Configure an OCI Load Balancer listener rule for namespace ports.
C.Create a Kubernetes NetworkPolicy in the 'backend' namespace selecting Pod B and allowing ingress exclusively from namespace 'frontend'.
D.Modify the VCN Security List for the worker node subnet to filter traffic by pod name.
AnswerC

Correct. Kubernetes NetworkPolicy objects enable fine-grained namespace and pod-level isolation.

Why this answer

A Kubernetes NetworkPolicy in namespace 'backend' specifying podSelector for Pod B and ingress rules allowing from namespaceSelector with 'frontend' satisfies this requirement.

6
MCQeasy

Your OCI Function needs to write audit logs or custom debugging information that can be easily searched and analyzed alongside other cloud logs. Which OCI service should your function log to?

A.OCI Logging Service
B.OCI DNS Service
C.OCI Vault
D.OCI Email Delivery Service
AnswerA

Correct. OCI Functions automatically stream logs to the OCI Logging service.

Why this answer

OCI Functions natively integrate with OCI Logging service, allowing function stdout/stderr to be captured and queried easily.

7
MCQmedium

You are troubleshooting an OCI Functions application that fails to pull container images from a private Oracle Cloud Infrastructure Registry (OCIR) repository during deployment. The function application is configured correctly, but the build/invoke fails with authentication errors. What is the most likely missing configuration?

A.The OCI VCN Security List lacks an egress rule for port 22 to connect to GitHub.
B.Missing IAM policy granting the Functions service or dynamic group read access to the OCIR repository compartment.
C.The API Gateway deployment lacks a public IP address.
D.The OCI Vault master encryption key is disabled.
AnswerB

OCI Functions require explicit IAM permissions (such as allowing dynamic groups to read repositories) to pull container images from private OCIR registries.

Why this answer

OCI Functions require a properly configured Auth Token and IAM policy, or a resource principal / dynamic group permissions setup allowing the Fn CLI or OCI service to authenticate against OCIR.

8
MCQhard

Your microservices architecture on OKE uses mTLS (Mutual TLS) for secure pod-to-pod communication. You notice that certificate rotation is causing intermittent connection drops because pods are not reloading the new certificates without a restart. Which OCI Service Mesh feature automatically manages certificate issuance and rotation without requiring pod restarts?

A.OCI Certbot DaemonSet running on all worker nodes
B.OCI Vault automatic key version rotation
C.OCI Service Mesh automated certificate management with Envoy sidecar proxy hot-reload
D.Kubernetes CronJob executing kubectl rollout restart every night
AnswerC

Correct. OCI Service Mesh handles mTLS certificate lifecycle and Envoy proxies hot-reload certificates seamlessly.

Why this answer

OCI Service Mesh integrates with OCI Certificates service (or external CAs) to automatically issue, distribute, and rotate workload certificates using sidecar proxies (Envoy) which hot-reload certificates without pod restarts.

9
MCQmedium

You are managing an OKE cluster where developer teams frequently deploy new microservice versions. You need to implement a canary deployment strategy where 10% of production traffic is automatically routed to the new version while 90% goes to the stable version, without rewriting your application code. Which tool or pattern should you use?

A.OCI Notifications service broadcast rules
B.OCI Service Mesh traffic split rules
C.Kubernetes standard Service resource with multiple selectors pointing to the same pod
D.OCI Load Balancer listener port re-mapping
AnswerB

Correct. OCI Service Mesh allows declarative traffic splitting between different virtual service versions (e.g., 90/10 split).

Why this answer

Service mesh solutions like Istio or OCI-supported service mesh routing features allow fine-grained traffic splitting for canary deployments.

10
MCQhard

You are designing a disaster recovery strategy for a stateful microservices application running on OKE across two OCI regions. Persistent data is stored on OCI Block Volumes. What is the recommended approach to replicate persistent storage data across regions for stateful workloads?

A.Configure cross-region block volume asynchronous replication to the secondary region.
B.Rely on Kubernetes Persistent Volume snapshots stored locally on worker node local NVMe drives.
C.Attach the same Block Volume simultaneously to worker nodes in both regions across the VCN peering.
D.Use OCI Streaming to replicate raw block storage disk sectors.
AnswerA

Correct. Cross-region block volume replication replicates block volumes to another region for disaster recovery.

Why this answer

OCI Block Volume provides cross-region block volume replication, allowing you to copy block volumes asynchronously to a destination region for disaster recovery.

11
Multi-Selecteasy

Which TWO methods can developers use to interact with OCI Registry (OCIR) for pushing and pulling container images?

Select 2 answers
A.Docker CLI authenticated with an OCI Auth Token
B.Podman CLI authenticated with OCI credentials
C.Windows Remote Desktop (RDP) file transfer
D.Kubernetes kubelet raw disk mounting
E.Direct FTP client over port 21
AnswersA, B

Correct. Standard Docker commands work with OCIR using auth tokens.

Why this answer

Developers can interact with OCIR using standard Docker CLI (authenticated via auth tokens) or OCI CLI.

12
MCQhard

An OCI Function in your serverless architecture needs to process large files (up to 5GB) uploaded to an OCI Object Storage bucket. Due to ephemeral storage limits inside the function container (/tmp), the function crashes when attempting to download the entire file locally. How should you redesign this function processing flow?

A.Attach an OCI Block Volume directly to the OCI Function container instance.
B.Increase the OCI Function memory allocation to automatically provision a larger /tmp filesystem.
C.Stream the file contents in chunks using Object Storage API range requests and process data iteratively without full local storage.
D.Mount an OCI File Storage Service (FSS) target over the internet inside the function code.
AnswerC

Correct. Streaming data in chunks avoids exceeding the limited /tmp storage of OCI Functions.

Why this answer

Instead of downloading the entire file into local ephemeral storage, the function should process the file using Object Storage multi-part upload/download streaming or range requests to process the file in chunks.

13
Multi-Selectmedium

You are designing a serverless event-driven architecture on OCI using OCI Events, OCI Notifications, and OCI Functions. Which THREE actions are valid capabilities when integrating these services? (Choose three.)

Select 3 answers
A.OCI Notifications can publish messages to email, PagerDuty, or HTTPS endpoints triggered by service alarms or events.
B.OCI Functions can execute indefinitely without any timeout restrictions up to 24 hours.
C.OCI Events can capture custom application events emitted via the OCI SDK by publishing custom metrics/events.
D.An OCI Events rule can directly trigger an OCI Function as an action target.
E.An OCI Function can be configured to invoke an OCI Database directly over a public IP without any VCN security configurations.
AnswersA, C, D

OCI Notifications supports multiple subscription endpoints including email, SMS, OCI Functions, and HTTPS webhooks.

Why this answer

OCI Events can trigger OCI Functions directly, OCI Notifications can publish messages to email/HTTPS endpoints, and OCI Functions can be invoked synchronously or asynchronously via OCI Events.

14
MCQmedium

Your serverless OCI Function written in Python is failing to process payloads because it exceeds the default execution timeout limit when calling a third-party REST API. How should you resolve this issue while adhering to best practices?

A.Increase the memory allocation to automatically and proportionally increase the timeout limit.
B.Deploy the function behind an OCI Load Balancer to cache timeout requests.
C.Upgrade the underlying OCI Compute shape of the worker nodes in OKE.
D.Modify the function timeout configuration using the Fn Project CLI or OCI Console to a higher value up to the service limit.
AnswerD

Correct. OCI Functions allow configuration of execution timeouts to accommodate longer-running processing tasks.

Why this answer

OCI Functions have a configurable timeout limit. You can update the function's timeout configuration either via the Fn Project CLI or the OCI Console.

15
Multi-Selecthard

You are designing an OKE-based cloud-native microservices architecture and want to ensure high availability and robust security isolation. Which THREE architectural best practices should you implement?

Select 3 answers
A.Enable private Kubernetes API server endpoint access so the control plane is not exposed publicly.
B.Deploy worker nodes in private subnets with no direct public IP addresses.
C.Distribute OKE worker node pools across multiple Fault Domains or Availability Domains within the region.
D.Disable all Kubernetes RBAC authorization to allow unrestricted developer deployments.
E.Run all Kubernetes system pods and application workloads in the 'default' namespace as root user.
AnswersA, B, C

Correct. Private cluster endpoints secure access to the Kubernetes control plane.

Why this answer

Best practices for OKE include distributing worker nodes across multiple Availability Domains or Fault Domains, utilizing private subnets for nodes, and enabling control plane private endpoints.

16
Multi-Selectmedium

When configuring an OCI API Gateway deployment to protect and route traffic to backend services, which THREE authentication or authorization mechanisms are natively supported?

Select 3 answers
A.Custom authenticator functions written and deployed as OCI Functions
B.JSON Web Token (JWT) validation against an identity provider
C.HTTP Basic Authentication
D.SSH Public Key fingerprint authorization
E.Direct integration with Active Directory domain controller LDAP sockets over the public internet
AnswersA, B, C

Correct. API Gateway supports custom authentication using OCI Functions to validate credentials.

Why this answer

OCI API Gateway natively supports HTTP Basic authentication, custom authentication functions (Lambda-style auth via OCI Functions), and JWT validation.

17
MCQhard

You are designing a multi-tenant microservices platform on OKE. You need to ensure that tenant workloads are strictly isolated at the kernel level, preventing potential container breakout vulnerabilities from affecting other tenants. Which OCI Container Engine for Kubernetes node configuration should you choose?

A.Worker nodes utilizing Kata Containers runtime for hardware-level isolation
B.Standard OKE worker nodes with Kubernetes LimitRanges
C.Standard worker nodes with Network Security Groups (NSGs) applied per pod
D.Worker nodes running Docker Engine with privileged containers enabled
AnswerA

Correct. Kata Containers provide hardware-virtualized isolation for each pod, offering stronger isolation than standard runc containers.

Why this answer

To achieve strong kernel-level isolation for multi-tenant workloads in OKE, you should use worker nodes configured with Kata Containers (secure containers utilizing lightweight hardware virtualization).

18
MCQeasy

Your development team needs to build and push container images to a secure, private registry hosted on OCI before deploying them to OKE. Which OCI service should they use?

A.OCI Object Storage standard bucket
B.OCI Artifact Registry
C.OCI Registry (OCIR)
D.OCI DevOps Code Repository
AnswerC

Correct. OCIR is the native OCI service for storing and managing container images.

Why this answer

OCI Registry (OCIR) is Oracle's managed enterprise-grade container registry service for storing and managing Docker v2 container images.

19
MCQeasy

You need to store sensitive configuration data, such as database connection strings and API keys, for your OCI Functions application. Where should you securely store these values so they can be injected as environment variables or retrieved securely?

A.OCI Object Storage public bucket
B.OCI Audit log retention policy
C.OCI Resource Manager stack configuration output
D.OCI Vault (Secrets management)
AnswerD

Correct. OCI Vault provides secure secret management and integrates with OCI Functions.

Why this answer

OCI Vault allows you to store secrets securely, which can then be referenced by OCI Functions configuration or retrieved via SDK.

20
Multi-Selecteasy

Which TWO of the following are key architectural benefits of adopting serverless OCI Functions compared to managing traditional container clusters for event-driven tasks?

Select 2 answers
A.Built-in requirement to configure manual Kubernetes Horizontal Pod Autoscalers
B.Guaranteed permanent container warm-start memory caching with zero cold starts ever
C.Full administrative root access to the underlying hypervisor and host operating system kernel
D.Automatic scaling from zero to thousands of executions based on incoming events without managing servers
E.Pay-as-you-go pricing model where you only pay for the exact execution time consumed down to the millisecond
AnswersD, E

Correct. Serverless functions scale automatically and require no server management.

Why this answer

OCI Functions provide automatic scaling down to zero and relieve operators from managing underlying infrastructure/servers.

21
MCQeasy

You need to trigger an OCI Function asynchronously whenever an object is uploaded to an OCI Object Storage bucket. Which OCI service acts as the event router between Object Storage and the Function?

A.OCI DNS
B.OCI Events Service
C.OCI File Storage Service
D.OCI Data Transfer Service
AnswerB

Correct. OCI Events listens to resource state changes and triggers OCI Functions.

Why this answer

OCI Events service captures changes to OCI resources (like Object Storage uploads) and routes them to destinations such as OCI Functions.

22
MCQhard

You are designing a serverless data ingestion pipeline where OCI Functions are triggered by messages arriving in an OCI Stream. Under peak load, messages arrive faster than the functions can process them, causing invocation failures due to concurrency limits. How can you reliably buffer and throttle the event flow before invoking the functions?

A.Increase the OCI VCN bandwidth limit to maximum.
B.Enable public access on the OCI Functions application endpoint.
C.Configure OCI Object Storage lifecycle rules to delete excess messages.
D.Use OCI Queue between the stream and the functions, leveraging queue message visibility timeouts and batch polling.
AnswerD

Correct. OCI Queue buffers messages, provides visibility timeouts, and allows functions to poll batches at a controlled rate, avoiding concurrency limits.

Why this answer

Using OCI Queue or configuring OCI Streaming with a controlled polling mechanism/batching allows managing ingestion rates. Alternatively, OCI Queue natively supports batching and message locking, preventing concurrency overloads on OCI Functions.

23
Multi-Selecteasy

Which TWO of the following are valid methods to trigger an OCI Function execution?

Select 2 answers
A.OCI Identity and Access Management password rotation policy
B.OCI Events Service rule reacting to object storage or compute state changes
C.Direct physical USB drive insertion into OCI Exadata infrastructure
D.HTTP requests routed through OCI API Gateway
E.OCI Block Volume disk defragmentation schedule
AnswersB, D

Correct. OCI Events can trigger functions asynchronously.

Why this answer

OCI Functions can be invoked synchronously via HTTP requests (using API Gateway) or asynchronously via OCI Events service.

24
MCQmedium

Your OKE cluster is running microservices that require rapid horizontal scaling based on custom application metrics (such as active queue length) rather than standard CPU or memory utilization. Which Kubernetes component should you deploy to achieve this?

A.Kubernetes Vertical Pod Autoscaler (VPA) with static CPU limits
B.OCI Autoscaling for OKE worker nodes
C.Kubernetes Horizontal Pod Autoscaler (HPA) integrated with Prometheus and Prometheus Adapter
D.OCI Instance Pool autoscaling configuration
AnswerC

Correct. Prometheus Adapter exposes custom metrics to the Kubernetes API server, enabling HPA to scale based on application-specific metrics.

Why this answer

Prometheus Adapter combined with the Horizontal Pod Autoscaler (HPA) allows Kubernetes to scale pods based on custom metrics scraped from Prometheus.

25
MCQeasy

You need to secure your OCI API Gateway deployment by ensuring that only authenticated requests containing a valid JSON Web Token (JWT) issued by an identity provider can access your backend microservices. Which API Gateway feature should you implement?

A.OCI Identity and Access Management (IAM) dynamic groups
B.Network Security Group (NSG) ingress rules on the API Gateway subnet
C.Authentication policy using JWT validation
D.OCI Web Application Firewall (WAF) rate limiting rule
AnswerC

Correct. API Gateway supports JWT validation policies to verify incoming authorization tokens before passing requests to backends.

Why this answer

OCI API Gateway supports authentication and authorization policies, including JWT validation to verify tokens issued by third-party identity providers.

26
MCQmedium

Your OKE cluster has multiple worker node pools. You want to ensure that a specific set of resource-intensive machine learning microservices pods are scheduled *only* on dedicated GPU worker nodes, preventing them from running on standard CPU worker nodes. Which Kubernetes feature should you apply to your pods and node pools?

A.Kubernetes taints on GPU node pools and corresponding tolerations on the specific workload pods
B.OCI Load Balancer backend set weighting rules
C.Kubernetes Horizontal Pod Autoscaler resource targets
D.OCI Identity and Access Management dynamic group policies
AnswerA

Correct. Taints repel pods unless the pod explicitly has a matching toleration, ensuring workloads land on designated nodes.

Why this answer

Kubernetes node taints and tolerations, combined with node selectors or node affinity, ensure pods are only scheduled onto nodes with matching taints.

27
MCQmedium

Your containerized microservices running on OKE need to securely connect to an Oracle Autonomous Database without embedding plain-text database credentials inside Kubernetes Secrets. Which OCI feature integrates OKE service accounts with OCI IAM to provide secure, credential-less access?

A.Kubernetes Persistent Volume Claims with Block Storage
B.OCI Vault Master Encryption Key rotation
C.OCI IAM Workload Identity for OKE
D.OCI Bastion Service port forwarding
AnswerC

Correct. Workload Identity allows OKE pods to assume OCI IAM roles securely using Kubernetes service account tokens.

Why this answer

OCI IAM Workload Identity for OKE enables Kubernetes service accounts to be mapped to OCI IAM principals, allowing pods to authenticate to OCI services without storing long-lived credentials.

28
Multi-Selecthard

You are implementing zero-trust network security for an OKE microservices application using OCI Service Mesh. Which THREE capabilities does OCI Service Mesh provide to secure service-to-service communication?

Select 3 answers
A.Telemetry data collection including latency, error rates, and request volume metrics
B.Access control policies to restrict which services can communicate with each other
C.Automatic mutual TLS (mTLS) encryption for in-transit pod-to-pod communication
D.Direct hardware firewall ACL programming on physical Oracle Exadata rack switches
E.Automatic translation of Oracle Database PL/SQL stored procedures into REST APIs
AnswersA, B, C

Correct. Envoy proxies automatically collect and export rich telemetry metrics.

Why this answer

OCI Service Mesh provides mTLS encryption, traffic metrics/telemetry, and fine-grained traffic access control policies between services.

29
MCQeasy

You are deploying a microservices application on Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE). You need to expose multiple internal services externally using a single public IP address and enforce URL path-based routing. Which OCI networking and container component should you use?

A.OCI File Storage Service mounted on all worker nodes
B.Kubernetes NodePort service directly pointing to every individual pod
C.OCI API Gateway without any OKE Ingress
D.OCI Native Ingress Controller configured with an OCI Load Balancer
AnswerD

Correct. The native OCI Ingress Controller integrates with OKE and provisions an OCI Load Balancer to route traffic based on path and host rules.

Why this answer

OCI Native Ingress Controller for OKE allows you to configure routing rules based on paths and hosts, leveraging an OCI Load Balancer to handle traffic routing and external exposure efficiently.

30
MCQhard

You are architecting a multi-region cloud-native application where OCI API Gateway is deployed in Region A and Region B. You need to ensure that global users are automatically routed to the closest healthy API Gateway endpoint with automatic failover if an entire OCI region experiences an outage. Which OCI service should you use in front of the API Gateways?

A.OCI File Storage cross-region replication
B.OCI DNS Traffic Management Steering with Failover and Health Checks
C.OCI Bastion Service in the primary region
D.OCI Local VCN Peering across regions
AnswerB

Correct. DNS Traffic Management steering policies route global traffic to healthy regional endpoints based on health checks and geolocation/latency.

Why this answer

OCI Traffic Management (or OCI DNS Traffic Management / Global Load Balancing) routes users across multiple regions based on latency, geo-location, or failover policies.

31
MCQhard

You are managing an enterprise OKE cluster that runs multi-tenant workloads. Certain sensitive pods must run on dedicated worker nodes to comply with strict isolation mandates. Which combination of Kubernetes scheduling features should you configure on OCI to enforce this requirement reliably?

A.Kubernetes Taints, Tolerations, and Node Affinity
B.OCI Identity and Access Management (IAM) dynamic groups and compartment isolation
C.Kubernetes Horizontal Pod Autoscaler (HPA) and OCI Cluster Autoscaler
D.OCI Load Balancer flexible shapes and backend set weights
AnswerA

Taints prevent pods from landing on nodes unless they have matching tolerations, and node affinity ensures pods prefer or require specific labeled nodes.

Why this answer

To dedicate specific nodes to specific workloads in Kubernetes, you use Node Selectors or Taints and Tolerations combined with Node Affinity to ensure pods only land on labeled, dedicated worker nodes.

32
Multi-Selecteasy

Which TWO characteristics distinguish OCI Container Engine for Kubernetes (OKE) as a managed Kubernetes service?

Select 2 answers
A.Users have full administrative SSH access to the underlying Kubernetes master control plane nodes.
B.OKE automatically provisions Oracle Autonomous Databases for every deployed pod.
C.Users manage and control the worker node pools (compute shapes, scaling, OS patches).
D.Oracle manages and patches the Kubernetes control plane (master nodes) at no additional charge.
E.Kubernetes worker nodes are billed at a flat hourly rate regardless of compute shape.
AnswersC, D

Correct. Worker nodes run in the customer tenancy and are managed by the user.

Why this answer

Oracle manages the Kubernetes control plane (master nodes) free of charge, while users manage worker nodes.

33
Multi-Selectmedium

When configuring OCI API Gateway, which THREE types of backends are natively supported for routing incoming API requests?

Select 3 answers
A.OCI Functions backend
B.HTTP/HTTPS URL backend
C.Stock Response (Mock) backend
D.OCI Identity Domain SAML federation metadata XML file store
E.Direct raw magnetic tape drive backup backend
AnswersA, B, C

Correct. API Gateway integrates natively with OCI Functions.

Why this answer

OCI API Gateway supports HTTP/HTTPS backends (URL), OCI Functions backends, and Stock Response (Mock) backends.

34
MCQeasy

You have deployed an OCI Function and want to test its HTTP trigger endpoint without writing custom client code. Which OCI service or feature should you use to invoke the function directly via an HTTP URL?

A.OCI API Gateway route pointing to the OCI Function
B.OCI Object Storage pre-authenticated request (PAR)
C.OCI Cloud Guard trigger policy
D.OCI Streaming cursor initialization
AnswerA

Correct. API Gateway integrates natively with OCI Functions, allowing them to be invoked via HTTP requests.

Why this answer

OCI API Gateway can be configured with a route pointing directly to an OCI Function, exposing it as an HTTP endpoint.

35
MCQhard

You are building a high-throughput event-processing pipeline where multiple consumer instances need to read messages from an OCI Stream concurrently. Each consumer instance must maintain its own independent cursor position and process every message in the stream without interfering with other consumer instances. How should you configure your consumers?

A.Configure each consumer instance to belong to a separate, unique consumer group.
B.Use the OCI Streaming default single-consumer mode with multithreaded polling.
C.Assign all consumer instances to the exact same consumer group and increase the number of partitions.
D.Publish events via OCI Notifications instead, as Streaming does not support consumer groups.
AnswerA

Correct. Different consumer groups maintain independent offsets, enabling separate processing pipelines to consume the same stream.

Why this answer

In OCI Streaming, to have multiple independent applications process the exact same stream concurrently, each application must use a unique consumer group. Messages are distributed among instances within the same consumer group, but separate consumer groups each get their own copy of the message stream.

36
MCQmedium

You are deploying an application on OKE using Helm charts. You need to ensure that Helm release secrets and deployment state are stored securely and persistently within the cluster so that failed tiller/helm operations do not corrupt deployment tracking. Where does Helm v3 store its release state in OKE by default?

A.OCI Object Storage bucket managed by Helm
B.Kubernetes Secrets within the respective namespace
C.OCI Registry chart annotations
D.Local SQLite database on the master control plane node
AnswerB

Correct. Helm v3 stores release state as Kubernetes Secrets (or ConfigMaps) in the namespace where the release is deployed.

Why this answer

Helm v3 stores release state and history directly inside Kubernetes Secrets located within the respective namespace.

37
Multi-Selectmedium

When designing a container build and deployment pipeline using OCI DevOps and OCI Registry (OCIR), which THREE tasks can be automated within the CI/CD build pipeline stage?

Select 3 answers
A.Push newly built container images securely to OCI Registry (OCIR)
B.Run automated unit tests and code linting scans as part of the build step
C.Automatically provision a brand new OCI Tenancy root compartment
D.Build container images using a build specification file (build_spec.yaml) and Dockerfile
E.Directly modify physical OCI data center HVAC cooling temperatures
AnswersA, B, D

Correct. Build pipelines can push images directly to OCIR.

Why this answer

OCI DevOps build pipelines can execute shell commands, build container images from Dockerfiles, and push images to OCIR.

38
MCQhard

You are troubleshooting a microservice on OKE that is experiencing intermittent 502 Bad Gateway errors when communicating with another internal service. The application uses Kubernetes ClusterIP services for discovery. You suspect DNS resolution failure within the cluster. Which diagnostic tool and approach should you use inside the OKE cluster?

A.Check the OCI VCN internet gateway route table.
B.Deploy a temporary diagnostic container pod (such as netshoot) and test DNS resolution using nslookup against CoreDNS.
C.Review OCI Cloud Guard threat detection policies.
D.Restart the OCI API Gateway service.
AnswerB

Correct. Using a diagnostic pod with networking tools allows direct testing of internal Kubernetes DNS and service endpoints.

Why this answer

Deploying a temporary diagnostic pod (e.g., netshoot or busybox) and running DNS queries via CoreDNS/kube-dns helps diagnose in-cluster DNS and service connectivity issues.

39
MCQmedium

You are configuring an OCI API Gateway deployment to route requests to backend microservices running on OKE. You need to ensure that if a backend microservice takes longer than 3 seconds to respond, the API Gateway cancels the request and returns a 504 Gateway Timeout error to the client. Where should you configure this timeout?

A.In the OCI WAF protection ruleset configuration.
B.In the OCI Load Balancer idle timeout setting associated with the subnet.
C.In the OKE Kubernetes Ingress resource annotations.
D.In the API Gateway deployment specification under the route backend configuration timeout parameter.
AnswerD

Correct. API Gateway supports backend timeout configurations in the deployment JSON/YAML spec.

Why this answer

OCI API Gateway route definitions allow configuring backend timeouts (maximum time to wait for a response from the backend) per route.

40
MCQmedium

An enterprise application deployed on Oracle Container Engine for Kubernetes (OKE) requires low-latency, secure, private connectivity between microservices residing in different Virtual Cloud Network (VCN) subnets without exposing traffic to the public internet. Which OKE add-on or feature should a Solutions Architect implement?

A.OCI Service Mesh
B.OCI Streaming Service
C.Oracle Cloud Guard
D.OCI API Gateway
AnswerA

OCI Service Mesh provides secure service-to-service communication, traffic management, and observability for microservices on OKE.

Why this answer

OCI Service Mesh provides a dedicated infrastructure layer to easily manage service-to-service communication across microservices within OKE, offering secure mutual TLS (mTLS) and traffic management without modifying application code.

41
MCQeasy

You are using Fn Project CLI to deploy an OCI Function. Which command is used to build, push, and deploy the function to your application in OCI in a single streamlined step?

A.oci functions function create
B.kubectl apply -f function.yaml
C.docker build and docker push only
D.fn deploy --app <app-name>
AnswerD

Correct. 'fn deploy' automates building, pushing, and deploying functions.

Why this answer

The 'fn deploy --app <app-name>' command builds the image, pushes it to OCIR, and deploys the function configuration to the specified OCI application.

42
MCQmedium

You are configuring an OCI API Gateway deployment to secure a backend microservice running on OKE. You need to implement token-based authentication where the API Gateway validates a JSON Web Token (JWT) issued by an external identity provider before routing the request. Where should you configure this validation?

A.Inside an OCI Events rule matching the incoming HTTP request payload.
B.Within an OCI Functions-based custom authorizer or native JWT validation block in the API Gateway deployment specification.
C.By attaching an OCI IAM policy to the target VCN subnet route table.
D.Inside the Ingress Controller configuration manifest deployed on the OKE cluster.
AnswerB

OCI API Gateway supports native JWT validation policies that check issuer, audience, and signature, as well as custom authorizer functions.

Why this answer

OCI API Gateway supports custom authenticators and native JWT validation policies directly on the deployment routes to validate authorization headers before forwarding requests to backends.

43
MCQeasy

You need to automate the build, test, and deployment phases of your microservices application whenever developers push code changes to a Git repository on OCI. Which OCI service provides native CI/CD pipelines?

A.OCI Events Service
B.OCI GoldenGate
C.OCI DevOps Service
D.OCI Resource Manager
AnswerC

Correct. OCI DevOps provides native CI/CD service pipelines.

Why this answer

OCI DevOps service provides fully managed CI/CD developer pipelines for building, testing, and deploying software applications.

44
MCQmedium

Your OKE cluster has autoscaling enabled using the Kubernetes Cluster Autoscaler. However, during peak hours, new pods remain in 'Pending' state for 15 minutes before the cluster autoscaler provisions new worker nodes. How can you reduce this provisioning delay?

A.Deploy Kubernetes over-provisioning pods (pause pods) with lower priority to keep spare node capacity ready instantly.
B.Convert all worker nodes from virtual machines to bare metal shapes.
C.Increase the OCI Load Balancer bandwidth shape to maximum.
D.Disable OCI IAM token caching on worker nodes.
AnswerA

Correct. Over-provisioning uses low-priority pods that get evicted when real workloads arrive, instantly triggering node scale-up before actual workloads are pending.

Why this answer

Optimizing node pool initialization settings, using pre-warmed node pools, or adjusting cluster autoscaler polling interval / over-provisioning (pause pods) can speed up scaling.

45
Multi-Selecthard

Which TWO architectural best practices should you follow when designing cloud-native microservices on Oracle Container Engine for Kubernetes (OKE) to ensure high availability and resilience? (Choose two.)

Select 2 answers
A.Deploy all microservices into a single flat Kubernetes namespace to maximize intra-cluster communication speed.
B.Store all application state and user sessions locally on the ephemeral container root filesystem.
C.Distribute OKE worker node pools across multiple Fault Domains or Availability Domains.
D.Use NodePorts for all external microservice access directly bypassing the OCI Load Balancer.
E.Configure Kubernetes Pod Disruption Budgets (PDBs) to control minimum available pods during maintenance or scaling events.
AnswersC, E

Spreading worker nodes across Fault Domains or Availability Domains ensures that hardware failures do not take down all replicas of a microservice.

Why this answer

High availability on OKE requires spreading worker nodes across multiple Availability Domains (ADs) or Fault Domains (FDs), and implementing Kubernetes Pod Disruption Budgets (PDBs) to prevent downtime during cluster upgrades.

46
Multi-Selecthard

You are migrating a monolithic application to microservices on OKE and implementing resilient design patterns. Which THREE resiliency patterns should you implement to handle transient failures gracefully?

Select 3 answers
A.Circuit Breaker pattern to prevent cascading failures when downstream services are struggling
B.Bulkhead pattern to isolate resource pools (e.g., thread pools) so one failing service doesn't starve others
C.Single large monolithic database instance shared by all microservices without connection pooling
D.Retries with Exponential Backoff and Jitter for transient network or service errors
E.Disabling all health checks and liveness probes to prevent container restarts
AnswersA, B, D

Correct. Circuit breakers stop calling failing services to allow them time to recover.

Why this answer

Standard resilience patterns in microservices architectures include Circuit Breakers, Retries with Exponential Backoff, and Bulkheading.

47
MCQeasy

Your organization wants to deploy an ephemeral, event-driven data processing task that runs for less than 3 minutes whenever a new object is uploaded to an OCI Object Storage bucket. Which serverless combination is the most cost-effective and operationally efficient solution?

A.Use an OCI Database with PL/SQL triggers to download files from Object Storage.
B.Configure an OCI Events rule to trigger an OCI Function upon object creation in Object Storage.
C.Deploy a Kubernetes deployment with 10 replicas on an OKE cluster to monitor bucket logs.
D.Provision an Always Free Compute VM running a cron job that polls Object Storage every minute.
AnswerB

This native serverless pattern requires zero server management and incurs costs only when the function executes.

Why this answer

OCI Events service can listen to Object Storage bucket creation events and directly trigger an OCI Function without requiring dedicated virtual machines to run continuously.

48
MCQmedium

Your OKE cluster is deployed in a private subnet with no direct outbound internet access. However, your pods need to pull container images from OCI Registry (OCIR). How should you enable this secure image pull without exposing worker nodes to the public internet?

A.Install an external Squid proxy on an on-premises server connected via IPsec VPN.
B.Set up a NAT Gateway and forward all traffic to the internet.
C.Attach a Public IP address to every worker node in the OKE cluster.
D.Configure an OCI Service Gateway in your VCN and add a route rule for OCI Services to the private subnet's route table.
AnswerD

Correct. Service Gateways allow private access to regional OCI services (like OCIR and Object Storage) without traversing the public internet.

Why this answer

To enable private subnets to access OCI services like OCIR without public internet access, you must configure Service Gateways along with route table rules pointing to the OCI Services network.

49
MCQhard

You are designing an event-driven architecture on OCI where events from Object Storage bucket creations need to trigger an OCI Function. However, you require guaranteed at-least-once delivery, event filtering based on object name prefixes, and a dead-letter queue mechanism for failed function invocations. Which OCI service combination meets these requirements?

A.OCI API Gateway configured with a mock backend routing to OCI Functions.
B.OCI Notifications Service publishing directly to an OCI Object Storage bucket.
C.OCI Events Service rule triggering OCI Functions directly without any intermediate queue.
D.OCI Events Service rule routing to an OCI Stream, which then invokes OCI Functions with a custom consumer group and a configured DLQ.
AnswerD

Correct. OCI Streaming provides offset management, at-least-once delivery, and custom consumer logic allowing implementation of dead-letter handling.

Why this answer

OCI Events Service allows filtering and routing of events, but to guarantee handling with a dead-letter queue and retry capabilities, routing events through OCI Streaming or OCI Queue with OCI Notifications/Events integration is required. Specifically, OCI Events can publish to OCI Streaming, or OCI Queue can be integrated with Functions and a DLQ.

50
Multi-Selecthard

You are troubleshooting performance bottlenecks in an event-driven architecture using OCI Streaming. Which THREE metrics or indicators should you monitor to detect consumer lag and partitioning issues?

Select 3 answers
A.OCI VCN Internet Gateway packet drop count due to BGP routing failures
B.Consumer Lag (difference between latest message offset and consumer committed offset)
C.Partition-level throughput (bytes/messages per second against stream limits)
D.GetMessages Latency
E.OCI Object Storage bucket public download bandwidth
AnswersB, C, D

Correct. Consumer lag indicates how far behind consumers are processing messages.

Why this answer

Key metrics for OCI Streaming include GetMessages latency, Consumer Lag (offset lag), and partition throughput/utilization.

51
MCQeasy

You have deployed an API on OCI API Gateway and want to protect it from common web attacks such as SQL injection, cross-site scripting (XSS), and bad bots. Which OCI service should you integrate with API Gateway?

A.OCI Vulnerability Scanning Service
B.OCI Web Application Firewall (WAF)
C.OCI Bastion Service
D.OCI Cloud Guard
AnswerB

Correct. WAF provides protection against common web exploits and integrates natively with API Gateway.

Why this answer

OCI Web Application Firewall (WAF) integrates with OCI API Gateway to protect web applications and APIs from malicious attacks and unwanted traffic.

Ready to test yourself?

Try a timed practice session using only Cloud Native Architecture questions.