Docsity

Advanced Cloud Engineer IT Professional Program Practice Exam, Exams of Technology

Toggle sidebar
bg1
Advanced Cloud Engineer IT Professional
Program Practice Exam
**Question 1.** Which GCP resource hierarchy level is primarily used to group projects that
share the same billing account?
A) Folder
B) Organization
C) Resource Group
D) VPC
Answer: A
Explanation: Folders sit directly under an Organization and allow grouping of projects for unified
policy and billing management.
**Question 2.** In Terraform, what is the purpose of a “backend” configuration?
A) To define resource dependencies
B) To store the state file remotely
C) To create modules automatically
D) To enforce naming conventions
Answer: B
Explanation: A backend determines where Terraform’s state is stored (e.g., GCS, S3) enabling
collaboration and locking.
**Question 3.** Which AWS feature provides a managed, highly‑available Kubernetes control
plane?
A) Amazon ECS
B) Amazon EKS
C) AWS Fargate
D) Amazon EMR
Answer: B
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c

Partial preview of the text

Download Advanced Cloud Engineer IT Professional Program Practice Exam and more Exams Technology in PDF only on Docsity!

Program Practice Exam

Question 1. Which GCP resource hierarchy level is primarily used to group projects that share the same billing account? A) Folder B) Organization C) Resource Group D) VPC Answer: A Explanation: Folders sit directly under an Organization and allow grouping of projects for unified policy and billing management. Question 2. In Terraform, what is the purpose of a “backend” configuration? A) To define resource dependencies B) To store the state file remotely C) To create modules automatically D) To enforce naming conventions Answer: B Explanation: A backend determines where Terraform’s state is stored (e.g., GCS, S3) enabling collaboration and locking. Question 3. Which AWS feature provides a managed, highly‑available Kubernetes control plane? A) Amazon ECS B) Amazon EKS C) AWS Fargate D) Amazon EMR Answer: B

Program Practice Exam

Explanation: Amazon Elastic Kubernetes Service (EKS) delivers a fully‑managed Kubernetes control plane across multiple AZs. Question 4. In a VPC, which component controls inbound and outbound traffic at the subnet level? A) Security Group B) Firewall Rule C) Network ACL (NACL) D) Route Table Answer: C Explanation: NACLs are stateless subnet‑level ACLs that evaluate traffic both inbound and outbound. Question 5. Which Kubernetes object is best suited for managing a replicated, stateless web service? A) StatefulSet B) DaemonSet C) Deployment D) Job Answer: C Explanation: Deployments manage replica sets for stateless workloads, providing rolling updates and rollbacks. Question 6. What does the “least privilege” principle dictate when designing IAM roles? A) Grant all permissions to administrators only B) Assign users the minimal set of permissions required for their tasks

Program Practice Exam

Question 9. Which Azure load balancer type operates at Layer 7 (application layer) and supports path‑based routing? A) Basic Load Balancer B) Standard Load Balancer C) Application Gateway D) Front Door Answer: C Explanation: Azure Application Gateway is a Layer‑7 load balancer that can route based on URL path, host headers, etc. Question 10. What is the primary benefit of using Horizontal Pod Autoscaler (HPA) in Kubernetes? A) Automatically scales node pool size B) Adjusts pod replica count based on CPU/memory metrics C) Increases pod memory limits on demand D) Enables vertical scaling of containers Answer: B Explanation: HPA watches metrics (CPU, custom) and changes the number of pod replicas to match demand. Question 11. Which AWS feature allows you to create a private connection between your on‑premises data center and a VPC without traversing the internet? A) VPN CloudHub B) Direct Connect C) VPC Peering D) Transit Gateway

Program Practice Exam

Answer: B Explanation: AWS Direct Connect provides dedicated, private network links between on‑premises environments and AWS. Question 12. In GCP, which logging sink type can export logs to BigQuery for advanced analytics? A) Cloud Logging Viewer B) Pub/Sub Topic C) Cloud Storage Bucket D) BigQuery Dataset Answer: D Explanation: A log sink can target a BigQuery dataset, allowing structured log data to be queried with SQL. Question 13. Which Kubernetes security object restricts which pods can communicate with each other? A) RoleBinding B) ServiceAccount C) NetworkPolicy D) PodSecurityPolicy Answer: C Explanation: NetworkPolicy defines allowed inbound/outbound traffic between pods based on labels and namespaces. Question 14. In Terraform, what does the “taint” command do? A) Marks a resource for recreation on next apply

