Topic 1 Question 62
You want to run a single caching HTTP reverse proxy on GCP for a latency-sensitive website. This specific reverse proxy consumes almost no CPU. You want to have a 30-GB in-memory cache, and need an additional 2 GB of memory for the rest of the processes. You want to minimize cost. How should you run this reverse proxy?
Create a Cloud Memorystore for Redis instance with 32-GB capacity.
Run it on Compute Engine, and choose a custom instance type with 6 vCPUs and 32 GB of memory.
Package it in a container image, and run it on Kubernetes Engine, using n1-standard-32 instances as nodes.
Run it on Compute Engine, choose the instance type n1-standard-1, and add an SSD persistent disk of 32 GB.
ユーザの投票
コメント(17)
Go to cloud console and create instance select Memorystore with Basic tier, select us-central1 and us-central1-a, and capacity 32GB, the cost estimate is $0.023/GB/hr
select VM instance with custom machine type with 6 vCPUs and 32 GB memory, the same region and zone as Memorystore setting, the cost estimate is $0.239/hr
Option B will definitely cost more as it adds on CPU usage cost even it uses little in this scenario, but still charge you. So answer is A from real practice example.
👍 48jzh2020/08/18Correct Answer should be A: The question mention "You want to have a 30-GB in-memory cache, and need an additional 2 GB of memory for the rest of the processes"
What is Google Cloud Memorystore? Overview. Cloud Memorystore for Redis is a fully managed Redis service for Google Cloud Platform. Applications running on Google Cloud Platform can achieve extreme performance by leveraging the highly scalable, highly available, and secure Redis service without the burden of managing complex Redis deployments.
👍 35ESP_SAP2020/08/16- 正解だと思う選択肢: B
MemoryStore Pricing is $0.023/GB/hr, for 32GB means $0.736/hr compares to $0.239/hr. The question states that it needs additional 2GB for it's process, which mean if you choose A, you will need another vm with 2GB ram either.
👍 3kohsiangyu2022/06/20
シャッフルモード