Docsity

Oracle Cloud Infrastructure 2025 Developer Professional Practice Exam, Study notes of Technology

Toggle sidebar
bg1
Oracle Cloud Infrastructure 2025 Developer
Professional Practice Exam
Q1
Which OCI authentication method allows a compute instance
to call OCI APIs without storing credentials?
A. API signing with config file
B. Instance Principal
C. Auth Token
D. OAuth 2.0
✅Answer: B
🧠Explanation:
Instance Principals use OCI IAM dynamic groups and
metadata service–issued certificates. No keys or config files
are stored on the instance, making this the most secure
approach for workloads running on OCI.
Q2
Which OCI SDK feature automatically handles request
signing?
A. OCI CLI wrapper
B. OCI SDK Signer
C. API Gateway
D. OCI Vault
✅Answer: B
🧠Explanation:
OCI SDKs include a Signer class that automatically signs
requests using the OCI API signing standard. Developers
never manually construct Authorization headers.
Q3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Oracle Cloud Infrastructure 2025 Developer Professional Practice Exam and more Study notes Technology in PDF only on Docsity!

Oracle Cloud Infrastructure 2025 Developer

Professional Practice Exam

Q

Which OCI authentication method allows a compute instance to call OCI APIs without storing credentials? A. API signing with config file B. Instance Principal C. Auth Token D. OAuth 2. ✅ Answer: B 🧠 Explanation: Instance Principals use OCI IAM dynamic groups and metadata service–issued certificates. No keys or config files are stored on the instance, making this the most secure approach for workloads running on OCI.

Q Which OCI SDK feature automatically handles request signing? A. OCI CLI wrapper B. OCI SDK Signer C. API Gateway D. OCI Vault ✅ Answer: B 🧠 Explanation:

OCI SDKs include a Signer class that automatically signs requests using the OCI API signing standard. Developers never manually construct Authorization headers.

Q

What happens if an OCI Function exceeds its configured memory limit? A. It is throttled B. It retries automatically C. It is terminated with an error D. Memory is auto-expanded ✅ Answer: C 🧠 Explanation:

OCI Functions are container-based. Exceeding memory causes immediate termination of the function invocation.

Q Which OCI service enables serverless REST API backends? A. Load Balancer B. API Gateway C. Service Gateway D. Network Firewall ✅ Answer: B 🧠 Explanation: API Gateway integrates directly with OCI Functions , HTTP backends, and OCI services to expose REST APIs.

Q Which OCI DevOps artifact type is required for OCI Functions deployment? A. Helm chart B. Docker image C. Function package (ZIP) D. JAR file ✅ Answer: B

A. Push-based consumption B. Ordered partitioned data C. Automatic retries D. Single consumer model ✅ Answer: B 🧠 Explanation:

OCI Streaming (Kafka-like) provides ordered, partitioned streams , ideal for real-time analytics.

Q Which OCI DevOps pipeline stage allows manual approval? A. Build stage B. Deploy stage C. Approval stage D. Artifact stage ✅ Answer: C 🧠 Explanation: Approval stages pause the pipeline until a human reviewer approves the deployment.

Q Which OCI SDK authentication method is recommended for OCI Functions? A. API Key file B. Auth Token C. Resource Principal D. User credentials ✅ Answer: C 🧠 Explanation:

Functions run as OCI-managed resources and use Resource Principals , not API keys.

Q

Which OCI service stores container images? A. Object Storage B. OCI Artifacts C. OCI Container Registry (OCIR) D. OCI DevOps ✅ Answer: C 🧠 Explanation:

OCIR is OCI’s Docker-compatible registry.

Q What is the maximum execution duration of an OCI Function (default limits)? A. 30 seconds B. 2 minutes C. 5 minutes D. 10 minutes ✅ Answer: C 🧠 Explanation: OCI Functions have a 5-minute max execution time per invocation.

Q Which OCI feature allows secure secret retrieval at runtime? A. OCI Vault B. Object Storage C. OCI Configurations D. OCI Events ✅ Answer: A

✅ Answer: B

🧠 Explanation: OCI DevOps includes managed Git repositories.

Q Which OCI service integrates natively with Kubernetes (OKE) for secret management? A. Object Storage B. OCI Vault C. OCI Streaming D. OCI DevOps ✅ Answer: B 🧠 Explanation: OCI Vault integrates with OKE via CSI and secret providers.

Q Which OCI OKE feature enables horizontal pod scaling? A. Node pools B. HPA (Horizontal Pod Autoscaler) C. Load Balancer D. VCN Flow Logs ✅ Answer: B

🧠 Explanation: HPA scales pods based on CPU/memory metrics.

Q Which OCI DevOps stage produces deployable artifacts? A. Build stage B. Approval stage C. Deploy stage D. Trigger stage ✅ Answer: A

🧠 Explanation:

Build stages compile code and create artifacts (Docker images, ZIPs).

Q Which OCI feature supports canary deployments? A. OCI Functions B. OCI DevOps Deploy stages C. Object Storage D. OCI Events ✅ Answer: B

🧠 Explanation: DevOps Deploy supports phased rollouts and traffic shifting.

Q Which OCI service enables fan-out messaging? A. Streaming B. Queue C. Notifications D. Events ✅ Answer: C 🧠 Explanation:

OCI Notifications publishes messages to multiple subscribers.

Q Which OCI authentication mechanism is least secure for production? A. Instance Principal B. Resource Principal C. Hardcoded API keys D. Dynamic Groups ✅ Answer: C

