Professional Cloud Security Engineer Practice Exam — Free Online
QuestionQ1
Configuring access
Save question
Your organization has engaged a small, temporary partner team for 18 months. The temporary team will work with your DevOps team to develop your organization’s application hosted on Google Cloud. You must grant the temporary partner team access to your application’s Google Cloud resources and ensure partner employees lose that access if they are removed from their employer’s organization. What should you do?
ACreate a temporary username and password for the temporary partner team members. Auto-clean the usernames and passwords after the work engagement has ended.
BCreate a workforce identity pool and federate the identity pool with the identity provider (IdP) of the temporary partner team.
CImplement just-in-time privileged access to Google Cloud for the temporary partner team.
DAdd the identities of the temporary partner team members to your identity provider (IdP).
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ2
Configuring access
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ3
Managing operations
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ4
Supporting compliance requirements
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ5
Securing communications and establishing boundary protection
0
Community Discussion
No comments yet. Be the first to start the discussion!
It's free
100% of the questions are free for all users. No strings attached.
Your security team wants to lower the risk that user-managed keys are mishandled or compromised. To do this, you must stop developers from creating user-managed service account keys for projects in their organization. How should this be enforced?
AConfigure Secret Manager to manage service account keys.
BEnable an organization policy to disable service accounts from being created.
CEnable an organization policy to prevent service account keys from being created.
DRemove the iam.serviceAccounts.getAccessToken permission from users.
Your organization uses Vertex AI Workbench Instances. You must ensure that newly deployed Instances are automatically kept current and that users cannot inadvertently change operating-system settings. What should you do?
AEnforce the disableRootAccesa and requireAutoUpgradeSchedule organization policies for newly deployed Instances.
BEnable the VM Manager and ensure the corresponding Google Compute Engine instances are added.
CImplement a firewall rule that prevents Secure Shell access to the corresponding Google Compute Engine instances by using tags.
DAssign the AI Notebooks Runner and AI Notebooks Viewer roles to the users of the AI Workbench Instances.
You work for a multinational organization with systems deployed across multiple cloud providers, including Google Cloud. Your organization operates an extensive on-premises security information and event management (SIEM) system. New security-compliance regulations require relevant Google Cloud logs to be seamlessly integrated with the existing SIEM, providing a unified view of security events.
You need to implement a solution that exports Google Cloud logs to the on-premises SIEM using a push-based, near-real-time approach. You must prioritize fault tolerance, security, and autoscaling capabilities. In particular, you must ensure that logs are resent if a log delivery fails. What should you do?
ACreate a Pub/Sub topic for log aggregation. Write a custom Python script on a Cloud Function Leverage the Cloud Logging API to periodically pull logs from Google Cloud and forward the logs to the SIEM. Schedule the Cloud Function to run twice per day.
BCollect all logs into an organization-level aggregated log sink and send the logs to a Pub/Sub topic. Implement a primary Dataflow pipeline that consumes logs from this Pub/Sub topic and delivers the logs to the SIEM. Implement a secondary Dataflow pipeline that replays failed messages.
CDeploy a Cloud Logging sink with a filter that routes all logs directly to a syslog endpoint. The endpoint is based on a single Compute Engine hosted on Google Cloud that routes all logs to the on-premises SIEM. Implement a Cloud Function that triggers a retry action in case of failure.
DUtilize custom firewall rules to allow your SIEM to directly query Google Cloud logs. Implement a Cloud Function that notifies the SIEM of a failed delivery and triggers a retry action.
Your organization is moving to Google Cloud. You need to ensure that only trusted container images are deployed to Google Kubernetes Engine (GKE) clusters in a project. Containers must be deployed from a centrally managed Container Registry and be signed by a trusted authority.
What should you do?
Choose two
AEnable Container Threat Detection in the Security Command Center (SCC) for the project.
BConfigure the trusted image organization policy constraint for the project.
CCreate a custom organization policy constraint to enforce Binary Authorization for Google Kubernetes Engine (GKE).
DEnable PodSecurity standards, and set them to Restricted.
EConfigure the Binary Authorization policy with respective attestations for the project.
QuestionQ6
Securing communications and establishing boundary protection
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ7
Securing communications and establishing boundary protection
QuestionQ8
Securing communications and establishing boundary protection
QuestionQ9
Ensuring data protection
QuestionQ10
Ensuring data protection
QuestionQ11
Configuring access
QuestionQ12
Configuring access
QuestionQ13
Ensuring data protection
QuestionQ14
Ensuring data protection
QuestionQ15
Securing communications and establishing boundary protection
QuestionQ16
Ensuring data protection
QuestionQ17
Supporting compliance requirements
QuestionQ18
Supporting compliance requirements
QuestionQ19
Securing communications and establishing boundary protection
QuestionQ20
Supporting compliance requirements
QuestionQ21
Securing communications and establishing boundary protection
QuestionQ22
Securing communications and establishing boundary protection
QuestionQ23
Ensuring data protection
QuestionQ24
Ensuring data protection
QuestionQ25
Configuring access
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Ad
Want a break from the ads?
Go ad-free and unlock Learn Mode, Exam Mode, AstroTutor AI and every premium tool — everything you need to walk in prepared, and confident.
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
You are directing all internet-facing traffic from Google Cloud through your on-premises internet connection. You want to achieve this securely while providing the highest possible bandwidth.
What should you do?
ACreate an HA VPN connection to Google Cloud. Replace the default 0.0.0.0/0 route.
BCreate a routing VM in Compute Engine. Configure the default route with the VM as the next hop.
CConfigure Cloud Interconnect with HA VPN. Replace the default 0.0.0.0/0 route to an on-premises destination.
DConfigure Cloud Interconnect and route traffic through an on-premises firewall.
You are diagnosing access-denied errors between Compute Engine instances connected to a Shared VPC and BigQuery datasets. The datasets are in a project protected by a VPC Service Controls perimeter. What should you do?
AAdd the host project containing the Shared VPC to the service perimeter.
BAdd the service project where the Compute Engine instances reside to the service perimeter.
CCreate a service perimeter between the service project where the Compute Engine instances reside and the host project that contains the Shared VPC.
DCreate a perimeter bridge between the service project where the Compute Engine instances reside and the perimeter that contains the protected BigQuery datasets.
You have a highly sensitive BigQuery workload containing personally identifiable information (PII), and you need to ensure it cannot be accessed from the internet. To prevent data exfiltration, only requests originating from authorized IP addresses may query your BigQuery tables.
What should you do?
AUse service perimeter and create an access level based on the authorized source IP address as the condition.
BUse Google Cloud Armor security policies defining an allowlist of authorized IP addresses at the global HTTPS load balancer.
CUse the Restrict Resource Service Usage organization policy constraint along with Cloud Data Loss Prevention (DLP).
DUse the Restrict allowed Google Cloud APIs and services organization policy constraint along with Cloud Data Loss Prevention (DLP).
Your company’s Chief Information Security Officer (CISO) establishes a requirement that business data be stored in specified locations because regulatory requirements affect the company’s global-expansion plans. After working through the implementation details for this requirement, you determine the following:
The services in scope are covered by the Google Cloud Data Residency Terms.
The business data remains in specific locations within the same organization.
The folder structure can include multiple data-residency locations.
You plan to use the Resource Location Restriction organization policy constraint. At which level of the resource hierarchy should you configure the constraint?
AFolder
BResource
CProject
DOrganization
A retail customer lets users upload comments and product reviews. The customer needs to ensure the text contains no sensitive data before the comments or reviews are published.
Which Google Cloud service should be used to accomplish this?
ACloud Key Management Service
BCloud Data Loss Prevention API
CBigQuery
DWeb Security Scanner
A company permits every employee to use Google Cloud Platform. Every department has a Google Group that includes all members of that department. When a department member creates a new project, every member of that department must automatically receive read-only access to all resources in the new project. Members of other departments must not be able to access that project. You need to configure this behavior.
What should you do to satisfy these requirements?
ACreate a Folder per department under the Organization. For each department's Folder, assign the Project Viewer role to the Google Group related to that department.
BCreate a Folder per department under the Organization. For each department's Folder, assign the Project Browser role to the Google Group related to that department.
CCreate a Project per department under the Organization. For each department's Project, assign the Project Viewer role to the Google Group related to that department.
DCreate a Project per department under the Organization. For each department's Project, assign the Project Browser role to the Google Group related to that department.
Your organization uses Active Directory and wants to configure Security Assertion Markup Language (SAML). You must configure and enforce single sign-on (SSO) for every user.
What should you do?
A
Create a new SAML profile.2. Populate the sign-in and sign-out page URLs.3. Upload the X.509 certificate.4. Configure Entity ID and ACS URL in your IdP.
B
Configure prerequisites for OpenID Connect (OIDC) in your Active Directory (AD) tenant.2. Verify the AD domain.3. Decide which users should use SAML.4. Assign the pre-configured profile to the select organizational units (OUs) and groups.
C
Create a new SAML profile.2. Upload the X.509 certificate.3. Enable the change password URL.4. Configure Entity ID and ACS URL in your IdP.
D
Manage SAML profile assignments.2. Enable OpenID Connect (OIDC) in your Active Directory (AD) tenant.3. Verify the domain.
Your organization is building a sophisticated machine learning (ML) model that predicts customer behavior for targeted marketing campaigns. The BigQuery dataset used for training contains sensitive personal information. You must design security controls for the AI/ML pipeline. Data privacy must be preserved throughout the model’s lifecycle, and personal data must not be used during training. You must also limit dataset access to only an authorized subset of people. What should you do?
ADe-identify sensitive data before model training by using Cloud Data Loss Prevention (DLP)APIs. and implement strict Identity and Access Management (IAM) policies to control access to BigQuery.
BImplement Identity-Aware Proxy to enforce context-aware access to BigQuery and models based on user identity and device.
CImplement at-rest encryption by using customer-managed encryption keys (CMEK) for the pipeline. Implement strict Identity and Access Management (IAM) policies to control access to BigQuery.
DDeploy the model on Confidential VMs for enhanced protection of data and code while in use. Implement strict Identity and Access Management (IAM) policies to control access to BigQuery.
You are backing up application logs to a shared Cloud Storage bucket that both the administrator and analysts can access. Analysts must not be able to access logs containing any personally identifiable information (PII). Logs that contain PII must be stored in a separate bucket accessible only to the administrator. What should you do?
AUpload the logs to both the shared bucket and the bucket with PII that is only accessible to the administrator. Use the Cloud Data Loss Prevention API to create a job trigger. Configure the trigger to delete any files that contain PII from the shared bucket.
BOn the shared bucket, configure Object Lifecycle Management to delete objects that contain PII.
COn the shared bucket, configure a Cloud Storage trigger that is only triggered when PII is uploaded. Use Cloud Functions to capture the trigger and delete the files that contain PII.
DUse Pub/Sub and Cloud Functions to trigger a Cloud Data Loss Prevention scan every time a file is uploaded to the administrator's bucket. If the scan does not detect PII, have the function move the objects into the shared Cloud Storage bucket.
Your organization has recently experienced several DDoS attacks. You need to authenticate responses to domain-name lookups. Which Google Cloud service should you use?
ACloud DNS with DNSSEC
BCloud NAT
CHTTP(S) Load Balancing
DGoogle Cloud Armor
A company uses Google Kubernetes Engine (GKE) with container images for a mission-critical application. The company wants to scan these images for known security vulnerabilities and securely share the report with the security team without exposing it outside Google Cloud.
What should you do?
A
Enable Container Threat Detection in the Security Command Center Premium tier.2. Upgrade all clusters that are not on a supported version of GKE to the latest possible GKE version.3. View and share the results from the Security Command Center.
B
Use an open source tool in Cloud Build to scan the images.2. Upload reports to publicly accessible buckets in Cloud Storage by using gsutil.3. Share the scan report link with your security department.
C
Enable vulnerability scanning in the Artifact Registry settings.2. Use Cloud Build to build the images.3. Push the images to the Artifact Registry for automatic scanning.4. View the reports in the Artifact Registry.
D
Get a GitHub subscription.2. Build the images in Cloud Build and store them in GitHub for automatic scanning.3. Download the report from GitHub and share with the Security Team.
You created an OS image hardened to your organization’s security standards and stored it in a project managed by the security team. As a Google Cloud administrator, you must ensure that every VM in your Google Cloud organization can use only that specific OS image while minimizing operational overhead. What should you do?
Choose two
AGrant users the compute.imageUser role in their own projects.
BGrant users the compute.imageUser role in the OS image project.
CStore the image in every project that is spun up in your organization.
DSet up an image access organization policy constraint, and list the security team managed project in the project's allow list.
ERemove VM instance creation permission from users of the projects, and only allow you and your team to create VM instances.
You need to export and audit security logs for Google Cloud console login activity and API calls that change configurations on Google Cloud resources. The export must meet these requirements:
Export the related logs for every project in the Google Cloud organization.
Export logs to an external SIEM in near real time.
What should you do?
Choose two
ACreate a Log Sink at the organization level with a Pub/Sub destination.
BCreate a Log Sink at the organization level with the includeChildren parameter, and set the destination to a Pub/Sub topic.
CEnable Data Access audit logs at the organization level to apply to all projects.
DEnable Google Workspace audit logs to be shared with Google Cloud in the Admin Console.
EEnsure that the SIEM processes the AuthenticationInfo field in the audit log entry to gather identity information.
You need to configure a Cloud Interconnect connection between your company’s on-premises data center and a VPC host network. You want to ensure that on-premises applications can access Google APIs only over Cloud Interconnect, rather than through the public internet. You must use only APIs supported by VPC Service Controls to mitigate the risk of exfiltration to unsupported APIs. How should the network be configured?
AEnable Private Google Access on the regional subnets and global dynamic routing mode.
BCreate a CNAME to map *.googleapis.com to restricted.googleapis.com, and create A records for restricted.googleapis.com mapped to 199.36.153.8/30.
CUse private.googleapis.com to access Google APIs using a set of IP addresses only routable from within Google Cloud, which are advertised as routes over the connection.
DUse restricted googleapis.com to access Google APIs using a set of IP addresses only routable from within Google Cloud, which are advertised as routes over the Cloud Interconnect connection.
To make your company messaging app compliant with FIPS 140-2, a decision was made to use GCP compute and network services. The messaging app architecture includes a Managed Instance Group (MIG) that manages a cluster of Compute Engine instances. The instances use Local SSDs for data caching and UDP for instance-to-instance communication. The app development team is willing to make any changes needed to comply with the standard.
Which option should you recommend to meet the requirements?
AEncrypt all cache storage and VM-to-VM communication using the BoringCrypto module.
BSet Disk Encryption on the Instance Template used by the MIG to customer-managed key and use BoringSSL for all data transit between instances.
CChange the app instance-to-instance communications from UDP to TCP and enable BoringSSL on clients' TLS connections.
DSet Disk Encryption on the Instance Template used by the MIG to Google-managed Key and use BoringSSL library on all instance-to-instance communications.
The company recently enabled Security Command Center at the organization level. You need to implement runtime threat detection for applications running in containers in projects within the production folder. Specifically, you must be notified when additional libraries are loaded or malicious scripts are executed in these running containers. Configure Security Command Center to satisfy this requirement while ensuring that findings are visible in Security Command Center. What should you do?
ACreate log-based metrics and alerts in Cloud Logging and Cloud Monitoring for suspicious container activity within the production folder.
BConfigure Security Health Analytics within Security Command Center to monitor container runtime vulnerabilities in the production folder.
CEnsure that the containers in the production folder are running on hosts that are using Container-Optimized OS.
DEnable Container Threat Detection in Security Command Center Premium tier for the projects within the production folder.
You need to establish a secure internal network in Google Cloud for database servers. The servers must have no direct access to the public internet. What should you do?
AAssign a private IP address to each database server. Use a NAT gateway to provide internet connectivity to the database servers.
BAssign a static public IP address to each database server. Use firewall rules to restrict external access.
CCreate a VPC with a private subnet. Assign a private IP address to each database server.
DAssign both a private IP address and a public IP address to each database server.
An organization is beginning to move its infrastructure from its on-premises environment to Google Cloud Platform (GCP). As its initial step, the organization wants to migrate its ongoing data backup and disaster recovery solutions to GCP. Migration of the organization's on-premises production environment to GCP will be the next phase. Stable network connectivity between the on-premises environment and GCP is also being implemented.
Which GCP solution should the organization use?
ABigQuery using a data pipeline job with continuous updates via Cloud VPN
BCloud Storage using a scheduled task and gsutil via Cloud Interconnect
CCompute Engines Virtual Machines using Persistent Disk via Cloud Interconnect
DCloud Datastore using regularly scheduled batch upload jobs via Cloud VPN
Your organization uses AI to improve products through innovation. The developers want to use Gemini in Vertex AI for a project. You must provide a secure Google Cloud environment that prevents and detects information leakages. What should you do?
ASet up VPC Service Controls perimeters around the Vertex AI project. Enable Data Loss Prevention API for content inspection.
BGrant the developers and AI engineers the Vertex AI User role. Monitor the audit trails with Cloud Logging.
CDeploy Model Armor to protect the Vertex AI endpoint. Review Security Command Center findings to detect information leakages.
DImplement a firewall rule that allows all traffic to and from the Vertex AI API endpoint.
You need to create a VPC that lets the security team control network resources, including firewall rules. How should the network be configured to support separation of duties for network resources?
ASet up multiple VPC networks, and set up multi-NIC virtual appliances to connect the networks.
BSet up VPC Network Peering, and allow developers to peer their network with a Shared VPC.
CSet up a VPC in a project. Assign the Compute Network Admin role to the security team, and assign the Compute Admin role to the developers.
DSet up a Shared VPC where the security team manages the firewall rules, and share the network with developers via service projects.
Community Discussion