PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #192
You work for a bank with strict data governance requirements. You recently implemented a custom model to detect fraudulent transactions. You want your training code to download internal data by using
The correct answer is B. Create a Cloud Run endpoint as a proxy to the data. Use Identity and Access Management (IAM). To securely access internal data from a custom model training job while mitigating data exfiltration, configure a Cloud Run endpoint as an authenticated proxy protected by IAM and potentially VPC Service Controls.
Question
Options
- AEnable VPC Service Controls for peerings, and add Vertex AI to a service perimeter.
- BCreate a Cloud Run endpoint as a proxy to the data. Use Identity and Access Management (IAM)
- CConfigure VPC Peering with Vertex AI, and specify the network of the training job.
- DDownload the data to a Cloud Storage bucket before calling the training job.
How the community answered
(68 responses)- A12% (8)
- B56% (38)
- C25% (17)
- D7% (5)
Why each option
To securely access internal data from a custom model training job while mitigating data exfiltration, configure a Cloud Run endpoint as an authenticated proxy protected by IAM and potentially VPC Service Controls.
Enabling VPC Service Controls for peerings and adding Vertex AI to a service perimeter alone does not provide a direct secure access mechanism to an *internal API endpoint* without an intermediary or proxy that can be controlled.
Using a Cloud Run endpoint as a proxy allows for granular access control via IAM, ensuring only authorized Vertex AI training jobs can access the data API. Integrating with VPC Service Controls further enhances security by creating a service perimeter, preventing data exfiltration by restricting data movement outside the perimeter.
Configuring VPC Peering allows network connectivity but does not inherently provide application-level authentication or data exfiltration prevention, which are crucial for the 'most secure way' and 'mitigating data exfiltration'.
Downloading data to a Cloud Storage bucket before calling the training job could introduce a new point of data exposure or exfiltration if not carefully managed and doesn't directly address accessing an *internal API endpoint* securely.
Concept tested: Secure data access with VPC Service Controls and proxies
Source: https://cloud.google.com/vpc-service-controls/docs/overview
Topics
Community Discussion
No community discussion yet for this question.