Microservices - CI/CD for MicroservicesWhich of the following is the correct syntax to define a canary deployment percentage in a YAML configuration file?Acanary_percentage = '10%'BcanaryPercentage: 10CpercentageCanary: 'ten'DcanaryPercent: ten_percentCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify correct YAML key and value formatYAML uses key: value pairs, numeric values should be numbers without quotes for percentages.Step 2: Check options for valid YAML syntaxcanaryPercentage: 10 uses correct key and numeric value. Others use invalid syntax or strings.Final Answer:canaryPercentage: 10 -> Option BQuick Check:YAML key-value numeric = canaryPercentage: 10 [OK]Quick Trick: YAML uses key: number without quotes for numeric values [OK]Common Mistakes:Using equals sign instead of colon in YAMLPutting numeric values in quotes unnecessarilyUsing invalid key names or strings for numbers
Master "CI/CD for Microservices" in Microservices9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepArchTryChallengeDesignRecallScale
More Microservices Quizzes Advanced Patterns - Ambassador pattern - Quiz 15hard Advanced Patterns - Backend for Frontend (BFF) pattern - Quiz 12easy CI/CD for Microservices - Blue-green deployment - Quiz 3easy CI/CD for Microservices - Independent service pipelines - Quiz 11easy CI/CD for Microservices - Rollback strategies - Quiz 3easy CI/CD for Microservices - Automated testing strategy - Quiz 6medium Configuration and Secrets Management - Secrets management (Vault, AWS Secrets Manager) - Quiz 11easy Configuration and Secrets Management - Why externalized config enables flexibility - Quiz 6medium Migration from Monolith - Why gradual migration reduces risk - Quiz 6medium Migration from Monolith - Why gradual migration reduces risk - Quiz 5medium