GCP Professional Cloud Security Engineer Practice Question

Your company operates a Java service in its on-premises data center that invokes Google Cloud Translation API with an API key embedded in application code. Security engineers want to reduce the blast radius if the key is leaked: the key must remain usable only from the data-center's two static egress IP addresses and must never work against any Google APIs except Cloud Translation. Which configuration best satisfies these requirements while preserving current functionality?

  • Keep the key unrestricted but set per-user daily quota to zero for every Google API except Cloud Translation.

  • Replace the API key with OAuth 2.0 service-account authentication so requests use signed JWTs instead of an API key.

  • Edit the existing API key to add an IP address application restriction for the two egress IPs and enable an API restriction that permits only the Cloud Translation API.

  • Place Cloud Translation API and the on-premises project inside a VPC Service Controls service perimeter that blocks egress to all other Google APIs.

GCP Professional Cloud Security Engineer
Securing communications and establishing boundary protection
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot