Google (ACE) Exam Questions And Answers page 7
You created a Google Cloud Platform project with an App Engine application inside the project. You initially configured the application to be served from the us-central region. Now you want the application to be served from the asia-northeast1 region. What should you do?
Change the region property setting in the existing App Engine application from us-central to asia-northeast1.
Create a second App Engine application in the existing GCP project and specify asia-northeast1 as the region to serve your application.
Create a new GCP project and create an App Engine application inside this new project. Specify asia-northeast1 as the region to serve your application.
Managing GCP Resources
GCP Networking Services
You created an instance of SQL Server 2017 on Compute Engine to test features in the new version. You want to connect to this instance using the fewest number of steps. What should you do?
Install a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.
Install a RDP client in your desktop. Set a Windows username and password in the GCP Console. Use the credentials to log in to the instance.
Set a Windows password in the GCP Console. Verify that a firewall rule for port 22 exists. Click the RDP button in the GCP Console and supply the credentials to log in.
Set a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
GCP Computing Services
You created several resources in multiple Google Cloud projects. All projects are linked to different billing accounts. To better estimate future charges, you want to have a single visual representation of all costs incurred. You want to include new cost data as soon as possible. What should you do?
Configure Billing Data Export to BigQuery and visualize the data in Data Studio.
Visit the Cost Table page to get a CSV export and visualize it using Data Studio.
Fill all resources in the Pricing Calculator to get an estimate of the monthly cost.
Use the Reports view in the Cloud Billing Console to view the desired cost information.
Managing GCP Resources
GCP Monitoring and Operations
You deployed an App Engine application using gcloud app deploy, but it did not deploy to the intended project. You want to find out why this happened and where the application deployed. What should you do?
Check the app.yaml file for your application and check project settings.
Check the web-application.xml file for your application and check project settings.
Go to Deployment Manager and review settings for deployment of applications.
Go to Cloud Shell and run gcloud config list to review the Google Cloud configuration used for deployment.
Google Cloud Platform Fundamentals
Managing GCP Resources
You deployed a new application inside your Google Kubernetes Engine cluster using the YAML file specified below.
You check the status of the deployed pods and notice that one of them is still in PENDING status:
You want to find out why the pod is stuck in pending status. What should you do?
You check the status of the deployed pods and notice that one of them is still in PENDING status:
You want to find out why the pod is stuck in pending status. What should you do?
Review details of the myapp-service Service object and check for error messages.
Review details of the myapp-deployment Deployment object and check for error messages.
Review details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages.
View logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages.
Managing GCP Resources
GCP Monitoring and Operations
You deployed a new application inside your Google Kubernetes Engine cluster using the YAML file specified below.
You check the status of the deployed pods and notice that one of them is still in PENDING status:
You want to find out why the pod is stuck in pending status. What should you do?
You check the status of the deployed pods and notice that one of them is still in PENDING status:
You want to find out why the pod is stuck in pending status. What should you do?
Review details of the myapp-service Service object and check for error messages.
Review details of the myapp-deployment Deployment object and check for error messages.
Review details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages.
View logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages.
Managing GCP Resources
GCP Monitoring and Operations
You deployed an LDAP server on Compute Engine that is reachable via TLS through port 636 using UDP. You want to make sure it is reachable by clients over that port. What should you do?
Add the network tag allow-udp-636 to the VM instance running the LDAP server.
Create a route called allow-udp-636 and set the next hop to be the VM instance running the LDAP server.
Add a network tag of your choice to the instance. Create a firewall rule to allow ingress on UDP port 636 for that network tag.
Add a network tag of your choice to the instance running the LDAP server. Create a firewall rule to allow egress on UDP port 636 for that network tag.
GCP Computing Services
GCP Networking Services
You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file?
Use the GCP Console to transfer the file instead of gsutil.
Enable parallel composite uploads using gsutil on the file transfer.
Decrease the TCP window size on the machine initiating the transfer.
Change the storage class of the bucket from Nearline to Multi-Regional.
GCP Storage Services
You have a batch workload that runs every night and uses a large number of virtual machines (VMs). It is fault-tolerant and can tolerate some of the VMs being terminated. The current cost of VMs is too high. What should you do?
Run a test using N1 standard VMs instead of N2. If the test is successful, use N1 Standard VMs when running future jobs.
Run a test using simulated maintenance events. If the test is successful, use preemptible N1 Standard VMs when running future jobs.
Run a test using simulated maintenance events. If the test is successful, use N1 Standard VMs when running future jobs.
Run a test using a managed instance group. If the test is successful, use N1 Standard VMs in the managed instance group when running future jobs.
Managing GCP Resources
GCP Networking Services
You have a Compute Engine instance hosting an application used between 9 AM and 6 PM on weekdays. You want to back up this instance daily for disaster recovery purposes. You want to keep the backups for 30 days. You want the Google-recommended solution with the least management overhead and the least number of services. What should you do?
1. Update your instances metadata to add the following value: snapshot schedule: 0 1 * * *
2. Update your instances metadata to add the following value: snapshot retention: 30
2. Update your instances metadata to add the following value: snapshot retention: 30
1. Create a Cloud Function that creates a snapshot of your instance s disk.
2. Create a Cloud Function that deletes snapshots that are older than 30 days.
3. Use Cloud Scheduler to trigger both Cloud Functions daily at 1:00 AM.
2. Create a Cloud Function that deletes snapshots that are older than 30 days.
3. Use Cloud Scheduler to trigger both Cloud Functions daily at 1:00 AM.
1. Create a bash script in the instance that copies the content of the disk to Cloud Storage.
2. Create a bash script in the instance that deletes data older than 30 days in the backup Cloud Storage bucket.
3. Configure the instance s crontab to execute these scripts daily at 1:00 AM.
2. Create a bash script in the instance that deletes data older than 30 days in the backup Cloud Storage bucket.
3. Configure the instance s crontab to execute these scripts daily at 1:00 AM.
1. In the Cloud Console, go to the Compute Engine Disks page and select your instance s disk.
2. In the Snapshot Schedule section, select Create Schedule and configure the following parameters:
- Schedule frequency: Daily
- Start time: 1:00 AM 2:00 AM
- Autodelete snapshots after: 30 days
2. In the Snapshot Schedule section, select Create Schedule and configure the following parameters:
- Schedule frequency: Daily
- Start time: 1:00 AM 2:00 AM
- Autodelete snapshots after: 30 days
Managing GCP Resources
GCP Monitoring and Operations
Comments