Courseiva

CCNA Observability And Management Questions

49 questions · Observability And Management · All types, answers revealed

1
MCQmedium

What is the purpose of the 'Tags' feature in OCI resource management?

A.To apply cost tracking and logical grouping
B.To define IAM policies
C.To manage network traffic
D.To automate patch management
AnswerA

Tags are essential for cost analysis and resource organization.

Why this answer

Tags allow you to organize and filter resources across compartments.

2
MCQeasy

Which feature in the Monitoring service allows you to aggregate metrics from different compartments into a single dashboard?

A.Compartment Explorer
B.Metric Query Language (MQL)
C.Dynamic Groups
D.Logging Analytics
AnswerB

MQL supports cross-compartment queries using the compartment ID.

Why this answer

Cross-compartment queries are supported by the Monitoring service to view resources globally or across specific compartments.

3
MCQhard

Which Terraform file extension does Resource Manager support?

A..yaml
B..json
C..conf
D..tf
AnswerD

Standard Terraform files use the .tf extension.

Why this answer

Resource Manager supports standard .tf files for configuration.

4
Multi-Selecteasy

Which TWO services provide visibility into your infrastructure usage and health?

Select 2 answers
A.Monitoring
B.Logging
C.Block Volume
D.Object Storage
E.Vault
AnswersA, B

Provides metric and health data.

Why this answer

Monitoring and Logging are the primary tools for observability.

5
Multi-Selectmedium

Which TWO actions can you perform in the Logging service?

Select 2 answers
A.Change the OS kernel version
B.Recompile source code
C.Search and view logs
D.Create alarms based on log queries
E.Directly SSH into a log file
AnswersC, D

Logs are indexed for fast searching.

Why this answer

Logging allows you to search logs and create alarms on logs.

6
MCQmedium

You need to ensure that your Resource Manager stack uses a specific version of Terraform. Where is this configured?

A.Cloud Shell environment
B.Job execution parameters
C.Stack settings
D.Terraform provider block
AnswerC

The Terraform version is selected at the stack level.

Why this answer

You define the Terraform version during the creation of the stack settings.

7
Multi-Selecthard

Which THREE things must be configured to use Logging Analytics?

Select 3 answers
A.Load Balancer
B.Database instance
C.Log Source
D.Log Group
E.Entity
AnswersC, D, E

This defines the format and parsing.

Why this answer

Logging Analytics requires a log group, a log source, and an entity.

8
MCQmedium

You want to notify an external HTTP endpoint whenever an alarm fires. What should you do?

A.Create a custom script in Cloud Shell
B.Create an HTTPS subscription for the Topic
C.Use a Service Connector to push data
D.Configure an Event rule
AnswerB

The Notifications service natively supports HTTP/HTTPS endpoints.

Why this answer

Create a subscription for your notification topic using the HTTPS protocol.

9
MCQeasy

Which service is best used to monitor a public-facing website endpoint for availability?

A.Events service
B.Notifications service
C.Monitoring service
D.Health Checks
AnswerD

Health Checks are designed for external endpoint verification.

Why this answer

Health Checks monitor endpoints from various global locations.

10
MCQmedium

You need to ensure that a resource's cost can be tracked. What must you do after defining a tag?

A.Enable it as a cost-tracking tag
B.Attach it to a budget
C.Apply it to the compartment
D.Add it to the tenancy policy
AnswerA

This action makes the tag available for billing reports.

Why this answer

You must navigate to the Cost Analysis page and enable the tag as a cost-tracking tag.

11
Multi-Selecthard

Which THREE aspects of a Terraform stack can you modify in a Resource Manager job?

Select 3 answers
A.Logging level
B.Identity Domain
C.Resource compartment
D.Terraform Version
E.Variables
AnswersA, D, E

You can set the verbosity of the job output.

Why this answer

You can change variables, the terraform version, and the logging level in a job.

12
MCQmedium

Your development team wants to automatically trigger a serverless function whenever a new object is uploaded to an OCI Object Storage bucket. Which OCI service acts as the foundational router to capture this object upload event and invoke the function?

