Quiz
GCP ACE Prep Exam 1
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (50)
1Question 1: A new application has been deployed in Google Cloud. You have been tasked with managing permissions for application administrators, developers, and auditors. Administrators will need full access to manage the application. Developers will need permissions to deploy new versions of services. Auditors will need read access to access logs. How would you manage permissions to minimize management overhead?
- ACreate a Google Group for each of the organizational roles: administrators, developers, and auditors. Assign permissions to each group appropriate for their responsibilities.
- BCreate a Google Group for each of the they three organizational roles: administrators, developers, and auditors. Assign roles to each group appropriate for their responsibilities.
- CCreate a service account for each of the administrators, developers, and auditors. Assign permissions to each group appropriate for their responsibilities.
- DCreate a service account for each of the administrators, developers, and auditors. Assign roles to each group appropriate for their responsibilities.
2Question 2: A team of data scientists wants to run Python scripts in a managed Spark cluster. What GCP service would you recommend?
- ACloud Dataflow
- BCloud SQL
- CCloud Dataproc
- DBigQuery
3Question 3: What is the order of the resource hierarchy component from the root of the hierarchy to the lowest level?
- AOrganization, folder, project, resources
- BOrganization, project, folder, resources
- CFolder, organizations, project, resources
- DFolder, organizations, resources, project
4Question 4: You are consulting with a DevOps team that has recently moved an application form on-premises to Google Cloud. You suggest they use Stackdriver for monitoring and logging. A Stackdriver workspace is linked to what kind of entity in Google Cloud?
- AApp Engine project
- BKubernetes engine cluster
- CProject
- DOrganization
5Question 5: A new employee is starting in your group today. They will be responsible for managing Compute Engine instances for your team. What IAM role will they need to perform all systems management tasks?
- ACompute security admin
- BCompute systems admin
- CCompute admin role
- DCompute manager role
6Question 6: Software engineers are using Google Cloud for development and testing. They have noticed that the instances they use to run tests shutdown without anyone explicitly shutting them down. None of the instances seem to run longer than 24 hours. What would be the first thing to check about the test instance configuration?
- AThe instances are running as Shielded VMs
- BThe instances are running as preemptible instances
- CThe instance group has a maximum number of instances that is too large
- DThe instance group has a minimum number of instances that is too small
7Question 7: You have created a virtual machine running Linux Ubuntu and you want to update libraries on the instance. What protocol would you use to connect to the instance?
- AFTP
- BSSH
- CRDP
- DTLS
8Question 8: Which of the following is the first part of a command for working with Cloud SQL from the command line?
- AGcloud sql
- BGsutil sql
- CBq sql
- DGcp sql
9Question 9: You enter the command “gcloud compute disk list” in Cloud Shell. What do you expect to see?
- AA list of disks defined in the project
- BA list of disks on the Cloud Shell VM
- CA list of Cloud Storage buckets
- DA list of disks defined in your default VM
10Question 10: The term “identity” has a specific meaning in Google Cloud. What is it?
- AAn identity represents an entity that has privileges to perform actions in GCP.
- BAn identity is a data structure associated with a G Suite Account
- CAn identity is the same thing as a service account
- DAn identity is a group of permissions that can be assigned to a user
11Question 11: During an audit review, your team of developers is informed that you cannot use the developer’s credentials for automatically running systems management jobs that run during the night. The job needs to be run using its own identity. What kind of identity would you create for running the systems management job?
- AGoogle account
- BGoogle group
- CService account
- DBatch account
12Question 12: As a consultant to a startup using Google Cloud, you have been asked to review the company’s security policies in GCP. You discover that all users have been granted one of the three primitive roles. Predefined and custom rules are not used. What would you recommend?
- ANo changes, using primitive roles is a GCP best practice.
- BRecommend using predefined roles instead and grant only the roles users need to do their jobs.
- CRecommend creating one custom role so each user and assigning that custom role only set of permissions that user needs.
- DRecommend creating a custom admin role and a custom developer role and assigning them to administrators and developers, respectively.
13Question 13: Which of the following permissions would you not expect to see included in the role App Engine Code Viewer, which is designed to allow users with the role to review code that is running in App Engine?
- AAppengine.applications.get
- BAppengine.versions.get
- CAppengine.versions.list
- DAppengine.instances.delete
14Question 14: You are working from your laptop and you have installed the Cloud SDK. You would like to write a script to create a virtual machine at midnight every night and run a batch job. Which of the following commands will correctly create a VM?
- Agcloud compute vms create ace-exam-instance-4 --zone=us-west1-b --machine-type=g1-small --boot-disk-size=16GB --boot-disk-type=pd-standard
- Bgcloud compute node create ace-exam-instance-4 --zone=us-west1-b --machine-type=g1-small --boot-disk-size=16GB --boot-disk-type=pd-standard
- Cgcloud compute instances create ace-exam-instance-4 --zone=us-west1-b --machine-type=g1-small --boot-disk-size=16GB --boot-disk-type=pd-standard
- Dgcloud compute create ace-exam-instance-4 --zone=us-west1-b --machine-type=g1-small --boot-disk-size=16GB --boot-disk-type=pd-standard
15Question 15: Your company has a legacy website that will be shut down in one year. The legacy website instructs customers to go to the new website. Almost all customers now go to the new website so there is very little traffic to the legacy website. The legacy website has to be available 24x7. What kind of machine type would you recommend using?
- APreemptible virtual machine
- BShared core machine type
- CSole tenancy
- DLow-memory
16Question 16: None of the available instance types in Compute Engine meet your needs. You would like to configure a custom machine. What resources can you specify on a custom machine?
- AvCPU only
- BMemory only
- CvCPU and memory only
- DvCPU and disk only
17Question 17: A group of analysts is developing machine learning models in Google Cloud. They have tried a number of different machine types but are still not achieving the performance they would like. You suggest using GPUs. What parameters can you configure when attaching a GPU?
- AGPU type only
- BNumber of GPUs only because there is only 1 GPU type
- CGPU type and number of GPUs
- DGPU type, number of GPUs, and amount of memory on each GPU
18Question 18: A group of analysts developing machine learning applications have created a Linux virtual machine instance and installed several machine learning tools on the boot disk. They would like to quickly create other instances for machine learning but don’t want to manually install the machine learning tools each time they start an instance. What would you recommend they do?
- AWrite a script to install the machine learning tools and run that script after starting an instance
- BMake a custom image of the boot disk where the tools were installed and use the snapshot when creating an instance by specifying the image when creating additional VMs.
- CMake a backup of the directories where the machine learning tools are located and restore from the backup after creating a new instance.
- DUse only tools already available with the installed operating system.
19Question 19: GCP provides instance groups to manage virtual machines as a single instance. If you are migrating a group of instances that have different configurations from on-premises to Google Cloud, which kind of instance group would you use?
- AManaged instance group
- BUnmanaged instance group
- CHeterogeneous instance group
- DHybrid instance group
20Question 20: You have an application running on-premises in a cluster of VMs. The application uses a load balancer to distribute work across the cluster. This application is to be migrated to Google Cloud. What kind of instance group would you recommend using?
- AManaged instance group
- BUnmanaged instance group
- CHeterogeneous instance group
- DHybrid instance group
21Question 21: A team of data scientists has deployed an instance group of VMs running a custom Python application. The instance group has a minimum of 2 and a maximum of 8 instances. The instance group is constantly running with 8 instances although none of the instances has CPU utilization over 40%. What would you do to reduce the number of instances running and increase CPU utilization?
- AUse HTTP load balancing servicing capacity.
- BUse a Stackdriver memory metric to determine when to add instances.
- CUse CPU utilization as the metric to determine when to scale and ensure it is set to the appropriate level of CPU utilization you are targeting.
- DReduce the maximum number of instances one at a time until CPU utilization hits the desired target.
22Question 22: A colleague asks for your help diagnosing a problem with some of their instance groups. It appears that when the overall workload decreases, the instance groups remove more instances than should be to meet the lower workload. What would you suggest your colleague do to correct this problem?
- AIncrease the minimum number of instances.
- BChange the metric used to determine when to scale up or down.
- CIncrease the cool down period to allow more time for an instance to finish so the autoscaler ignores those instances when making a scale down decision.
- DDecrease the maximum number of instances.
23Question 23: The CIO of your company wants to run large numbers of containers more efficiently while minimizing the cost of administering those containers. You suggest a managed service to reduce administrative overhead. Which service would you recommend?
- AKubernetes Engine
- BCompute Engine
- CCloud Dataproc
- DCloud Dataflow
24Question 24: What feature of Kubernetes is used to segment nodes in a Kubernetes cluster?
- ANode instance groups
- BNode pools
- CNode deployments
- DNode services
25Question 25: Which of the following is not an abstraction used to control and implement computing processes in Kubernetes?
- APods
- BDeployments
- CServices
- DPersistentVolumeClaims
26Question 26: As a developer, you are responsible for deploying your application in a Kubernetes cluster in GCP. You have created an application based on microservices and each microservice runs in a separate container. When, if ever, would you consider running more than one container in a single pod?
- AYou would not, that is not supported.
- BWhen the containers are tightly coupled and have similar life cycles.
- CWhen they use the same persistent storage.
- DWhen they use the same database.
27Question 27: You need to assign a stable IP address as an endpoint for your application. Your application is running in Kubernetes Engine. What Kubernetes component would you use to ensure traffic is correctly routed to pods running your application?
- APod router
- BDeployment
- CService
- DPersistentIPClaim
28Question 28: An unhealthy pod is shut down and replaced by Kubernetes Engine. The replacement pod has access to the data that was persisted by the unhealthy pod. What Kubernetes storage mechanisms must have been used?
- APersistent volume
- BSnapshot
- CNode backup
- DPersistent deployment
29Question 29: What is the prefix of Cloud SDK commands for working with Kubernetes Engine?
- AGcloud kubernetes
- BGcloud containers
- CGsutil kubernetes
- DGsutil containers
30Question 30: Kubernetes uses node pools. What GCP resource is used to implement node pools?
- AUnmanaged instance groups
- BManaged instance groups
- CApp Engine Flexible applications
- DCloud functions
31Question 31: You are running a self-managed Kubernetes cluster in Compute Engine. You want to change auto scaling parameters. What command line utility would you use, assuming the following are the start of commands?
- AGcloud kubernetes
- BGcloud containers
- CKubectl
- DGsutil containers
32Question 32: A developer on your team has deployed an App Engine application that should be running in a Python 3.4 environment but it is running in a Python 2.7 environment instead. What configuration file would you edit to correct the problem?
- AApp-engine-python.yaml
- BApp.yaml
- CApp-engine-python.py
- DApp.py
33Question 33: A new CTO at your company is concerned with accelerating the pace of deploying new features in applications. They believe your team should be using a PaaS that provides a secure sandbox. Which GCP compute service would you recommend to meet these needs?
- ACompute Engine
- BKubernetes Engine
- CApp Engine Standard
- DApp Engine Flexible
34Question 34: Which of the following is not a feature of App Engine Flexible?
- AProvides for custom health checks
- BHas higher CPU and memory limits than App Engine Standard.
- CRuns applications in regional managed instance groups.
- DRequires the use of Python, Go, Php, or Javascript.
35Question 35: An application developer is debugging a problem with an app running in App Engine. The developer would like to have the instance running the application available at all times, even when there is no load on the application. What would you recommend?
- ANothing, autoscaling in App Engine manages instances dynamically and instances cannot be forced to be running all the time.
- BConfigure the application to use resident instances.
- CUse unmanaged instance groups instead of managed instance groups.
- DModify the health check to return healthy at all times so the state of the instance is not altered.
36Question 36: A team of developers has created a new version of an App Engine application that maintains state in the backend application. They’d like to route 5% of traffic to the new version and 95% to the old version of the application. They have decided to use the IP address of clients to determine which clients to route to the new version and which to route to the old version. They ask for your advice and you’d like to follow Google's best practices. What would you recommend the team do?
- AContinue with the plan to use IP address for traffic splitting, that is the recommended best practice.
- BSwitch to random splitting, that is the recommended best practice for routing traffic for stateful applications.
- CSwitch to HTTP cookie splitting, that is the recommended best practice for routing traffic for stateful applications.
- DSince traffic splitting is not directly supported, you recommend the team implement a custom routing mechanism in the client-side of the application.
37Question 37: You are consulting with an enterprise that needs to process a large number of archived files that are stored on-premises. The files will be uploaded to a Google Cloud Storage bucket. There is no fixed schedule for uploading but whenever one of several on-premises servers has low CPU utilization, that server will run a script that uploads files. The client wants to minimize cost and minimize the time from uploading the files to complete the processing. What would you recommend?
- AUse the App Engine cron job service that runs at the start of every hour to check for new files in the Google Cloud Storage bucket, if there are new files then process them.
- BUse a custom script running on a Compute Engine instance that runs at the start of every minute to check for new files in the Google Cloud Storage bucket, if there are new files then process them.
- CUse a Cloud Function that starts processing once a file has finished uploading to the Google Cloud Storage bucket.
- DUse a custom script running on a Kubernetes Engine instance that runs at the start of every minute to check for new files in the Google Cloud Storage bucket, if there are new files then process them.
38Question 38: You have developed a Python function to respond to a message being written to Cloud Pub/Sub. You want the function to execute whenever a message is written to a particular topic. Which of the following is not an option for making the function code available to Cloud Functions?
- AZip upload
- BZip from Cloud Storage
- CInline editor in the Cloud Console
- DCloud Datastore entity
39Question 39: A data modeler is consulting with you on choosing a managed database in Google Cloud. They need a relational database. What GCP services would you recommend they consider?
- ACloud SQL and Cloud Spanner
- BCloud SQL and BigQuery
- CCloud Datastore and Cloud Spanner
- DCloud Datastore and BigQuery
40Question 40: The finance director of your company is determined to reduce the cost of maintaining a data warehouse that is currently implemented in a commercial relational database. They want to use a managed service in Google Cloud and want the analysts to continue to use their SQL tools. What would you recommend?
- ABigtable
- BBigQuery
- CDatastore
- DCloud Spanner
41Question 41: Your company distributes educational videos and lesson material for middle school and high school students in the United States, Canada, Australia, New Zealand, and the United Kingdom. The service is quite popular and all videos are frequently accessed. Some students have noted that it takes a long time to load videos but other students report no problems. The videos are stored in Cloud Storage using Regional storage class. What would you try first to improve the time required to load videos for all students?
- AUse Nearline storage class
- BUse Multi-regional storage class
- CUse Cloud Memorystore to cache videos
- DUse Bigtable to store videos
42Question 42: The legal department in your company has stored a large number of scanned documents. They continue to add scanned documents daily. The lead attorney in the department has pointed out that after a scanned document is uploaded, it will likely be accessed in the first 30 days. It is not likely to be accessed after 60 days. You’d like to move scanned images that are older than 60 days to Coldline storage. How would you implement the process?
- AWrite a script to get a list of all files in a bucket, compare the create date to the current date, and if the difference is greater than 60 days copy the data to bucket using Coldline storage class. The script should be run in App Engine Cron service.
- BWrite a script to get a list of all files in a bucket, compare the create date to the current date, and if the difference is greater than 60 days copy the data to bucket using Coldline storage class. The script should be run as a Cloud Function.
- CImplement an object lifecycle rule to move files to Coldline once the age reaches 60 days.
- DImplement a data retention rule to move files to Coldline once the age reaches 60 days.
43Question 43: You are configuring a MySQL database in Cloud SQL. The database administrator you are working with has explained that this database is accessed frequently and low latency response to queries is a top priority. What kind of storage would you use for this database?
- AHDD, hard disk drives
- BSSD, solid state disks
- CObject storage
- DWide-column database storage
44Question 44: A startup is migrating its archival storage from AWS to GCP. They have approximately 2 TB of data to transfer. What method would you recommend they use to transfer data from an AWS S3 bucket to a Google Cloud Storage bucket?
- AGsutil
- BCloud Storage Transfer
- CCloud Transfer Appliance
- DGcloud transfer
45Question 45: You have created a VPC choosing default configuration parameters. Subnets are created in what regions?
- AOnly the region in which the create VPC commands were executed
- BAll regions
- CNo regions
- DOnly regions in which routes are already defined
46Question 46: What network component do you configure to ensure traffic between VPN endpoints is encrypted?
- AVPN endpoints
- BTunnels
- CRoutes
- DAutonomous System Numbers
47Question 47: A network engineer notices that they can no longer connect to a Windows server in GCP from their local device. They suspect a firewall rule has been changed. What would explain their inability to access a Windows server?
- ADefault-allow-icmp rule has been deleted
- BDefault-allow-rdp rule has been deleted
- CDefault-allow-ssh has been deleted
- DOne of the implied firewall rules have been deleted
48Question 48: You would like to share resources across two projects. The projects are in different organizations. What networking mechanism would you use?
- AVPC Peering
- BShared VPC
- CCloud Interconnect
- DVPN
49Question 49: A team of developers has created an e-commerce application that will run in multiple regions in North America, Asia, and Europe. Customers will use HTTPS to securely connect to the application. What kind of load balancer would you recommend to distribute traffic?
- AInternal TCP/UDP
- BNetwork TCP/UDP
- CSSL Proxy
- DHTTP(S)
50Question 50: An application is not functioning with the expected levels of performance. At some times during the day, the time to complete a transaction is 4-5 times longer than the average transaction time. Developers are not finding any error messages in the logs. What tool would you recommend to understand what server resources are being used and if any are exhausted?
- AStackdriver Monitoring
- BStackdriver Debugger
- CStackdriver Logging
- DLinux top command
Information
- Description
- ACE GCP Quiz on GCP ACE Prep Exam 1, created by Bom Jeon on 17/07/2023.
- Author
- Bom Jeon
- Language
- English
- Views
- 4
- Tags
- Rating
- No ratings yet Rate this quiz