Implement Cloud Storage and Data Protection Solutions: Challenge Lab - ARC111

A passionate full-stack developer from @ePlus.DEV
Overview
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
Setup
Before you click the Start Lab button
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
- Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito (recommended) or private browser window to run this lab. This prevents conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
- Time to complete the lab—remember, once you start, you cannot pause a lab.
Note: Use only the student account for this lab. If you use a different Google Cloud account, you may incur charges to that account.
Note: Once the lab environment has been fully provisioned, the tasks will become visible. The tasks that are assigned to you are independent, so you are free to perform the tasks in any order you want.
Set the region
Set the project region for this lab:
gcloud config set compute/region us-east1
Copied!
Challenge scenario
You are just starting your junior cloud architect role. So far you have been helping teams create and manage Cloud Storage buckets.
You are expected to have the skills and knowledge for these tasks.
Note: You've been assigned random tasks from the set of tasks. Please reference this Form ID: form-1 and respective Task Number while reporting any issues, requesting assistance with these tasks or providing any feedback.
Task 1
Create a bucket with Coldline Storage class
1. Create a Cloud storage bucket with Coldline Storage class and named as 'Bucket1', which is located at the left side of the lab instructions.
Task 2
Create a retention policy
1. Now add a retention policy of 30 seconds to the precreated bucket 'Bucket2', which is located at the left side of the lab instructions.
Note: In case you're unable to view pre-created resources as per the task description,"your Google Cloud resources are still being provisioned, please refresh the page and try again in a few minutes." If you do, just wait a short time and reload your page. |
Task 3
Add a file to the bucket
1. Add an object into the precreated bucket named as 'Bucket3', which is located at the left side of the lab instructions.
Note: In case you're unable to view pre-created resources as per the task description,"your Google Cloud resources are still being provisioned, please refresh the page and try again in a few minutes." If you do, just wait a short time and reload your page. |
Solution of Lab
Quick
https://www.youtube.com/watch?v=X6DNbZbzKuA&embeds_referring_euri=https%3A%2F%2Feplus.dev%2F
curl -LO raw.githubusercontent.com/ePlus-DEV/storage/refs/heads/main/labs/ARC111/lab.sh
source lab.sh
Script Alternative
export BUCKET_1=
export BUCKET_2=
export BUCKET_3=
curl -LO raw.githubusercontent.com/Cloud-Wala-Banda/Labs-Solutions/main/Get%20Started%20with%20Cloud%20Storage%20Challenge%20Lab/arc111.sh
sudo chmod +x arc111.sh
./arc111.sh