A.OCI Monitoring Service
B.OCI Logging Service
C.OCI Events Service
D.OCI Resource Manager
AnswerC

Correct. Events service detects changes to OCI resources and routes them to targets like OCI Functions.

Why this answer

The OCI Events service enables you to create automation based on the lifecycle changes of resources in OCI, such as Object Storage creations.

13
MCQeasy

An OCI administrator needs to be notified via email whenever CPU utilization on a critical production compute instance exceeds 90% for a sustained period of 5 minutes. Which combination of services should the administrator configure to achieve this?

A.OCI Logging Analytics and OCI Notifications service.
B.OCI Resource Manager and OCI Monitoring service.
C.OCI Monitoring service (to create an alarm on the CpuUtilization metric) and OCI Notifications service (to send the email).
D.OCI Events service (to listen for CPU threshold events) and OCI Email Delivery service (to dispatch the email).
AnswerC

Correct. An alarm is configured in Monitoring for CpuUtilization, and it publishes messages to a topic in Notifications.

Why this answer

OCI Monitoring service is used to collect metrics, create alarms based on thresholds, and integrate with the OCI Notifications service to dispatch emails.

14
MCQhard

How can you prevent users from deleting a tag namespace?

A.Remove 'delete' permissions in an IAM policy
B.Enable soft delete
C.Set the namespace to read-only
D.Apply a lifecycle policy
AnswerA

Controlling access to the Tagging API via IAM prevents accidental deletion.

Why this answer

IAM policies are required to restrict deletion permissions on tag namespaces.

15
MCQeasy

Which OCI service acts as a centralized dashboard to view health status of all OCI services in your region?

A.Audit service
B.Monitoring service
C.Service Health Dashboard
D.OCI Health Check
AnswerC

The dashboard provides the current status of OCI services.

Why this answer

The OCI Status page or Health dashboard provides a global view of service status.

16
Multi-Selectmedium

Which THREE actions are required to successfully set up an Alarm?

Select 3 answers
A.Define a Metric query
B.Create a Notification Topic
C.Create an IAM user for the metric
D.Subscribe to the Notification Topic
E.Configure a Service Gateway
AnswersA, B, D

The alarm needs to know what to track.

Why this answer

To set up an alarm, you must have a metric, a notification topic, and a subscription to that topic.

17
Multi-Selectmedium

Which THREE features are core capabilities of the OCI Audit service? (Choose three.)

Select 3 answers
A.Automatically recording API calls for all OCI services within a tenancy.
B.Enabling retention configuration of audit log data to meet compliance requirements.
C.Triggering auto-scaling groups based on real-time memory usage metrics.
D.Real-time execution of Terraform infrastructure code modifications.
E.Providing a searchable history of who made API calls, from which IP, and when.
AnswersA, B, E

Correct. Audit automatically captures API activity across the tenancy.

Why this answer

OCI Audit automatically records calls to all supported OCI public API endpoints, supports querying via Log Explorer, and retains logs for a specified period.

18
MCQeasy

Which OCI service is best suited for real-time monitoring of CPU and Memory utilization on a Compute instance?

A.Resource Manager
B.Logging service
C.Events service
D.Monitoring service
AnswerD

Monitoring provides real-time metrics for OCI resources.

Why this answer

The Monitoring service automatically collects standard metrics for Compute instances.

19
MCQmedium

You are using the Events service to trigger a Function. What is a required step before this can work?

A.Attach a load balancer
B.Enable HTTP access on the function
C.Grant 'use' permissions on the function to the Events service
D.Create a Service Connector
AnswerC

The events service needs IAM permissions to execute the target function.

Why this answer

You must have a policy that allows the Events service to invoke the function.

20
MCQmedium

You are troubleshooting a deployment failure in Resource Manager. Where can you see the detailed Terraform output logs?

A.Events logs
B.Job logs
C.Audit logs
D.Cloud Shell logs
AnswerB

The Job execution logs contain the complete Terraform output.

Why this answer

The Job details page in Resource Manager shows the full output of the terraform apply/plan operations.

21
MCQeasy

Which component of the Notifications service is used to define the destination for alerts?

