View Full Google Professional Cloud Security Engineer Exam Dumps and Practice Test Dumps.
Question 21
A security engineer needs to restrict access to a Cloud Storage bucket so that only a specific group of employees can access the stored objects. Which approach is most appropriate?
- Make the bucket publicly accessible
- Grant IAM permissions to the appropriate group
- Disable all authentication requirements
- Assign the Storage Admin role to every employee
Correct Answer: 2
Explanation
IAM groups provide an effective way to manage access for multiple users while maintaining centralized authorization. Instead of assigning permissions individually to every employee, the organization can create or use an appropriate group and grant that group the required permissions on the Cloud Storage bucket. This simplifies administration and makes onboarding and offboarding easier because membership changes automatically affect access. Granting the Storage Admin role broadly would provide more privileges than most users require and violate least-privilege principles. Public access should not be used for sensitive information, and disabling authentication removes important security controls. Group-based IAM permissions therefore provide controlled and manageable access.
Question 22
An organization wants to prevent developers from creating Compute Engine instances with external IP addresses. Which Google Cloud feature can enforce this requirement?
- Cloud Monitoring
- Organization Policy Service
- Cloud Trace
- Cloud Scheduler
Correct Answer: 2
Explanation
Organization Policy Service can enforce constraints across Google Cloud resources and prevent configurations that violate organizational security requirements. A suitable organization policy constraint can be used to restrict the use of external IP addresses on supported resources. This provides preventive governance because the restriction is applied when users attempt to create or modify resources rather than relying solely on security teams to discover violations afterward. Cloud Monitoring can report resource conditions but does not provide the same preventive policy enforcement. Cloud Trace focuses on application performance analysis, while Cloud Scheduler executes scheduled jobs. Organization Policy Service is therefore the appropriate mechanism for enforcing this type of centralized infrastructure restriction.
Question 23
A company wants to detect brute-force attempts and suspicious authentication behavior across its cloud environment. Which source should security analysts examine first?
- Audit and authentication logs
- Cloud Storage lifecycle policies
- DNS zone records
- Cloud CDN cache statistics
Correct Answer: 1
Explanation
Authentication and audit logs provide important evidence for detecting suspicious login behavior, repeated failed authentication attempts, unusual account activity, and administrative changes. Security teams can analyze these logs to identify patterns that may indicate credential attacks or compromised accounts. Depending on the environment, logs can be collected centrally and combined with monitoring or detection systems for alerting and investigation. Storage lifecycle policies determine how objects are retained or deleted and are not intended to identify authentication attacks. DNS records provide name-resolution information, while CDN cache statistics primarily describe content delivery behavior. Authentication and audit logs therefore provide the most directly relevant information for investigating potential brute-force activity.
Question 24
A security team wants to allow an application to access only one specific Secret Manager secret. Which IAM design best follows least privilege?
- Grant the application project-wide Owner access
- Grant Secret Manager access only on the required secret
- Grant all employees Secret Manager Admin
- Make the secret publicly accessible
Correct Answer: 2
Explanation
Granting access at the individual secret level allows an application to receive only the permission it actually requires. This is consistent with the principle of least privilege and limits the potential impact if the application’s identity is compromised. Project-wide Owner access would provide extensive permissions unrelated to the application’s task and significantly increase risk. Giving every employee administrative access would similarly expose sensitive secrets unnecessarily. Public access should never be used for confidential credentials. Secret Manager supports IAM-based access control, allowing organizations to carefully define which identities can access specific secrets. Narrow resource-level permissions therefore provide a stronger security design for applications that require access to only selected secrets.
Question 25
An organization wants to keep sensitive workloads isolated from systems that do not require access to them. Which network design principle should be applied?
- Network segmentation
- Open internet routing
- Shared administrator accounts
- Public IP assignment for every workload
Correct Answer: 1
Explanation
Network segmentation separates workloads and services into controlled network zones so that communication can be limited according to business and security requirements. In Google Cloud, segmentation can be implemented using VPC networks, subnets, firewall rules, hierarchical firewall policies, and other controls. This approach reduces unnecessary connectivity and can limit the potential movement of an attacker if one workload becomes compromised. Providing every workload with public IP addresses generally increases exposure and is not required for many architectures. Shared administrative identities also weaken accountability. Network segmentation should therefore be combined with least-privilege access controls and appropriate monitoring to create layered defenses around sensitive workloads.
Question 26
A company wants to securely store database passwords and API credentials used by applications. Which Google Cloud service should be used?
- Cloud Storage
- Secret Manager
- Cloud DNS
- Cloud CDN
Correct Answer: 2
Explanation
Secret Manager is designed to securely store, manage, and control access to sensitive values such as passwords, API keys, certificates, and other application credentials. Applications can retrieve secrets when needed without embedding sensitive values directly into source code or configuration files. IAM controls can be used to restrict which identities can access individual secrets, while secret versions support controlled updates and rotation workflows. Cloud Storage is intended for object storage, Cloud DNS manages DNS information, and Cloud CDN accelerates content delivery. Storing credentials in source code or ordinary configuration files can result in accidental exposure. Secret Manager therefore provides a purpose-built solution for managing application secrets securely.
Question 27
A security engineer wants to ensure that a service account cannot be used by unauthorized users to impersonate it. Which practice is most appropriate?
- Grant broad Service Account User permissions
- Restrict service account impersonation permissions
- Publish the service account email publicly
- Give all developers Owner access
Correct Answer: 2
Explanation
Service account impersonation should be tightly controlled because users or workloads that can impersonate a service account may effectively obtain the permissions assigned to that service account. Administrators should grant impersonation-related IAM permissions only to identities that genuinely require them and should regularly review these permissions. Broad Service Account User access can allow unnecessary users to act as privileged workloads. Publishing an email address does not itself provide authorization, but excessive permissions associated with the identity can create security risks. Owner access is also unnecessarily broad. Restricting impersonation permissions supports least privilege and helps prevent unauthorized identities from acquiring the privileges associated with sensitive service accounts.
Question 28
An organization needs to continuously monitor its Google Cloud environment for security misconfigurations and vulnerabilities. Which service provides centralized security posture visibility?
- Security Command Center
- Cloud Translation
- Cloud Scheduler
- Cloud Spanner
Correct Answer: 1
Explanation
Security Command Center provides centralized visibility into security posture, vulnerabilities, threats, and other security findings across Google Cloud environments. It can help security teams identify configuration weaknesses and prioritize issues that require investigation or remediation. By aggregating findings from supported security capabilities, it provides a more consolidated view than checking individual services independently. Cloud Translation is a language service, Cloud Scheduler manages scheduled jobs, and Cloud Spanner is a globally distributed database service. Security Command Center is therefore suited to organizations that need ongoing security posture monitoring and centralized security findings. Security teams can use these findings alongside IAM, organization policies, logging, and other controls to improve overall security management.
Question 29
A company wants to ensure that logs containing sensitive information are retained according to a specific compliance requirement. Which Google Cloud capability can help control log retention?
- Cloud Logging
- Cloud NAT
- Cloud VPN
- Cloud DNS
Correct Answer: 1
Explanation
Cloud Logging provides controls for storing, routing, and managing logs, including retention configurations for supported log buckets. Organizations can define appropriate retention periods according to operational, security, or compliance requirements. Logs can also be routed to other supported destinations when longer-term retention or specialized analysis is required. Cloud NAT provides outbound network translation, Cloud VPN establishes encrypted network connectivity, and Cloud DNS manages domain resolution. Security teams should carefully design log retention because keeping logs too briefly can hinder investigations, while retaining sensitive logs indefinitely may create unnecessary exposure or compliance concerns. Cloud Logging therefore provides the relevant foundation for implementing controlled log retention strategies.
Question 30
A company wants to ensure that only encrypted connections are allowed when users access an internet-facing application. Which approach should the security engineer implement?
- Require HTTPS using TLS
- Disable encryption
- Use unencrypted HTTP only
- Store credentials in URL parameters
Correct Answer: 1
Explanation
HTTPS uses TLS to encrypt communication between clients and an application, helping protect sensitive information from interception or unauthorized modification while it travels across networks. Requiring HTTPS is particularly important for applications that process authentication credentials, personal information, payment data, or other sensitive content. Organizations should also configure appropriate TLS settings, certificates, and security policies to reduce exposure to weak protocols and configurations. Unencrypted HTTP does not provide confidentiality or integrity protection. Storing credentials in URL parameters can also expose sensitive information through logs, browser history, and other systems. Requiring HTTPS with properly configured TLS is therefore a fundamental transport-security control for internet-facing applications.
Question 31
A security engineer needs to identify which Google Cloud resources are using a particular service account before changing its permissions. Which information source is useful for this investigation?
- IAM and resource configuration information
- Cloud CDN cache data
- DNS TXT records only
- Cloud Storage object metadata only
Correct Answer: 1
Explanation
IAM and resource configuration information can help administrators determine how service accounts are assigned and where they are being used. Before modifying or disabling a service account, security teams should understand its dependencies so that legitimate workloads are not accidentally disrupted. Reviewing IAM policies, service account assignments, workload configurations, and relevant audit information can provide useful context. CDN cache data and DNS records generally do not identify which workloads are associated with a particular Google Cloud service account. Cloud Storage object metadata also does not provide a complete view of service account usage across an environment. Careful dependency analysis supports secure identity lifecycle management and reduces the risk of unintended service interruptions.
Question 32
An organization wants to reduce the risk of sensitive data being copied from a protected Google Cloud service to an external location. Which security control is specifically designed for this concern?
- VPC Service Controls
- Cloud Scheduler
- Cloud CDN
- Cloud Trace
Correct Answer: 1
Explanation
VPC Service Controls are designed to establish security perimeters around supported Google Cloud services and help reduce the risk of data exfiltration. They can restrict how resources and identities interact with protected services based on perimeter and access configurations. This adds a security layer beyond traditional IAM authorization. IAM answers questions about who is allowed to access a resource, while VPC Service Controls can help control the context and boundaries from which access occurs. Cloud Scheduler manages scheduled jobs, Cloud CDN improves content delivery, and Cloud Trace provides application tracing. VPC Service Controls are therefore particularly relevant when the security requirement focuses on limiting unauthorized movement of sensitive data outside defined service boundaries.
Question 33
A development team wants to prevent vulnerabilities from being introduced through third-party software dependencies. Which security practice should be integrated into the software development lifecycle?
- Dependency and vulnerability scanning
- Disable all code reviews
- Use unverified packages without inspection
- Give developers unrestricted production access
Correct Answer: 1
Explanation
Dependency and vulnerability scanning helps development and security teams identify known security issues in third-party libraries and software components before those components reach production. Modern applications frequently depend on open-source packages, so monitoring these dependencies is an important part of software supply-chain security. Vulnerability scanning can identify components associated with known vulnerabilities and provide information that helps teams update or replace risky dependencies. Disabling code reviews and using unverified packages increase the potential for vulnerabilities to enter the environment. Unrestricted production access also increases the impact of mistakes or compromised accounts. Integrating dependency analysis into the software development lifecycle supports earlier identification and remediation of software supply-chain risks.
Question 34
A security team wants to limit which IP ranges can communicate with a Compute Engine instance. Which Google Cloud control should be configured?
- VPC firewall rules
- Cloud KMS
- Secret Manager
- Cloud Scheduler
Correct Answer: 1
Explanation
VPC firewall rules can control network traffic based on source or destination ranges, protocols, ports, direction, and applicable targets. By defining appropriate rules, security engineers can allow communication only from trusted IP ranges and block unwanted traffic. This supports network segmentation and reduces the attack surface of Compute Engine workloads. Cloud KMS manages cryptographic keys, Secret Manager stores sensitive application secrets, and Cloud Scheduler executes scheduled tasks. Firewall rules should be designed carefully so that legitimate application dependencies remain available while unnecessary network paths are restricted. Combining firewall controls with identity-based authorization, logging, and monitoring provides a stronger defense than relying on network restrictions alone.
Question 35
An organization wants to detect suspicious activity involving its Google Cloud resources and receive security findings from supported detection services. Which service should be used as a central security platform?
- Security Command Center
- Cloud DNS
- Cloud SQL
- Cloud Storage Transfer Service
Correct Answer: 1
Explanation
Security Command Center acts as a centralized security platform that provides visibility into vulnerabilities, threats, misconfigurations, and other security findings across supported Google Cloud resources. It can integrate findings from various security capabilities, allowing security teams to investigate issues from a more centralized interface. This can improve security operations by reducing the need to inspect every service independently. Cloud DNS provides domain name management, Cloud SQL provides managed relational databases, and Storage Transfer Service is designed to move data between supported storage systems. Security Command Center is therefore appropriate when an organization needs centralized security findings and a broader view of its cloud security posture.
Question 36
A company wants to make sure that users cannot accidentally grant public IAM access to sensitive cloud resources. Which organizational control can help enforce this requirement?
- Organization Policy constraints
- Cloud Trace
- Cloud CDN
- Cloud Scheduler
Correct Answer: 1
Explanation
Organization Policy Service can establish centralized constraints that apply across projects and folders, helping organizations enforce security requirements consistently. Where supported, policies can restrict configurations that would expose resources publicly or otherwise violate organizational security standards. This provides a preventive control that reduces reliance on manual reviews after configuration changes have already occurred. Cloud Trace is intended for application tracing, Cloud CDN provides content caching and delivery, and Cloud Scheduler runs scheduled tasks. Organization-level policies are particularly valuable in large environments because they allow security administrators to establish guardrails that apply consistently across multiple projects instead of relying on individual project administrators to remember every security requirement.
Question 37
A security engineer needs to provide temporary access to a resource without creating a permanent privileged identity. Which approach is most appropriate?
- Use short-lived credentials or temporary access mechanisms
- Create a permanent Owner account
- Share a long-lived administrator password
- Store credentials in a public repository
Correct Answer: 1
Explanation
Short-lived credentials and temporary access mechanisms reduce the amount of time that privileged access remains valid. This limits the potential impact if credentials are exposed and reduces the need to maintain long-lived secrets. Google Cloud provides several identity and access mechanisms that can support temporary or short-lived authentication depending on the workload and use case. Creating permanent Owner accounts or sharing long-lived administrator passwords significantly increases security risk and makes access management more difficult. Publicly storing credentials creates an especially serious exposure risk. Temporary access should also be logged and appropriately scoped so that users receive only the permissions required for the specific task they need to perform.
Question 38
A company wants to protect a Cloud Storage bucket from accidental deletion of important objects while maintaining normal application access. Which feature can provide additional protection against object deletion?
- Object Versioning
- Cloud NAT
- Cloud VPN
- Cloud Router
Correct Answer: 1
Explanation
Cloud Storage Object Versioning preserves older versions of objects when objects are replaced or deleted, depending on the operation and bucket configuration. This can provide an additional recovery mechanism when important data is accidentally overwritten or deleted. Versioning should be combined with appropriate retention and lifecycle policies because retaining every historical version indefinitely can increase storage costs. Cloud NAT provides outbound network address translation, Cloud VPN establishes encrypted network connectivity, and Cloud Router manages dynamic route exchange. Object Versioning does not replace backups or access controls, but it can significantly improve resilience against certain accidental or unwanted object changes when configured appropriately.
Question 39
A security team wants to separate duties so that the person who manages encryption keys does not automatically have permission to use those keys to decrypt application data. What security principle is being applied?
- Separation of duties
- Public access
- Shared administration
- Anonymous authorization
Correct Answer: 1
Explanation
Separation of duties divides sensitive responsibilities among different identities so that no single person or role automatically controls every part of a critical process. In key management, an organization may separate key administration from key usage to reduce the possibility of unauthorized access or misuse. IAM permissions can be designed so that administrators can manage key configuration while other authorized identities receive permissions required for cryptographic operations. This arrangement creates an additional security barrier and improves accountability. Shared administration and anonymous authorization weaken identity controls, while public access is inappropriate for sensitive cryptographic resources. Separation of duties is therefore an important principle for protecting high-value security functions.
Question 40
A company wants to investigate whether a user changed IAM permissions on a production project. Which log information should the security engineer review?
- Admin Activity audit logs
- CDN cache statistics
- Cloud DNS query cache only
- Storage lifecycle reports
Correct Answer: 1
Explanation
Admin Activity audit logs record administrative actions performed on Google Cloud resources, including many changes to configurations and access policies. Reviewing these logs can help security teams determine whether an IAM policy was modified, identify the principal responsible for the operation, and establish when the change occurred. This information can be valuable during security investigations and compliance reviews. CDN cache statistics describe content delivery behavior, DNS information focuses on name resolution, and storage lifecycle reports concern object management. When investigating changes to IAM permissions, Admin Activity audit logs provide the most directly relevant evidence and should be examined alongside other available security and identity information.