🧠 Explanation:

Deploy pipelines support rollback strategies.

Q Which OCI service is best for decoupling microservices asynchronously? A. Load Balancer B. Streaming C. Notifications D. Queue ✅ Answer: D

🧠 Explanation: OCI Queue is ideal for point-to-point async workloads.

Q Which OCI Function trigger is HTTP-based? A. OCI Events B. API Gateway C. Notifications D. Streaming ✅ Answer: B 🧠 Explanation:

API Gateway exposes Functions over HTTP/HTTPS.

Q Which OCI feature allows blue-green deployments? A. Functions B. OCI DevOps Deploy C. OCI Streaming D. OCI Vault ✅ Answer: B

🧠 Explanation:

Deploy pipelines support traffic switching strategies.

Q Which OCI IAM policy element defines what actions are allowed? A. Principal B. Resource C. Verb D. Compartment ✅ Answer: C

🧠 Explanation: Verbs like read, use, manage define permission levels.

Q Which OCI service supports automatic retry and backoff? A. Streaming consumers B. Functions C. Notifications D. Events Service ✅ Answer: D 🧠 Explanation:

Events Service retries delivery based on policy.

Q Which OCI Function feature improves cold start performance? A. Larger memory allocation B. Smaller container image C. More triggers D. Static IP ✅ Answer: B

✅ Answer: B

🧠 Explanation: Streaming guarantees ordering per partition.

Q Which OCI Function runtime is supported? A. Ruby B. PHP C. Java D. Perl ✅ Answer: C 🧠 Explanation: Java, Python, Node.js, and Go are supported runtimes.

Q Which OCI DevOps feature integrates security scanning? A. Deploy pipeline B. Build pipeline C. Code repository D. Vault ✅ Answer: B

🧠 Explanation: Build pipelines integrate vulnerability scanning.

Q Which OCI service supports JSON-based policy evaluation? A. IAM B. API Gateway C. Vault D. Streaming ✅ Answer: B

🧠 Explanation:

API Gateway policies are defined in JSON.

Q Which OCI feature supports function chaining? A. Events Service B. API Gateway C. OCI Queue D. All of the above ✅ Answer: D

🧠 Explanation: Multiple services can trigger downstream functions.

Q Which OCI DevOps trigger starts pipelines automatically? A. Manual approval B. Commit trigger C. Artifact trigger D. All of the above ✅ Answer: D 🧠 Explanation:

Pipelines can be triggered by commits, artifacts, or manually.

Q Which OCI service supports exactly-once processing? A. Notifications B. Streaming C. Queue D. Events ✅ Answer: C 🧠 Explanation: OCI Queue supports message acknowledgment semantics.

Which OCI DevOps feature supports environment promotion? A. Build pipeline B. Deploy pipeline C. Code repository D. Vault ✅ Answer: B 🧠 Explanation:

Deploy pipelines promote artifacts across environments.

Q Which OCI service supports schema enforcement for APIs? A. Load Balancer B. API Gateway C. Functions D. Streaming ✅ Answer: B 🧠 Explanation: API Gateway can validate request/response schemas.

Q Which OCI feature supports multi-language SDKs? A. IAM B. OCI SDKs C. DevOps D. Vault ✅ Answer: B 🧠 Explanation:

OCI provides SDKs in multiple languages.

Q Which OCI service supports fan-in messaging?

A. Notifications B. Streaming C. Queue D. Events ✅ Answer: C 🧠 Explanation:

Queues collect messages from multiple producers.

Q Which OCI feature enables policy-driven API throttling? A. Load Balancer B. API Gateway C. Vault D. Streaming ✅ Answer: B 🧠 Explanation: API Gateway supports rate limiting and quotas.

Q Which OCI DevOps feature supports immutable deployments? A. Build pipeline B. Artifact Registry C. Deploy pipeline D. Code repository ✅ Answer: C 🧠 Explanation:

Deploy pipelines promote immutable artifacts.

Q Which OCI Developer design principle improves resilience?

C. Service Connector Hub D. API Gateway ✅ Answer: B 🧠 Explanation:

OCI Events Service captures state changes in OCI resources and triggers Functions , Notifications, or Streaming endpoints automatically.

Q A developer needs exactly-once processing semantics for event data. Which OCI service combination best supports this? A. Streaming Service + Functions with offset management B. Notifications + Functions C. Object Storage + Events D. API Gateway + Load Balancer ✅ Answer: A 🧠 Explanation: OCI Streaming Service supports partition offsets. When Functions explicitly commit offsets after processing, exactly- once semantics can be achieved.

Q Which OCI SDK feature enables automatic request retries with exponential backoff? A. Custom retry logic B. OCI SDK default retry policy C. API Gateway throttling D. Service limits ✅ Answer: B

🧠 Explanation:

OCI SDKs include built-in retry policies that handle transient errors using exponential backoff, improving resilience without custom code.

Q A developer wants to secure secrets such as API keys for Functions. Where should they be stored? A. Environment variables in plain text B. Object Storage C. OCI Vault D. Source code repository ✅ Answer: C

🧠 Explanation: OCI Vault securely stores secrets and encryption keys. Functions can retrieve secrets dynamically using OCI SDKs or resource principals.

Q Which authentication method is RECOMMENDED for OCI Functions accessing OCI services? A. API signing with config files B. User credentials C. Resource Principals D. SSH key pairs ✅ Answer: C 🧠 Explanation: Resource Principals allow Functions to authenticate without embedding credentials, following least-privilege and cloud- native security principles.

Q