A.Topic
B.Subscription
C.Policy
D.Alarm
AnswerB

The subscription maps the topic to a specific endpoint.

Why this answer

A Subscription defines the delivery protocol (e.g., Email, PagerDuty, Slack) for a Topic.

22
Multi-Selecthard

When designing a comprehensive tagging strategy in OCI, which THREE practices or features should you implement for effective governance and cost management? (Choose three.)

Select 3 answers
A.Use IAM policies to control which user groups are permitted to update specific defined tag values.
B.Rely exclusively on Freeform Tags to eliminate administrative overhead for tag namespaces.
C.Use Defined Tags to organize and enforce a controlled namespace and key-value structure.
D.Configure OCI Notifications to convert tag keys into email subscriptions automatically.
E.Implement Tag Defaults to automatically apply specific tags to all resources created in a compartment.
AnswersA, C, E

Correct. IAM policies can govern who can apply or modify defined tags.

Why this answer

Effective OCI tagging relies on defined tags, tag defaults, and IAM policies to restrict tag value modifications.

23
Multi-Selecthard

Which THREE things can you do with Resource Manager?

Select 3 answers
A.Provision infrastructure using Terraform
B.Scan for malware on compute instances
C.Directly patch OS images
D.Import existing Terraform configurations
E.Maintain Terraform state files
AnswersA, D, E

This is the primary function of the service.

Why this answer

Resource Manager supports provisioning resources, managing state, and importing existing configurations.

24
Multi-Selectmedium

Which TWO types of tags are available in OCI?

Select 2 answers
A.Defined tags
B.Free-form tags
C.Compartment tags
D.System-defined tags
E.Global tags
AnswersA, B

These are schema-based tags.

Why this answer

OCI supports Free-form and Defined tags.

25
Multi-Selecthard

Which THREE options are available for creating a Resource Manager stack?

Select 3 answers
A.Copy from another compartment
B.Upload a .zip file
C.Use an OCI template
D.Connect to a Git repository
E.Import from a local database
AnswersB, C, D

You can upload your Terraform files directly.

Why this answer

You can create a stack from a ZIP file, a Git repository, or by using a template.

26
MCQmedium

You need to be alerted only when the average CPU utilization of a cluster of instances exceeds 80% for 5 consecutive minutes. Which alarm feature achieves this?

A.Alarm duration and aggregation window
B.Event rule
C.Notification frequency
D.Threshold delay
AnswerA

These settings control the sensitivity and evaluation of the threshold.

Why this answer

An alarm with a 'statistical' function (average) and a 'duration' setting of 5 minutes satisfies this requirement.

27
MCQmedium

You are using Resource Manager and need to import existing infrastructure into a new stack. What is the correct approach?

A.Recreate all resources via Terraform scripts
B.Move resources via the Console
C.Attach existing compartments to the Stack
D.Run 'terraform import' in OCI Cloud Shell
AnswerD

Cloud Shell or the Resource Manager Import wizard allows state integration.

Why this answer

You must create a stack and use the 'Import Terraform configuration' option to bring in existing resources.

28
Multi-Selecteasy

Which TWO OCI resources are automatically tracked by the Audit service?

Select 2 answers
A.Browser cache
B.VCNs
C.Compute instances
D.User password history
E.Local OS files
AnswersB, C

Network changes are logged.

Why this answer

Audit logs all API actions, regardless of the resource type.

29
MCQeasy

Which service allows you to view the audit logs of all API calls made in your tenancy?

A.Notifications service
B.Audit service
C.Monitoring service
D.Events service
AnswerB

Audit logs track all API activity.

Why this answer

The Audit service (part of the Logging family) captures every API call made in the tenancy.

30
MCQhard

When writing an LQL query, which keyword is used to filter log records based on a specific field value?

A.limit
B.filter
C.find
D.select
AnswerB

The 'filter' command in LQL narrows down the log results.

Why this answer

The 'search' or 'where' clause in LQL is used to filter records.

31
MCQhard

You are setting up an OCI Logging configuration for a custom application. Where are the log entries sent by default if no log group is specified?

A.Root compartment
B.Default log group
C.Log group is mandatory
D.Object Storage bucket
AnswerC

