Your company has an application running as a Deployment in a Google Kubernetes Engine (GKE) cluster. When releasing new versions of the application via a rolling deployment, the team has been causing outages. The root cause of the outages is misconfigurations with parameters that are only used in production. You want to put preventive measures for this in the platform to prevent outages. What should you do?
Correct Answer: A
Configuring the right liveness and readiness probes prevents outages when rolling out a new ReplicaSet of a Deployment, because Pods are only getting traffic when they are considered ready. https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-setting- up-health-checks-with-readiness-and-liveness-probes
Question 177
Your company captures all web traffic data in Google Analytics 260 and stores it in BigQuery. Each country has its own dataset. Each dataset has multiple tables. You want analysts from each country to be able to see and query only the data for their respective countries. How should you configure the access rights?
Correct Answer: B
Question 178
Your customer wants to do resilience testing of their authentication layer. This consists of a regional managed instance group serving a public REST API that reads from and writes to a Cloud SQL instance. What should you do?
Correct Answer: A
Question 179
For this question, refer to the Mountkirk Games case study. Mountkirk Games wants to set up a continuous delivery pipeline. Their architecture includes many small services that they want to be able to update and roll back quickly. Mountkirk Games has the following requirements: * Services are deployed redundantly across multiple regions in the US and Europe. * Only frontend services are exposed on the public internet. * They can provide a single frontend IP for their fleet of services. * Deployment artifacts are immutable. Which set of products should they use?
Correct Answer: C
Topic 3, JencoMart Case Study Company Overview JencoMart is a global retailer with over 10,000 stores in 16 countries. The stores carry a range of goods, such as groceries, tires, and jewelry. One of the company's core values is excellent customer service. In addition, they recently introduced an environmental policy to reduce their carbon output by 50% over the next 5 years. Company Background JencoMart started as a general store in 1931, and has grown into one of the world's leading brands known for great value and customer service. Over time, the company transitioned from only physical stores to a stores and online hybrid model, with 25% of sales online. Currently, JencoMart has little presence in Asia, but considers that market key for future growth. Solution Concept JencoMart wants to migrate several critical applications to the cloud but has not completed a technical review to determine their suitability for the cloud and the engineering required for migration. They currently host all of these applications on infrastructure that is at its end of life and is no longer supported. Existing Technical Environment JencoMart hosts all of its applications in 4 data centers: 3 in North American and 1 in Europe, most applications are dual-homed. JencoMart understands the dependencies and resource usage metrics of their on-premises architecture. Application Customer loyalty portal LAMP (Linux, Apache, MySQL and PHP) application served from the two JencoMart-owned U.S. data centers. Database * Oracle Database stores user profiles * 20 TB * Complex table structure * Well maintained, clean data * Strong backup strategy * PostgreSQL database stores user credentials * Single-homed in US West No redundancy Backed up every 12 hours * 100% uptime service level agreement (SLA) * Authenticates all users Compute * 30 machines in US West Coast, each machine has: Twin, dual core CPUs 32GB of RAM * Twin 250 GB HDD (RAID 1) * 20 machines in US East Coast, each machine has: Single dual-core CPU 24 GB of RAM * Twin 250 GB HDD (RAID 1) Storage * Access to shared 100 TB SAN in each location * Tape backup every week Business Requirements * Optimize for capacity during peak periods and value during off-peak periods * Guarantee service availably and support * Reduce on-premises footprint and associated financial and environmental impact. * Move to outsourcing model to avoid large upfront costs associated with infrastructure purchase * Expand services into Asia. Technical Requirements * Assess key application for cloud suitability. * Modify application for the cloud. * Move applications to a new infrastructure. * Leverage managed services wherever feasible * Sunset 20% of capacity in existing data centers * Decrease latency in Asia CEO Statement JencoMart will continue to develop personal relationships with our customers as more people access the web. The future of our retail business is in the global market and the connection between online and in-store experiences. As a large global company, we also have a responsibility to the environment through 'green' initiatives and polices. CTO Statement The challenges of operating data centers prevents focus on key technologies critical to our long-term success. Migrating our data services to a public cloud infrastructure will allow us to focus on big data and machine learning to improve our service customers. CFO Statement Since its founding JencoMart has invested heavily in our data services infrastructure. However, because of changing market trends, we need to outsource our infrastructure to ensure our long-term success. This model will allow us to respond to increasing customer demand during peak and reduce costs.
Question 180
Your organization requires that metrics from all applications be retained for 5 years for future analysis in possible legal proceedings. Which approach should you use?
Correct Answer: B
Explanation https://cloud.google.com/monitoring/api/v3/metrics Stackdriver Logging provides you with the ability to filter, search, and view logs from your cloud and open source application services. Allows you to define metrics based on log contents that are incorporated into dashboards and alerts. Enables you to export logs to BigQuery, Google Cloud Storage, and Pub/Sub. References: https://cloud.google.com/stackdriver/