Question 46
You are running a critical application in Kubernetes tnat requires nign availability and IOW latency. The application uses a statefulset With 3 replicas, each consuming a large amount of memory. You need to define resource requests and limits for the pods to ensure that the application operates smoothly and doesn't get evicted due to resource constraints.
Question 47
You are designing a container image for a Pytnon application tnat uses a specific version of a Pytnon library C requests'). You want to ensure that this specific library version is always used, regardless of the host system's installed version. Explain how you would achieve this within your Docket-file.
Question 48

Context
Your application's namespace requires a specific service account to be used.
Task
Update the app-a deployment in the production namespace to run as the restrictedservice service account. The service account has already been created.
Question 49
You have a microservice application that relies on a Redis cacne for data retrieval. Design a multi-container Pod that incorporates a Redis sidecar container to provide local caching within the Pod. Ensure that the main application container can access the Redis sidecar container within the same Pod Namespace Without needing to communicate with an external Redis cluster.
Question 50
Refer to Exhibit.

Task:
1) Create a secret named app-secret in the default namespace containing the following single key-value pair:
Key3: value1
2) Create a Pod named ngnix secret in the default namespace.Specify a single container using the nginx:stable image.
Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.

Task:
1) Create a secret named app-secret in the default namespace containing the following single key-value pair:
Key3: value1
2) Create a Pod named ngnix secret in the default namespace.Specify a single container using the nginx:stable image.
Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.