You must select or create a log group for every log configuration.

Why this answer

All logs must belong to a log group in OCI Logging.

32
MCQhard

You are using Service Connector Hub to move data from Logging to Object Storage. What is the primary benefit of this approach?

A.It automatically indexes logs for searching
B.It replaces the need for a Log Group
C.It allows real-time execution of code on logs
D.It provides a managed, serverless pipeline for log archiving
AnswerD

Service Connector Hub manages the transfer without needing custom code.

Why this answer

Service Connector Hub provides a managed way to move log data to durable storage for archiving.

33
Multi-Selecteasy

Which TWO items are components of an OCI Alarm?

Select 2 answers
A.Load Balancer
B.Compartment ID
C.Policy
D.Metric
E.Notification
AnswersD, E

The alarm is based on a specific metric.

Why this answer

Alarms consist of a metric and a notification trigger.

34
MCQmedium

Your application logs contain sensitive PII. You need to ensure logs are encrypted at rest using a customer-managed key. What should you configure?

A.Dynamic Routing Gateway
B.Service Gateway
C.Identity and Access Management (IAM) policies
D.Vault Master Encryption Key
AnswerD

You associate a Vault Key with the log group to encrypt logs.

Why this answer

Logging service allows you to specify a Vault Master Encryption Key for log buckets.

35
MCQeasy

Which type of tag is used to track costs across different departments?

A.Compartment tags
B.System tags
C.Defined tags
D.Free-form tags
AnswerC

Cost-tracking tags are a specific type of defined tag.

Why this answer

Cost-tracking tags are explicitly enabled to allow cost analysis in the billing dashboard.

36
MCQhard

A company uses OCI Resource Manager to manage its cloud infrastructure using Terraform. A developer has modified a Terraform configuration file locally and needs to preview the changes that Resource Manager will make to the cloud environment before actually applying them. Which Resource Manager job type should be executed?

A.Plan Job
B.Apply Job
C.Import Job
D.Destroy Job
AnswerA

Correct. A Plan job creates a preview of the infrastructure changes without modifying actual resources.

Why this answer

A 'Plan' job in OCI Resource Manager generates an execution plan, showing what actions Terraform will take when applied against the current state.

37
MCQhard

You are using Resource Manager to deploy infrastructure. You need to ensure that the terraform state file is automatically locked to prevent concurrent modifications. How should you handle this?

A.Use Resource Manager's native managed state backend
B.Enable the 'StateLock' tag on the stack resources
C.Configure a manual state lock in the Terraform provider block
D.Create a dedicated OCI Object Storage bucket for state locking
AnswerA

Resource Manager manages state and locking automatically.

Why this answer

Resource Manager handles state locking automatically when you run jobs, ensuring consistency without manual intervention.

38
MCQhard

You need to ingest custom application logs from multiple compute instances into OCI Logging. What is the correct sequence of components you must configure within OCI?

A.Create a Notification Topic, add HTTP endpoints, and enable Audit logs.
B.Create a Log Group, install and configure the OCI Logging Unified Agent on the instances, and create a custom Log pointing to the agent configuration.
C.Create a Resource Manager stack, deploy a Terraform template, and configure an email subscription.
D.Create a Monitoring Alarm, configure OCI Events, and link them to an Object Storage bucket.
AnswerB

Correct. Custom logs require a Log Group, a properly configured Unified Agent on the instances, and a Log resource.

Why this answer

To ship custom logs from compute instances, you install the Unified Agent, configure a log group, and create a log resource associated with a unified agent configuration.

39
MCQhard

You need to extract specific JSON fields from your logs to create custom metrics. Which tool should you use?

A.Logging Query Language (LQL)
B.Terraform HCL
C.Management Dashboard
D.Events service
AnswerA

LQL allows parsing and extraction for custom metrics.

Why this answer

Log search uses the Logging query language, but saved searches or Logging Analytics can create metrics based on log content.

40
MCQeasy

What is the default retention period for audit logs in OCI?

A.365 days
B.90 days
C.Unlimited
D.30 days
AnswerA