Program Practice Exam

Question 17. Which GCP feature helps you enforce organization‑wide policies such as “disable external IPs on VM instances”? A) Resource Manager B) Cloud Asset Inventory C) Organization Policy Service D) Cloud Scheduler Answer: C Explanation: Organization Policy allows administrators to set constraints that apply across the resource hierarchy. Question 18. In AWS, which IAM entity is recommended for granting permissions to applications running on EC2 instances? A) IAM User B) IAM Group C) IAM Role with Instance Profile D) Access Key Pair Answer: C Explanation: IAM Roles attached to EC2 via instance profiles provide temporary credentials without embedding secrets. Question 19. Which metric is most appropriate for defining a Service Level Objective (SLO) for an API? A) CPU utilization of the API server B) 99th‑percentile latency of API responses C) Number of deployed containers D) Disk read/write IOPS

Program Practice Exam

Answer: B Explanation: Latency percentiles directly reflect user experience and are commonly used to set SLOs for APIs. Question 20. What does “immutable infrastructure” refer to? A) Keeping VMs running forever without updates B) Replacing entire resources rather than patching them in place C) Using only read‑only storage volumes D) Disallowing any changes to IAM policies Answer: B Explanation: Immutable infrastructure means provisioning new instances with the desired state and decommissioning old ones, avoiding in‑place changes. Question 21. Which AWS service provides a managed, serverless data warehouse that can query data stored in S3 using standard SQL? A) Redshift Spectrum B) Athena C) EMR D) RDS Proxy Answer: B Explanation: Amazon Athena allows ad‑hoc SQL queries directly against data in S3 without provisioning servers. Question 22. In GCP, which component of Cloud Armor protects against Layer 7 (application) attacks? A) Network Security Policies

Program Practice Exam

A) Unlimited uptime guarantee B) Higher network bandwidth than standard VMs C) Significantly lower cost with short‑lived lifecycle D) Ability to run Windows Server only Answer: C Explanation: Pre‑emptible VMs are offered at a steep discount but can be terminated after up to 24 hours. Question 26. In AWS, which service records API calls made to supported services for compliance auditing? A) CloudTrail B) Config C) GuardDuty D) Security Hub Answer: A Explanation: CloudTrail logs API activity, providing a comprehensive audit trail. Question 27. Which Terraform construct allows you to reuse a set of resources with variable inputs? A) Provider B) Variable C) Module D) Data Source Answer: C Explanation: Modules encapsulate reusable resource configurations that can be instantiated with different inputs.

Program Practice Exam

Question 28. What does the “PodDisruptionBudget” (PDB) in Kubernetes control? A) Maximum number of pods that can be created per minute B) Minimum number of pods that must remain available during voluntary disruptions C) Total CPU limits for a pod D) Encryption keys for pod secrets Answer: B Explanation: PDB ensures a specified number of pods stay up during node drains or upgrades. Question 29. Which GCP service provides a managed, globally distributed DNS? A) Cloud CDN B) Cloud DNS C) Cloud Load Balancing D) Cloud Interconnect Answer: B Explanation: Cloud DNS is a high‑availability, low‑latency DNS service. Question 30. In Azure, which construct groups related resources for lifecycle management and access control? A) Resource Group B) Subscription C) Management Group D) Tenant Answer: A Explanation: Resource Groups are containers for resources that share lifecycle and permissions.

Program Practice Exam

Answer: A Explanation: Private Google Access enables resources on a VPC without public IPs to reach Google services securely. Question 34. Which Azure service automatically scans container images for known vulnerabilities during CI/CD? A) Azure Security Center B) Azure Container Registry (ACR) Tasks with vulnerability scanning C) Azure Policy D) Azure Monitor Answer: B Explanation: ACR Tasks can be configured to run vulnerability scans on images as they are pushed. Question 35. What does the “error budget” in SRE represent? A) The total number of incidents allowed per month B. The amount of time a service can be unavailable while still meeting its SLO C. The budget allocated for fixing bugs D. The maximum latency threshold for API calls Answer: B Explanation: Error budget = (1 – SLO compliance) * time period; it quantifies permissible unreliability. Question 36. Which GCP tool helps you visualize and manage resource dependencies as a directed graph? A) Cloud Deployment Manager

