Swagger, SwaggerHub Check your Knowledge Part II Track 1: API Design, Swagger, SwaggerHub Question Title * 1. Please provide your name and email address Name Email Question Title * 2. What is the Richardson Maturity Model? How mature your development organization is. Quantification of the complexity of your REST API. How complex your business processes are. First and Second response together. None of the above. Question Title * 3. What are core standards leveraged in a REST API? HTTP URI MIME First, Second and Third answers None of the above. Question: When maturity level Question Title * 4. When maturity level leverages Hyperlinks in the response? Level 0 Level 1 Level 2 Level 3 Level 4 Question Title * 5. Which HTTP Status Code indicate client success of an HTTP Operation? 1XX 2XX 3XX 4XX 5XX Question Title * 6. Within OpenAPI 3.0 what is a major change in the definition's structure? Component Object Info Object Security Object Path Object None of the above Question Title * 7. What are some of the new features in OpenAPI 3.0 that didn't exist in Swagger 2.0? Select all that apply. JSON Schema Responses Callbacks HTTP Verbs Links Question Title * 8. Is OpenAPI 3.0 backward compatible with Swagger 2.0? True False Question Title * 9. What object is used to share the physical location an API may reside at? basePath hostName hosts servers Other Question Title * 10. What format is correct for referencing a JSON Schema? #/components/schema/<Name of schema> #/definitions/<Name of schema> #/components/parameters/<Name of parameter> #/definitions/<name of parameter> #/components/security/<name of schema> Question Title * 11. What are some of the key phases of the API Lifecycle? Design Retire Develop Implement Test Question Title * 12. What does the Define phases focuses on? Design Code Integrate Test Management Deprecate Question Title * 13. What types of tests could occur during the Test Phase? Unit Functional Performance Security Other Question Title * 14. What two options are available for designing APIs? Rainbows and Unicorns Code first using Swagger Core Design first using Swagger Editor Code first using Swagger Codegen None of the above Question Title * 15. Benefits of Design First approach include? Allows for simpler collaboration Fine grained control of the developer experience Dramatically faster than Code First approach Guarantees zero defects First and Second answers Question Title * 16. What should be leveraged if you are reusing components across definitions? Domains Schemas Definitions Webhook Other Question Title * 17. What are the key reasons to use increase productivity via SwaggerHub? Collaborative Editing of API definition Ability to version API definitions Trigger external activities including SCM, API Gateways etc. Manage collaborators and visibility of definition. All of the above. Question Title * 18. A common approach to version an API is to specify it in URI? True False Question Title * 19. Which URL example demonstrates a collection of a resource returned using the HTTP GET? /dog /dogs /get/dogs /get/dog None of the above Question Title * 20. What set of error codes should be returned for client errors? 1XX 2XX 3XX 4XX 5XX Question Title * 21. Where do security credentials gets presented in REST for Basic Authentication or OAuth2? HTTP Body MIME Attachment HTTP Verb HTTP Header None of the above Done