You want to automate the installation of packages and configuration scripts on newly launched compute instances without manual intervention. What OCI feature should you use?
Instance User Data leverages the cloud-init framework to automatically execute scripts and install packages upon the initial boot of newly launched compute instances. This mechanism directly satisfies the requirement for zero-touch automation without manual intervention, allowing administrators to pass shell scripts or cloud-init configuration files directly through the OCI API or Console during provisioning.
Why this answer
Instance User Data (Cloud-init) allows you to supply a script or cloud-config that runs automatically on first boot of a compute instance, enabling unattended installation of packages and execution of configuration scripts. This is the standard OCI mechanism for bootstrapping instances without manual intervention. The user data is passed via the instance metadata service and consumed by cloud-init.
Exam trap
The trap is confusing networking or IAM features with bootstrapping — candidates who don't recognize cloud-init's role pick security lists or instance principals because they sound like automation tools.
How to eliminate wrong answers
Option A is wrong because Block Volume Attachment scripts are not a bootstrapping feature — attaching a block volume is a storage operation and does not run installation or configuration logic on the instance. Option B is wrong because VCN Security List rules control network traffic (ingress/egress), not software installation or configuration. Option C is wrong because IAM Instance Principals are used for granting OCI API access to an instance via dynamic groups, not for automating package installation.