Ace4 HTML
Ace4 HTML
You are asked to create 2 users for your new team members on GCP console. You add the users to IAM and when you click on select a roles you find primitive
roles to set project-level permissions. Which of the following role is not included in primitive roles list?
A. roles/adminright
B. roles/viewer
C. roles/editor
D. roles/owner
Explanation:
Correct Answer: A
Link:
https://cloud.google.com/iam/docs/understanding-custom-roles
Question 2Correct
Domain: Setting up a cloud solution environment
You have been asked to list the name of active account using gcloud CLI. Which of the following command will you use?
Correct Answer: B
B is correct: To list the active account name, we use gcloud auth list.
A is incorrect: config list is used to list all the properties of active configurations
Link:
https://cloud.google.com/sdk/gcloud/reference/auth/list
Question 3Correct
Domain: Planning and configuring a cloud solution
You have mapped /static/* to gs://resources_bucket/ and you are using HTTPS Load Balancer to serve the contents from a host, the request to HTTPS LB will
try to serve gs://resources_bucket/static/path/to/content.jpg. When you hit the DNS, you get “The specified key doesn’t exist” error. What could be the reason?
Explanation:
Correct Answer: C
C correct: The error is observed when the requested object is not available in the bucket.
A is incorrect: The following error will not give any response from the server
B is incorrect: Permission is granted at host level and not on load balancer
D is incorrect: If the content is stored on a private bucket and host is unable to connect to the bucket, the request will fail.
Link:
https://cloud.google.com/load-balancing/docs/https/setting-up-https
Ask our Experts
View Queries
Did you like this Question?
Question 4Correct
Domain: Planning and configuring a cloud solution
You are working as a Cloud Engineer in a start up and have been asked to use Cloud Storage with a maximum budget of $0.006 - $0.012 per GB/Month to store
their pdf files. Which storage class would you recommend?
A. Standard
B. Coldlineright
C. Multi-Regional
D. Nearline
Explanation:
Correct Answer: B
B is correct: Coldline is priced at the price between $0.004 - $0.014 per GB/Month
Link:
https://cloud.google.com/storage/pricing-summary/
Question 5Correct
Domain: Deploying and implementing a cloud solution
Which of the following gcloud command lets you view the details of a custom subnet you created in a particular region?
Explanation:
Correct Answer: B
B is correct: describe flag gives a detailed description of the subnet mentioned in the command.
A, C and D are incorrect: view and read flags are not valid gcloud flag. List is used to list the number of subnets in a private cloud.
Link:
https://cloud.google.com/sdk/gcloud/reference/compute/networks/subnets/describe
Question 6Correct
Domain: Deploying and implementing a cloud solution
A medical clinic has a retention policy of 5 years. The records older than 4 months get accessed a few times in each quarter for reporting purposes. The clinic is
using Cloud Storage to store all their records and is looking for a cost effective archiving solution. Which object lifecycle management option would you
recommend to the clinic authorities?
Explanation:
Correct Answer: D
D is correct: This is the correct condition to check the age of the records and store it in Nearline which is the cheapest archival storage in this case.
A, C & B is incorrect: These conditions or storage classes are not suitable for this scenario.
Link:
https://cloud.google.com/storage/docs/storage-classes
Question 7Correct
Domain: Ensuring successful operation of a cloud solution
Your project has a requirement of high GPU capacity and your manager has asked you to spin up a new ubuntu instance with NVIDIA Tesla k80 GPU in us-
east1-d zone. Which of the following command would you use to do the following?
A. gcloud compute instances create gpu-instance-1 \ --machine-type n1-standard-2 --zone us-east1-d \ --accelerator type=nvidia-tesla-k80,count=1 \
--image-family ubuntu-1604-lts --image-project ubuntu-os-cloud \ --maintenance-policy TERMINATE --restart-on-failureright
B. gcloud compute instances create gpu-instance-1 \ --machine-type nvidia-tesla-k80 --zone us-east1-d count=1 \ --image-family ubuntu-1604-lts --
maintenance-policy TERMINATE --restart-on-failure
C. gcloud compute instances create gpu-instance-1 \ --machine-type=n1-standard-2 --zone us-east1-d \ --accelerator-type=nvidia-tesla-k80,count=1 \
--image-family ubuntu-1604-lts --image-project ubuntu-os-cloud \ --maintenance-policy TERMINATE --restart-on-failure
D. gcloud compute instances create gpu-instance-1 \ --machine-type n1-standard-2 --zone us-east1-d \ --accelerator type nvidia-tesla-k80,count 1 \
--image-family ubuntu-1604-lts --image-project ubuntu-os-cloud \ --maintenance-policy TERMINATE --restart-on-failure
Explanation:
Correct Answer: A
A is correct. Syntactically it is correct.
B, C and D are incorrect: The syntax is incorrect. Gcloud will exit with an error.
Link:
https://cloud.google.com/compute/docs/gpus/add-gpus
Ask our Experts
View Queries
Did you like this Question?
Question 8Correct
Domain: Ensuring successful operation of a cloud solution
Your client wants to migrate their 30 TB of Hadoop or Spark cluster from a RHEL 6.5 on-premise servers to Google Cloud Platform. Which of the following
service can be used at GCP end?
A. Compute Engine
B. App Engine
C. Dataprocright
D. Big Query
Explanation:
Correct Answer: C
C is correct: A faster, easier, more cost-effective way to run Apache Spark and Apache Hadoop
A is incorrect: Can be used but would require high compute and cost.
D is incorrect: Big query is a data warehouse and not suitable to run spark commands.
Link:
https://cloud.google.com/dataproc/
Question 9Correct
Domain: Configure access and security
Your client wants you to update a viewer role in your google cloud platform project using CLI. The custom-defined role has permission to App Engine list and
get method and you have been asked to add the additional roles of cloud storage list and get permissions. The changes were reflected after your ran the
command but the user complained that they are unable to view the content of Cloud Storage buckets using CLI. What could be the most appropriate reason?
A. The App Engine permission in the roles are overlapping the new permissions.
B. The API for Cloud Storage is not enabledright
C. Cloud Storage permission needs to be created and attached separately
D. The API of App Engine needs to be disabled
Explanation:
Correct Answer: B
B is correct: It is possible that the Cloud Storage API is not enabled for the project, hence the users are not able to access it using CLI
D is incorrect: Disabling API of App Engine will stop App Engine service to work.
Link:
https://cloud.google.com/endpoints/docs/openapi/enable-api
Question 10Correct
Domain: Configure access and security
Your project team has asked to disabled a custom role editor from the project which might require deletion from your Google Cloud Platform console. The
project team will inform you when to perform the deletion of the role. Suggest the correct gcloud command to perform the deletion.
Explanation:
Correct Answer - C
Link:
https://cloud.google.com/sdk/gcloud/reference/iam/roles/update