Valid 1z0-1104-25 Dumps shared by EduDump.com for Helping Passing 1z0-1104-25 Exam! EduDump.com now offer the newest 1z0-1104-25 exam dumps, the EduDump.com 1z0-1104-25 exam questions have been updated and answers have been corrected get the newest EduDump.com 1z0-1104-25 dumps with Test Engine here:
Task 2: Create a Compute Instance and Install the Web Server Create a compute instance, where: Name: PBT-CERT-VM-01 Image: Oracle Linux 8 Shape: VM.Standard.A1.Flex Subnet: Compute-Subnet-PBT-CERT Install and configure Apache web server: a. Install Apache sudo yum -y install httpd b. Enable and start Apache sudo systemctl enable httpd sudo systemctl restart httpd 2. Install and configure Apache web server: a. Install Apache sudo yum -y install httpd b. Enable and start Apache sudo systemctl enable httpd sudo systemctl restart httpd c. Configure firewall to allow HTTP traffic (port 80) sudo firewall-cmd --permanent --add-port=80/tcp sudo firewall-cmd --reload d. Create an index.html file sudo bash -c 'echo You are visiting Web Server 1 >> /var/www/html/index.html' Enter the OCID of the created compute instance PBT-CERT-VM-01 in the text box below.
Correct Answer:
See the solution below in Explanation. Explanation: Task 2: Create a Compute Instance and Install the Web Server Step 1: Create the Compute Instance * Log in to the OCI Console. * Navigate toCompute>Instances. * ClickCreate Instance. * Enter the following details: * Name: PBT-CERT-VM-01 * Compartment: Select your assigned compartment. * Placement: Leave as default or select an availability domain (e.g., Availability Domain 1). * Image: ClickChange Image, selectOracle Linux 8, and confirm. * Shape: ClickChange Shape, selectVM.Standard.A1.Flex, and configure: * OCPUs: 1 (or adjust as needed) * Memory: 6 GB (or adjust as needed) * Networking: * Virtual Cloud Network: Select PBT-CERT-VCN-01. * Subnet: Select Compute-Subnet-PBT-CERT. * Leave public IP assignment enabled for internet access. * SSH Key: Provide your public SSH key (upload or paste) for secure access. * ClickCreateand wait for the instance to be provisioned. Step 2: Connect to the Compute Instance * Once the instance is created, note thePublic IP Addressfrom the instance details page. * Use an SSH client to connect: * Command: ssh -i <private-key-file> opc@<public-ip-address> * Replace <private-key-file> with your private key path and <public-ip-address> with the instance' s public IP. Step 3: Install and Configure Apache Web Server * Install Apache: * Run: sudo yum -y install httpd * Enable and Start Apache: * Run: sudo systemctl enable httpd * Run: sudo systemctl restart httpd * Configure Firewall to Allow HTTP Traffic (Port 80): * Run: sudo firewall-cmd --permanent --add-port=80/tcp * Run: sudo firewall-cmd --reload * Create an index.html File: * Run: sudo bash -c 'echo "You are visiting Web Server 1" >> /var/www/html/index.html' Step 4: Verify the Configuration * Open a web browser and enter http:// <public-ip-address> to ensure the page displays "You are visiting Web Server 1". * If needed, troubleshoot by checking Apache status: sudo systemctl status httpd. Step 5: Retrieve and Enter the OCID * Go to the instance details page for PBT-CERT-VM-01 underCompute>Instances. * Copy theOCID(a long string starting with ocid1.instance., unique to your tenancy). * Enter the copied OCID exactly as it appears into the text box provided. Notes * These steps are based on OCI Compute documentation and Oracle Linux 8 setup guides. * Ensure the security list PBT-CERT-CS-SL-01 allows inbound traffic on port 22 (SSH) and port 80 (HTTP) if not already configured. * The OCID will be unique to your instance; obtain it from the OCI Console after creation