Amazon DevOps engineer interviews cover CI/CD pipelines, infrastructure as code, container orchestration, monitoring, and incident response procedures.
No verified questions yet for Amazon.
ServiceHealthMonitor class that keeps track of the health status of various services.Class: ServiceHealthMonitorreport_health(service_name: str, status: bool) -> None — Updates the health status for the given service.get_health(service_name: str) -> bool — Returns the current health status of the specified service.Example 1:service_name="serviceA", status=trueNoneserviceA as healthy.Example 2:service_name="serviceA"trueserviceA is healthy.Constraints:service_name can be up to 50 characters long.DistributedConfigManager that allows various services to fetch their configurations dynamically.Class: DistributedConfigManagerget_config(service_name: str) -> Dict[str, Any] — Fetches the configuration for the given service.set_config(service_name: str, config: Dict[str, Any]) -> bool — Sets the configuration for the specified service and returns success status.Example 1:service_name="serviceA"{ "timeout": 30, "retry": 5 }serviceA is fetched successfully from the centralized manager.Example 2:service_name="serviceB"TrueserviceB has been set successfully.Constraints:service_name length must be ≤ 50 characters.Sign up for free to access walkthroughs, AI-generated questions, and more.
Get Started Free