Audit logs are kept for one year.

Why this answer

Audit logs are retained for 365 days by default.

41
MCQmedium

You have an OCI alarm that is stuck in the 'Firing' state. What is the most likely cause?

A.The alarm is paused
B.The notification topic is disabled
C.The metric data is still above the threshold
D.The notification frequency is too high
AnswerC

Alarms stay in firing state as long as the threshold condition is met.

Why this answer

If the metric evaluation remains above the threshold, the alarm will stay in the firing state.

42
Multi-Selectmedium

Which THREE services can be used as a destination for the Events service?

Select 3 answers
A.Functions
B.Compute Instance
C.Streaming
D.Notifications
E.Object Storage
AnswersA, C, D

Events can trigger serverless functions.

Why this answer

The Events service supports Functions, Notifications, and Streaming as targets.

43
MCQmedium

When configuring an alarm, what does the 'suppression' feature do?

A.Deletes all historical logs
B.Temporarily stops notifications for the alarm
C.Prevents the resource from scaling
D.Disables all metrics for the resource
AnswerB

This is useful during scheduled maintenance.

Why this answer

Suppression allows you to temporarily disable notifications for an alarm without deleting or disabling the alarm itself.

44
MCQeasy

An OCI administrator wants to implement a cost-allocation tagging strategy across multiple departments sharing the same tenancy. Which OCI feature should be used to enforce that specific tag keys and values are applied to resources during creation?

A.OCI Notifications Topic
B.OCI Events Service
C.Freeform Tags
D.Defined Tags
AnswerD

Correct. Defined tags are controlled by administrators and enable structured metadata, governance, and cost tracking.

Why this answer

Defined Tags with Tag Defaults or IAM policies enforcing tag values help standardize and govern tagging in OCI.

45
Multi-Selecthard

Which TWO actions can be performed using OCI Resource Manager stacks? (Choose two.)

Select 2 answers
A.Send email notifications when an object storage bucket size exceeds a threshold.
B.Create custom time-series metric alarms to monitor CPU and memory utilization.
C.Automatically ingest and parse custom application log files from compute instances.
D.Provision and configure cloud infrastructure resources using Terraform configuration files.
E.Import existing OCI cloud resources into a Terraform state file managed by the stack.
AnswersD, E

Correct. Resource Manager manages infrastructure using Terraform configurations.

Why this answer

OCI Resource Manager uses Terraform to provision, update, import, and destroy infrastructure stacks.

46
MCQmedium

You need to trigger a serverless function whenever an object is uploaded to an Object Storage bucket. Which service should you configure?

A.Resource Manager
B.Notifications service
C.Monitoring service
D.Events service
AnswerD

Events service triggers actions based on state changes.

Why this answer

The Events service allows you to create rules that respond to changes in resources, such as an Object-Create event in Object Storage.

47
MCQmedium

In Resource Manager, what is a 'Stack'?

A.A database container
B.A collection of Terraform resources
C.A storage backup set
D.A virtual machine cluster
AnswerB

A stack manages the lifecycle of your Terraform infrastructure.

Why this answer

A stack is a collection of Terraform configurations and their associated state.

48
MCQmedium

You are configuring a custom log in OCI Logging. You want to parse and extract specific fields from unstructured application log lines using search queries. Which log feature allows you to query, analyze, and create visualizations from these ingested logs?

A.OCI Monitoring Metrics Explorer
B.OCI Events Rule Builder
C.OCI Logging Analytics Log Explorer
D.OCI Resource Manager Jobs
AnswerC

Correct. Log Explorer allows you to search, parse, and visualize logs using structured queries.

Why this answer

OCI Logging Search allows users to query ingested log data using a powerful query language, and Log Analytics offers advanced log analysis features.

49
Multi-Selectmedium

Which THREE protocols are supported for Notifications subscriptions?

Select 3 answers
A.SNMP
B.Email
C.HTTPS
D.PagerDuty
E.FTP
AnswersB, C, D

Standard notification channel.

Why this answer

Notifications supports Email, PagerDuty, and HTTPS.

Ready to test yourself?

Try a timed practice session using only Observability And Management questions.