Docsity

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

Toggle sidebar
bg1
Oracle Cloud Infrastructure 2025 DevOps
Professional Practice Exam
Q1
Which OCI DevOps component is responsible for
orchestrating deployment strategies such as blue-green and
canary?
A. Build Pipeline
B. Code Repository
C. Deployment Pipeline
D. Artifact Repository
Correct Answer: C
Explanation:
Deployment Pipelines control how applications are released,
including rolling, blue-green, and canary strategies. Build
pipelines only compile and package artifacts, while
deployment pipelines manage runtime rollout behavior.
Q2
A DevOps team wants to prevent production deployments
unless all security scans pass. Which OCI DevOps feature
supports this?
A. Artifact promotion
B. Manual approval stage
C. Conditional stage execution
D. Code repository hooks
Correct Answer: C
Explanation:
Conditional stage execution allows gating deployments
based on build results, scan outputs, or custom conditions—
critical for enforcing security compliance.
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 DevOps Professional Practice Exam and more Study notes Technology in PDF only on Docsity!

Oracle Cloud Infrastructure 2025 DevOps

Professional Practice Exam

Q

Which OCI DevOps component is responsible for orchestrating deployment strategies such as blue-green and canary? A. Build Pipeline B. Code Repository C. Deployment Pipeline D. Artifact Repository Correct Answer: C Explanation: Deployment Pipelines control how applications are released , including rolling, blue-green, and canary strategies. Build pipelines only compile and package artifacts, while deployment pipelines manage runtime rollout behavior.

Q A DevOps team wants to prevent production deployments unless all security scans pass. Which OCI DevOps feature supports this? A. Artifact promotion B. Manual approval stage C. Conditional stage execution D. Code repository hooks Correct Answer: C Explanation: Conditional stage execution allows gating deployments based on build results , scan outputs, or custom conditions— critical for enforcing security compliance.

Q

Which OCI service integrates natively with OCI DevOps for storing container images? A. Object Storage B. OCI Vault C. OCI Container Registry (OCIR) D. OCI File Storage Correct Answer: C Explanation: OCIR is OCI’s Docker-compatible registry , tightly integrated with OCI DevOps pipelines for image storage and retrieval.

Q What is the PRIMARY benefit of using immutable artifacts in DevOps pipelines? A. Faster builds B. Reduced storage cost C. Guaranteed consistency across environments D. Easier debugging Correct Answer: C Explanation: Immutable artifacts ensure the same build is promoted across environments , eliminating “works in staging but not prod” issues.

Q Which authentication method is recommended for OCI DevOps pipelines accessing OCI services? A. User API keys B. Hardcoded credentials

Q

What happens if a deployment stage health check fails? A. Deployment continues B. Artifact is deleted C. Automatic rollback may occur D. Build pipeline restarts Correct Answer: C Explanation: OCI DevOps supports automatic rollback based on health checks, ensuring system stability.

Q Which OCI DevOps feature supports Infrastructure as Code (IaC)? A. Build pipelines only B. Deployment pipelines only C. Integration with Terraform D. OCI CLI integration only Correct Answer: C Explanation: OCI DevOps integrates with Terraform , enabling declarative infrastructure provisioning.

Q Which OCI service is MOST commonly used to store build logs? A. OCI Monitoring B. OCI Logging C. OCI Streaming D. OCI Events Correct Answer: B

Explanation: OCI Logging stores build and deployment logs , enabling troubleshooting and audits.

Q A team wants to automatically trigger builds on code commit. What enables this? A. Scheduled pipelines B. Webhooks C. Manual triggers D. Artifact polling Correct Answer: B Explanation: Webhooks trigger event-driven builds when code changes occur in repositories.

Q Which DevOps principle minimizes blast radius during failures? A. Monolithic deployments B. Blue-green deployments C. Vertical scaling D. Manual releases Correct Answer: B Explanation: Blue-green deployments allow instant rollback by switching traffic, minimizing impact.

Q Which OCI DevOps component stores versioned application packages?

Q

What is the recommended way to store secrets for pipelines? A. Environment variables in code B. Plain text files C. OCI Vault D. Code repository Correct Answer: C Explanation: OCI Vault provides secure storage, access control, and rotation for secrets.

Q Which OCI DevOps capability supports automated testing? A. Build stages B. Deployment stages C. Code repositories D. Artifact repositories Correct Answer: A Explanation: Build stages execute unit, integration, and security tests before artifact creation.

Q Which failure handling strategy is MOST resilient? A. Retry forever B. Immediate retry C. Circuit breaker with retries D. No retries Correct Answer: C

Explanation: Circuit breakers prevent cascading failures , while controlled retries improve resilience.

Q Which OCI service helps detect misconfigured pipelines? A. OCI Monitoring B. OCI Cloud Guard C. OCI Events D. OCI Streaming Correct Answer: B Explanation: Cloud Guard identifies security misconfigurations , including risky CI/CD setups.

Q Which pipeline design principle improves release confidence? A. Large batch releases B. Manual builds C. Small, frequent deployments D. Infrequent testing Correct Answer: C Explanation: Small, frequent deployments reduce risk, complexity, and rollback impact.

Q Which OCI DevOps feature supports parallel execution? A. Sequential stages only B. Parallel build stages C. Manual approvals D. Artifact repositories

A. Artifact deletion B. Traffic switching C. Rebuilding artifacts D. Manual approvals Correct Answer: B Explanation: Traffic switching allows instant rollback by redirecting users to the previous version.