Program Practice Exam

B) Cloud Asset Inventory C) Cloud Console UI D) Cloud Shell Editor Answer: A Explanation: Deployment Manager uses configuration files that can be visualized as a dependency graph. Question 37. In Kubernetes, which object provides a stable DNS name for a set of pods? A) Service B) ConfigMap C) Secret D) Ingress Answer: A Explanation: A Service creates a virtual IP and DNS entry that load‑balances traffic to its pods. Question 38. Which AWS feature allows you to enforce encryption of EBS volumes at the account level? A) IAM Policy B) Service Control Policy (SCP) C) AWS Config Rule D) KMS Key Policy Answer: B Explanation: SCPs can require that all EBS volumes be encrypted across member accounts in an organization. Question 39. What is a “cold‑standby” disaster‑recovery strategy?

Program Practice Exam

Explanation: Azure Private Link creates a private IP within your VNet that maps to the PaaS resource. Question 42. Which Kubernetes admission controller can enforce that all containers run as non‑root users? A) NamespaceLifecycle B) ImagePolicyWebhook C) PodSecurityPolicy (deprecated) / Pod Security Standards D) ResourceQuota Answer: C Explanation: PodSecurityPolicy (or the newer Pod Security Standards) can require non‑root user IDs for containers. Question 43. Which AWS service helps you detect anomalous API activity using machine learning? A) GuardDuty B) Inspector C) Macie D) WAF Answer: A Explanation: GuardDuty continuously monitors CloudTrail, VPC Flow Logs, and DNS logs to flag suspicious behavior. Question 44. In Terraform, what does the “lifecycle” block with “prevent_destroy = true” do? A) Stops the resource from being updated B) Disallows the resource from being deleted via Terraform

Program Practice Exam

C) Locks the state file for exclusive use D) Forces recreation on every apply Answer: B Explanation: prevent_destroy protects a resource from accidental deletion during plan/apply. Question 45. Which GCP product provides a managed, distributed tracing system for microservices? A) Cloud Trace B) Cloud Profiler C) Cloud Debugger D) Cloud Monitoring Answer: A Explanation: Cloud Trace captures latency data across services, enabling end‑to‑end request tracing. Question 46. What is the primary purpose of an “IAM Condition” in cloud policies? A) To assign multiple roles to a single user B) To apply a policy only when specific attributes (e.g., request time, resource tag) match C) To encrypt IAM credentials D) To create temporary access tokens Answer: B Explanation: IAM Conditions enable context‑aware policies that evaluate attributes like time, IP, or tags. Question 47. In Azure, which feature automatically scales the number of VM instances based on defined metrics?

Program Practice Exam

Explanation: DynamoDB is a fully managed key‑value/Document NoSQL database with automatic scaling. Question 50. What does “Blue/Green deployment” aim to achieve? A) Deploy new code to a subset of users for canary testing B) Simultaneously run two versions and switch traffic after verification C) Roll out updates one pod at a time D) Deploy to a separate region for disaster recovery Answer: B Explanation: Blue/Green maintains two identical environments; traffic is switched to the new (green) after validation. Question 51. In GCP, which service allows you to define firewall rules that apply to all projects within an organization? A) VPC Service Controls B) Cloud Armor C) Organization Policy (constraints) D) Cloud Router Answer: C Explanation: Organization Policy constraints can enforce firewall configurations across the hierarchy. Question 52. Which Azure feature provides a globally distributed, multi‑master database with automatic conflict resolution? A) Azure SQL Database B) Cosmos DB

Program Practice Exam

C) Azure Database for PostgreSQL D) Azure Table Storage Answer: B Explanation: Cosmos DB offers multi‑region writes with turnkey conflict resolution. Question 53. What is the main benefit of using “modules” in Terraform? A) Faster state file synchronization B) Code reusability and encapsulation C) Automatic secret management D) Built‑in testing framework Answer: B Explanation: Modules let you package and reuse infrastructure patterns across multiple configurations. Question 54. In Kubernetes, what does the “ClusterIP” service type expose? A) An external load balancer IP B) A node‑port on each cluster node C) An internal virtual IP reachable only within the cluster D) A headless service without IP Answer: C Explanation: ClusterIP creates an internal IP address that routes traffic only inside the cluster. Question 55. Which AWS tool helps you automate infrastructure provisioning using code written in JSON/YAML? A) CloudFormation