Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Security Engineer Exam - Topic 2 Question 104 Discussion

Posted by Olen on Jul 07, 2025 at 07:29 AM

Your organization is building a real-time recommendation engine using ML models that process live user activity data stored in BigQuery and Cloud Storage. Each new model developed is saved to Artifact Registry. This new system deploys models to Google Kubernetes Engine and uses Pub/Sub for message queues. Recent industry news has been reporting attacks exploiting ML model supply chains. You need to enhance the security in this serverless architecture, specifically against risks to the development and deployment pipeline. What should you do?

Suggested Answer: B

To enhance the security of your machine learning (ML) model supply chain within a serverless architecture, it's crucial to implement measures that protect both the development and deployment pipelines.

Option A: While limiting external dependencies and rotating encryption keys are good security practices, they do not directly address the risks associated with the ML model supply chain.

Option B: Implementing container image vulnerability scanning during development and pre-deployment helps identify and mitigate known vulnerabilities in your container images. Enforcing Binary Authorization ensures that only trusted and verified images are deployed in your environment. This combination directly strengthens the security of the ML model supply chain by validating the integrity of container images before deployment.

Option C: Sanitizing training data and applying role-based access controls are important security practices but do not specifically safeguard the deployment pipeline against compromised container images.

Option D: While strict firewall rules and intrusion detection systems enhance network security, they do not specifically address vulnerabilities within the container images or the deployment process.

Therefore, Option B is the most effective approach, as it directly addresses the security of the development and deployment pipeline by ensuring that only vetted and secure container images are used in your environment.


Container Scanning Overview

Binary Authorization Overview

Get Premium Professional Cloud Security Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
35 comments · newest first
JE
Jerry 10 months ago
C is important too, but can we really sanitize all training data effectively?
VI
Viki 10 months ago
I agree, vulnerability scanning is crucial!
MO
Moon 11 months ago
Limiting dependencies is good, but B is definitely the way to go!
MI
Millie 11 months ago
Wait, are we really at risk of model supply chain attacks?
EL
Elliott 11 months ago
B seems like a solid choice for security.
HE
Hester 11 months ago
I’m leaning towards option B as well. The idea of enforcing Binary Authorization really stood out to me during our practice questions, especially for CI/CD pipelines.
LA
Lai 11 months ago
Option C sounds familiar; I recall we talked about data sanitization and IAM roles. But I wonder if that alone would cover all the risks mentioned in the question.
LU
Luisa 12 months ago
I think limiting external libraries is a good practice, but I feel like it might not be enough on its own. We need to think about the whole pipeline security.
EM
Emeline 12 months ago
I remember we discussed the importance of vulnerability scanning in our last study session. It seems like option B might be the right choice, but I'm not entirely sure.
GL
Glenn 12 months ago
Whoa, this is a lot to consider. Sanitizing training data and using IAM for authorization are important, but I'm not sure if that fully addresses the supply chain risks mentioned in the question. I'll need to think this through carefully.
LA
Lavera 1 year ago
Okay, I think I've got a handle on this. Enabling container image scanning and enforcing Binary Authorization seems like a solid way to secure the CI/CD pipeline. I'll make sure to highlight that in my answer.
MI
Minna 1 year ago
Hmm, this is a tricky one. I'm not entirely sure about the best approach, but limiting external dependencies and rotating encryption keys sounds like a good start to enhance security. I'll need to review the other options as well.
AN
Andrew 1 year ago
This question seems to cover a lot of different security considerations for the ML model development and deployment pipeline. I'll need to carefully read through the options and think about the key risks and mitigation strategies.
DE
Detra 1 year ago
Thoroughly sanitizing training data and using IAM for authorization are crucial too.
CA
Catarina 1 year ago
Option C is interesting, but sanitizing training data alone won't cut it. We need to secure the entire pipeline, from development to deployment.
VI
Virgie 1 year ago
Yes, that would help secure our CI/CD pipeline.
YU
Yuette 1 year ago
Haha, I'd love to see the firewall rules that can stop a determined hacker from breaking into a Pub/Sub queue. Option D is a bit overkill, don't you think?
MA
Malcolm 1 year ago
↳ replying to Yuette
Yeah, security is always a top priority, especially when dealing with sensitive data in a serverless architecture.
KA
Kayleigh 1 year ago
↳ replying to Yuette
Limiting external libraries and continuously rotating encryption keys could also help mitigate risks.
RO
Rosendo 1 year ago
↳ replying to Yuette
True, it's important to consider all possible vulnerabilities and take necessary precautions.
KA
Kanisha 1 year ago
↳ replying to Yuette
I agree, maybe a combination of options A and B would provide a good balance of security measures.
SA
Sarina 1 year ago
↳ replying to Yuette
Option D does seem a bit extreme, but it's better to be safe than sorry.
BE
Becky 1 year ago
↳ replying to Yuette
I agree, we should consider a combination of options to enhance security.
TH
Theodora 1 year ago
↳ replying to Yuette
Option D might be overkill, but it's better to be safe than sorry.
AL
Aleta 1 year ago
I believe enabling container image vulnerability scanning and enforcing Binary Authorization is also important.
JA
Javier 1 year ago
I agree with Virgie. That sounds like a good security measure.
VI
Virgie 1 year ago
I think we should limit external libraries and rotate encryption keys.
QU
Quentin 1 year ago
I agree, option B is the most comprehensive solution to address the ML supply chain risks. Limiting dependencies and rotating keys are also good practices.
SH
Sharee 1 year ago
↳ replying to Quentin
C) Thoroughly sanitize all training data prior to model development to reduce risk of poisoning attacks. Use IAM for authorization, and apply role-based restrictions to code repositories and cloud services.
KI
Kimbery 1 year ago
↳ replying to Quentin
A) Limit external libraries and dependencies that are used for the ML models as much as possible. Continuously rotate encryption keys that are used to access the user data from BigQuery and Cloud Storage.
EL
Elmira 1 year ago
↳ replying to Quentin
B) Enable container image vulnerability scanning during development and pre-deployment. Enforce Binary Authorization on images deployed from Artifact Registry to your continuous integration and continuous deployment (CI/CD) pipeline.
ER
Ernest 1 year ago
Option B seems like the way to go. Scanning containers and enforcing authorization on image deployment is crucial for securing the ML pipeline.
AL
Alisha 1 year ago
↳ replying to Ernest
A) Limit external libraries and dependencies that are used for the ML models as much as possible. Continuously rotate encryption keys that are used to access the user data from BigQuery and Cloud Storage.
KI
Kimi 1 year ago
↳ replying to Ernest
C) Thoroughly sanitize all training data prior to model development to reduce risk of poisoning attacks. Use IAM for authorization, and apply role-based restrictions to code repositories and cloud services.
CA
Carey 1 year ago
↳ replying to Ernest
B) Enable container image vulnerability scanning during development and pre-deployment. Enforce Binary Authorization on images deployed from Artifact Registry to your continuous integration and continuous deployment (CI/CD) pipeline.
0/2000 characters

Save Cancel