Q Which OCI DevOps pipeline stage is MOST CPU-intensive? A. Manual approval B. Build stage C. Artifact storage D. Deployment stage Correct Answer: B Explanation: Build stages perform compilation, testing, scanning , requiring the most compute.

Q Which OCI DevOps feature supports auditability? A. Artifact promotion B. OCI Audit logs C. Build cache D. Parallel stages Correct Answer: B Explanation: Audit logs provide traceability and compliance evidence for DevOps activities.

Q

Which practice reduces mean time to recovery (MTTR)? A. Manual deployments B. Automated rollbacks C. Vertical scaling D. Infrequent releases Correct Answer: B Explanation: Automated rollbacks restore service quickly after failure.

Q Which OCI DevOps component integrates with Git? A. OCI Code Repository B. Artifact Repository C. OCI Streaming D. OCI Vault Correct Answer: A Explanation: OCI Code Repositories are Git-compatible and integrate directly with pipelines.

Q Which OCI feature enables environment-specific configuration without rebuilding artifacts? A. Hardcoded configs B. OCI Vault + variables C. Separate builds per env D. Code branching Correct Answer: B Explanation: Externalized configuration allows same artifact, different environment behavior.

Q

Which OCI service supports secret injection at runtime? A. OCI Vault B. OCI Monitoring C. OCI Events D. OCI Streaming Correct Answer: A Explanation: Vault injects secrets securely at runtime , not build time.

Q Which OCI DevOps feature supports policy-based access? A. IAM policies B. Code reviews C. Logging D. Tags only Correct Answer: A Explanation: IAM policies enforce who can build, deploy, and approve.

Q Which deployment strategy minimizes downtime? A. Recreate B. Rolling C. Blue-green D. Manual Correct Answer: C Explanation: Blue-green deployments enable near-zero downtime.

Q Which OCI feature supports cross-region disaster recovery?

A. OCI DevOps multi-region pipelines B. Local builds only C. Manual sync D. Artifact rebuilds Correct Answer: A Explanation: OCI DevOps supports multi-region deployment targets.

Q Which OCI DevOps practice improves traceability? A. Manual testing B. Artifact versioning C. Hardcoded configs D. Single environment Correct Answer: B Explanation: Versioned artifacts enable clear traceability across releases.

Q Which OCI DevOps feature reduces lead time? A. Manual approvals everywhere B. Parallel pipelines C. Long testing cycles D. Manual builds Correct Answer: B Explanation: Parallel execution accelerates delivery.

Q Which OCI service supports build isolation? A. OCI Compute B. OCI Build Runners

A. Documentation warning B. Security vulnerability C. Log verbosity issue D. Metric delay Correct Answer: B Explanation: Security vulnerabilities pose high risk and must block releases.

Q Which OCI DevOps feature improves reliability? A. Manual rollback B. Health checks C. Long pipelines D. Single region Correct Answer: B Explanation: Health checks detect unhealthy deployments early.

Q Which OCI service integrates with DevOps for alerts? A. OCI Notifications B. OCI Streaming C. OCI Vault D. OCI File Storage Correct Answer: A Explanation: Notifications deliver pipeline alerts and failure messages.

Q Which DevOps metric indicates deployment speed?

A. MTTR

B. Lead time C. Error rate D. Availability Correct Answer: B Explanation: Lead time measures speed from commit to production.

Q Which OCI DevOps feature supports rollback without code changes? A. Rebuild B. Traffic switching C. New commit D. Manual fix Correct Answer: B Explanation: Traffic switching enables instant rollback.

Q Which OCI service provides centralized metrics for pipelines? A. OCI Logging B. OCI Monitoring C. OCI Streaming D. OCI Events Correct Answer: B Explanation: Monitoring collects pipeline and deployment metrics.

Q Which OCI DevOps principle improves scalability?

A DevOps team wants to ensure that the same container image is used across all environments without rebuilding. Which approach is BEST? A. Rebuild the image in each environment B. Use image tags only C. Promote the same artifact across environments D. Use different Dockerfiles Correct Answer: C Explanation: Artifact promotion ensures immutability , meaning the exact same image is deployed across dev, test, and prod, eliminating environment drift.

Q Which OCI DevOps feature allows deployment execution to stop automatically if KPIs degrade? A. Manual approval stage B. Health check–based rollback C. Build failure detection D. Logging Analytics Correct Answer: B Explanation: Health checks integrated into deployment stages allow automatic rollback when KPIs or service health deteriorate.

Q Which OCI service is BEST for storing pipeline configuration securely? A. Code Repository B. Artifact Repository C. OCI Vault D. OCI Object Storage

Correct Answer: C Explanation: Sensitive configuration such as credentials or tokens should be stored in OCI Vault , not embedded in pipelines.

Q Which DevOps practice MOST reduces configuration drift? A. Manual server changes B. Infrastructure as Code (IaC) C. Vertical scaling D. Long-lived instances Correct Answer: B Explanation: IaC ensures infrastructure is versioned, repeatable, and consistent , reducing drift.

Q A build pipeline must run unit tests, security scans, and packaging simultaneously. What OCI DevOps feature supports this? A. Sequential stages B. Parallel build stages C. Manual approval D. Artifact promotion Correct Answer: B Explanation: Parallel build stages reduce pipeline duration while maintaining quality gates.

Q Which OCI DevOps capability enables progressive exposure of new features without redeployment?