GCP_CloudEngineer_Exam
Append the environment variable to a file on the command line
mkdir infraclass touch infraclass/config echo INFRACLASS_REGION=$INFRACLASS_REGION >> ~/infraclass/config INFRACLASS_PROJECT_ID=[YOUR_PROJECT_ID] echo INFRACLASS_PROJECT_ID=$INFRACLASS_PROJECT_ID >> ~/infraclass/config source infraclass/config echo $INFRACLASS_PROJECT_ID When you Close and re-open Cloud Shell, issue the echo command again, but There will be no output because the environment variable no longer exists.
Modify the bash profile and create persistence
nano .profile source infraclass/config echo $INFRACLASS_PROJECT_ID
To create a persistent state in Cloud Shell, which file would you configure?
.profile
Cloud Shell provides you with which of the following? (Select all that apply).
1. Built-in authorization for access to resources and instances 2. Command-line access to a free temporary Compute Engine VM 3. 5 GB of persistent storage (/home)
Cloud Shell 역할은?
1. Detailed control 2. Complete range of options and features 3. A path to automation through scripting
Cloud Console 역할은?
1. Provides a fast way to get things done 2. Presents options to you, instead of requiring you to know them 3. Performs behind-the-scenes validation before submitting the commands
CloudShell 주요 특징은?
1. Temporary Compute Engine VM Command-line access to the instance via a browser. 2. 5 GB of persistent disk storage ($HOME dir) 3. Pre-installed Cloud SDK and other tools 4. gcloud: for working with Google Compute Engine and many Google Cloud services 5. gsutil: for working with Cloud Storage 6. kubectl: for working with Google Container Engine and Kubernetes 7. bq: for working with BigQuery 8. Language support for Java, Go, Python, Node.js, PHP, and Ruby Web preview functionality 9. Built-in authorization for access to resources and instances
Google Cloud Marketplace lets you quickly deploy functional software packages by providing pre-defined templates with which Google Cloud service?
Deployment Manager 1. Deployment Manager is a Google Cloud service that uses templates written in a combination of YAML, python, and Jinja2 to automate the allocation of Google Cloud resources and perform setup tasks. 2. Behind the scenes a virtual machine has been created. 3. A startup script was used to install and configure software, and network Firewall Rules were created to allow traffic to the service.
Create and verify an environment variable on the command line
INFRACLASS_REGION=[YOUR_REGION] east-asia1 echo $INFRACLASS_REGION
Jenkins is an open-source continuous integration environment.
In Jenkins, You can define jobs in Jenkins that can perform tasks such as running a scheduled build of software and backing up data. Notice the software that is installed as part of Jenkins shown in the left side of the description.
list available regions on the command line
gcloud compute regions list
Copy the file into one of the buckets
gsutil cp [MY_FILE] gs://[BUCKET_NAME]
Use the gsutil command to create another bucket.
gsutil mb gs://<BUCKET_NAME>