IBM Full Stack Software Developer Quiz Answers Guide

Hello friends! If you are learning the IBM Full Stack Software Developer Professional Certificate on Coursera, you’re in the right place! While going through this course, I realized many learners would benefit from a single, organized resource for all quiz answers and course materials. That’s why I created a dedicated web page where I post A to Z complete course quiz answers.

This page grows alongside my learning journey—every week, as I complete more lessons, I add new content to make it an ever-expanding, comprehensive study guide. My goal is to provide a resource that helps learners study more efficiently, track their progress, and confidently complete this professional certificate.

IBM Full Stack Software Developer

Here’s a breakdown of the full course:

Table of Contents

Course 1 – Introduction to Software Engineering

Graded Quiz: The Software Development Lifecycle Quiz Answers

Question 1)
Which of the following is the best description of software engineering?

  • Any activity related to software development.
  • The application of scientific principles to the organization of a software system.
  • The set of all activities related to software development.
  • The application of scientific principles to the design and creation of software.

Question 2)
Which of the following best describes a key advantage for a business to follow the SDLC?

  • It allows for creativity because of its ad-hoc approach to software development.
  • It gives development teams a process to follow to improve efficiency and reduce risks.
  • It defines all the roles of the development team.
  • It helps technical writers develop accurate documentation.

Question 3)
Which of the following best describes an activity that happens in the maintenance phase of the SDLC?

  • The coding process begins.
  • Code is thoroughly tested.
  • Fixing minor user interface issues.
  • The system requirements specification is written.

Question 4)
Which of the following best describes a beta release?

  • It is the first functioning version of a system released to a select group of stakeholders.
  • It is the most stable release.
  • It is intended for all users.
  • It meets all functional requirements.

Question 5)
Which statement best describes the Software Requirements Specification (SRS)?

  • It can be combined with the System Requirements Specification (SysRS) to form the User Requirements Specification (URS).
  • It is combined with the User Requirements Specification (URS) to form the System Requirements Specification (SysRS).
  • It primarily contains use cases.
  • It contains functional, external interface, and non-functional requirements.

Question 6)
Which of the following is an iterative approach to the software development lifecycle (SDLC)?

  • Agile
  • Verification
  • Waterfall
  • V-shape

Question 7)
Which of the following best describes functional testing?

  • It is concerned with confirming that a recent change to the application is not adversely affecting existing functionality.
  • It tests application attributes like performance and security.
  • Its goal is to make sure the application is usable and accessible.
  • It tests application attributes like scalability and availability.

Question 8)
Which best describes black-box testing?

  • It is used to verify internal structure, design, and coding.
  • It is equivalent to regression testing.
  • It is equivalent to non-functional testing.
  • It is used to test inputs and outputs.

Question 9)
Which role is primarily responsible for designing the software’s interface?

  • Product owner
  • Software architect
  • UX designer
  • Stakeholder

Question 10)
Which of the following is a type of documentation that describes the expected features and functionality of the software system?

  • Design documentation
  • User documentation
  • Requirements
  • Technical documentation

Graded Quiz: Introduction to Software Development Quiz Answers

Question 1)
Which technology is a front-end developer most likely to work with?

  • Databases
  • Java
  • SQL
  • HTML

Question 2)
Which of the following technologies can you use to ensure uniformity in look, feel, style, colors, font, and layouts on a website?

  • CSS
  • XML
  • JavaScript
  • HTML

Question 3)
Which of the following are used in back-end development?

  • SQL
  • CSS
  • LESS
  • HTML

Question 4)
Which of the following technologies provide a way for cloud apps to access resources from the back-end?

  • IDEs
  • APIs
  • Styles
  • Routes

Question 5)
Which of the following pair programming styles is a good way for a junior software engineer to learn from a more experienced colleague?

  • Ping-pong style
  • Driver style
  • Navigator style
  • Strong style

Question 6)
Which of the following is a development framework?

  • Git
  • JavaScript
  • Vue.js
  • Ruby

Question 7)
Which of the following statements about app development frameworks is correct?

  • Frameworks keep track of what changes were made when and by whom and resolve any conflicts between changes.
  • Frameworks provide a way to build and deploy applications.
  • Frameworks can be changed during any phase of development.
  • Frameworks provide standard programs and subroutines that you can use in your own code.

Question 8)
Which process automatically builds and tests your code?

  • Continuous integration
  • Continuous delivery
  • Continuous development
  • Continuous investigation

Question 9)
Which of the following is a build tool?

  • Homebrew
  • Babel
  • Pip
  • npm

Question 10)
Which of the following is an example of a software stack?

  • Chocolatey
  • Ruby on Rails
  • Maven
  • Conda

Graded Quiz: Basics of Programming Quiz Answers

Question 1)
Which of the following is the generic term for referencing a program component such as a stored value, method, interface, or class by a custom-named label?

  • Variable
  • Container
  • Constant
  • Identifier

Question 2)
Which one of the following applies to interpreted programming languages?

  • Available to users who have the same operating system or a device that understands the same language
  • More difficult to write in, but creates faster applications
  • A smaller program, normally scripted code, that must be created and repeated every time the code is run
  • Better for programs installed on the computer or device

Question 3)
Which one of the following applies to a compiled programming language compared to an interpreted language?

  • Creates a smaller program, normally using scripted code
  • Better for websites and smaller processes that need to be repeated
  • Takes longer to write the code, but it runs faster
  • Easier to learn and use, but requires an interpreter that can translate the source code into machine code

Question 4)
Which one of the following is an example of a low-level programming language?

  • SQL
  • Python
  • Pascal
  • ARM

Question 5)
Which of the following is a type of programming logic with only two values, “true” or “false”, and is used in both branching and looping programming logic?

  • Branching statements
  • “if-then-else” statement
  • Boolean expression
  • “And-do-while” loop

Question 6)
What are the three key standpoints for organizing code?

  • Maintainability, accessibility, and scalability
  • Readability, scalability, and accessibility
  • Readability, maintainability, and scalability
  • Readability, maintainability, and accessibility

Question 7)
Which of the following is also often referred to as a scripting language?

  • An assembly programming language
  • An interpreted programming language
  • A compiled programming language
  • A query language

Question 8)
Which of the following is a type of looping programming logic?

  • if
  • goto
  • while
  • switch

Question 9)
Which of the following is the best type of identifier for a data item whose value does not change?

  • Array
  • Constant
  • Variable
  • Vector

Question 10)
Which of the following is a software methodology that focuses on objects rather than functions?

  • Modular programming
  • Extreme programming
  • OOP
  • SDLC

Graded Quiz: Software Architecture, Design, and Deployment Topologies Quiz Answers

Question 1)
Which of the following best describes software architecture?

  • It describes how the application should be coded.
  • It represents the earliest design decisions.
  • It captures implementation details.
  • The choice of technology stack drives the software architecture.

Question 2)
Which of the following are artifacts that result from designing the software architecture?

  • Software requirements specification (SRS)
  • UML diagrams
  • Administrator user guide
  • Test cases

Question 3)
Components in a well-structured design should be _______.

  • loosely constrained
  • tightly cohesive
  • tightly coupled
  • loosely cohesive

Question 4)
Which of the following is an advantage of using UML diagrams when designing software architecture?

  • They all use JavaScript.
  • They explain which methods should be included when coding an object.
  • They serve to bring new team members up to speed quickly.
  • They describe which parameters should be passed when instantiating an object.

Question 5)
Which of the following best describes encapsulation?

  • Bundling data and methods to hide an internal state, so a component’s specific implementation is not exposed.
  • Designing a component so it operates in different environments.
  • A component should be easily replaced with another component.
  • A component’s design so it doesn’t have dependencies on other components.

Question 6)
Which of the following best describes a service?

  • A focus on the decomposition of a design into logical components.
  • It is a type of object.
  • A service defines, composes, and implements loosely coupled independent components so they work together to create an application.
  • A unit of functionality that focuses on a solution to a business need, is deployed independently, and is reused by multiple systems.

Question 7)
Which statement is true regarding a 2-tier architecture?

  • A 2-tier architecture consists of a decentralized network of nodes that are both clients and servers.
  • The interface resides on client machines and makes requests to a server for data or services.
  • The two different tiers are the application tier and the data tier.
  • A 2-tier architecture consists of producers and consumers of events.

Question 8)
Which of the following architecture patterns are mutually exclusive?

  • Three-tier and microservices
  • Microservices and event-driven
  • Peer-to-peer and event-driven
  • Peer-to-peer and two-tier

Question 9)
Which of the following environments is intended for developers to use while they are actively coding the application?

  • Development
  • QA
  • Production
  • Staging

Question 10)
Which of the following is a security device that monitors traffic between an internal and an external network?

  • Router
  • Firewall
  • Load balancer
  • Web server

Graded Quiz: Job Opportunities and Skillsets in Software Engineering Quiz Answers

Question 1)
Which of the following is the best description of a data integration layer?

  • It applies real-world business rules to data in a solution.
  • It stores all of the data for your solution.
  • It accesses and loads data from a variety of sources.
  • It enables users to interact with your solution.

Question 2)
Complete the following. Software engineers ….

  • Design and develop software that solves real-world problems.
  • Develop and maintain data architectures.
  • Design and implement network systems.
  • Use software solutions to solve real-world problems.

Question 3)
Which of the following is an example of a hard skill?

  • Interpersonal skills
  • Time management
  • Open to feedback
  • Programming

Question 4)
Which of the following is an attribute of a soft skill?

  • Measurable
  • Quantifiable
  • Transferable
  • Certifiable

Question 5)
The US Bureau of Labor Statistics predicts approximately what percent growth for software developers, analysts, and tests from 2020-2030?

  • 22%
  • 2%
  • 12%
  • 32%

Question 6)
A technical career path is a good choice if you:

  • Enjoy managing people
  • Enjoy supporting team members
  • Enjoy solving problems
  • Enjoy mentoring others

Question 7)
Who is most likely to work alongside graphic artists and sound technicians?

  • A games developer
  • A full-stack engineer
  • A DevOps engineer
  • A mobile app developer

Question 8)
True of false. Learning on the job and developing new skills is an important part of a software engineer’s role.

  • True
  • False

Question 9)
Which role is responsible for developing code to test the functionality of a software solution?

  • A front-end engineer
  • A back-end engineer
  • A security engineer
  • A quality assurance engineer

Question 10)
What is the overarching purpose of the software engineering code of ethics?

  • To serve the public good.
  • To make software user-friendly.
  • To improve the software development process.
  • To improve the quality of software used in businesses.

Graded Quiz: Final Quiz Answers

Question 1)
Which of the following is a code storage tool?

  • HTML
  • Code Editor
  • Git
  • IDE

Question 2)
Which of the following technologies adds more styles and function to CSS?

  • HTML
  • MORE
  • LESS
  • SASS

Question 3)
Which of the following statements is true regarding pair programming?

  • Pair programming requires two developers to be in the same physical location.
  • Most developers find pair programming to be an unproductive use of their time.
  • Pair programming is a type of agile development where two developers plan and discuss their ideas as they create a solution.
  • Pair programming always consists of one developer typing in the code while the other is reviewing the code as it’s written.

Question 4)
Which of the following do version control systems help you keep track of?

  • Errors in the code.
  • Who changed the code.
  • Bug reports.
  • Program flow.

Question 5)
Which type of software engineer develops the software that users interact with?

  • Back-end engineers
  • Front-end engineer
  • Systems developer
  • Network engineer

Question 6)
Which of the following is an example of a hard skill?

  • Problem solving
  • Cloud computing
  • Communication
  • Adaptability

Question 7)
Which of the following are reasons for the high demand for software engineers?

  • There’s a lack of people interested in the field.
  • Most organizations need software applications and websites.
  • Many software engineers are retiring.
  • Lots of software engineers are leaving the industry.

Question 8)
A senior software engineer often:

  • Takes responsibility for the overall architecture and design of a product.
  • Mentors other software engineers.
  • Identifies hiring needs for a company.
  • Monitors the requirements for corporate technologies.

Question 9)
Which of the following is an advantage of using the software development lifecycle (SDLC)?

  • Respond to changing requirements
  • Increases risks
  • Team members share the same roles and responsibilities
  • Solve problems during the coding phase

Question 10)
Which software development process verifies that the software matches established requirements and is free from bugs?

  • Testing
  • Coding
  • Design
  • Debugging

Question 11)
Which of the following specifications specifies policy and regulation requirements?

  • User Requirements Specification (URS)
  • Application Requirements Specification (ARS)
  • Software Requirements Specification (SRS)
  • System Requirements Specification (SysRS)

Question 12)
Which of the following software development methodologies easily handles changing requirements and enables feedback to be regularly incorporated into the solution?

  • Sequential
  • Agile
  • Waterfall
  • V-shape model

Question 13)
Fill in the blank. An attribute of an object is called a __.

  • instance
  • class
  • blueprint
  • property

Question 14)
Which of the following is a characteristic of a component?

  • Extensible
  • Revisable
  • Context-specific
  • Repeatable

Question 15)
Which type of architecture is a computing model in which a server hosts, delivers, and manages most of the resources and services delivered to a client?

  • Microservices
  • Peer-to-peer
  • 2-tier
  • 3-tier

Question 16)
Which environment is intended for use by all users?

  • Development
  • Staging
  • QA
  • Production

Question 17)
Which one of the following is an example of an interpreted programming language?

  • C++
  • JavaScript
  • Java
  • C

Question 18)
What four key database operations does the acronym CRUD stand for?

  • Correct, Read, Update, Detain
  • Create, Read, Undo, Detain
  • Correct, Randomize, Undo, Delete
  • Create, Read, Update, Delete

Question 19)
The “While” keyword is used to perform which of the following type of programming logic?

  • Loop
  • For
  • Branch
  • If

Question 20)
What is the name of a special type of identifier that you can use to reference multiple program elements?

  • Constant
  • Container
  • Identifier
  • Variable

Course 2 – Introduction to Cloud Computing

Module 1 Graded Quiz: Overview of Cloud Computing Quiz Answers

Question 1)
According to the US National Institute of Standards and Technology (NIST) definition of “cloud computing,” what is the meaning of the statement “a shared pool of configurable computing resources”?

  • Leveraging cloud services over the open internet on hardware owned by the cloud provider.
  • Networks, servers, storage, applications, and services.
  • Data security associated with data loss or unavailability causing business disruption.
  • Five essential characteristics, three deployment, and three service models.

Question 2)
What tasks do hypervisors accomplish?

  • Scale on demand to support fluctuating workloads
  • Facilitate access to mainframes for multiple users to access the same data storage layer
  • Fluctuates workloads and facilitates access to mainframes
  • Enable multiple operating systems to run alongside each other and separate VMs logically

Question 3)
Which key considerations drive an organization’s selection of cloud computing when considering expenditure for off-the-shelf software and investments in upgrades?

  • Software as a service and development platforms
  • Risk exposure
  • Speed and productivity
  • Infrastructure and workloads

Question 4)
Which of the following statements describes a benefit of cloud computing?

  • Data security associated with loss or unavailability of data
  • Business continuity
  • Hardware failures do not result in data loss because of backups maintained on the network
  • Lack of standardization in how the constantly evolving technologies integrate

Question 5)
Which service provider provides one of the largest cloud-based data management platforms?

  • IBM Cloud
  • Oracle Cloud
  • Alibaba Cloud
  • Salesforce

Question 6)
Which service provider uses its cloud platform internally for their end-user products, such as Search and app engines that automatically allocate and de-allocate resources to handle demand?

  • Microsoft Azure
  • SAP
  • Oracle Cloud
  • Google Cloud Platform (GCP)

Question 7)
According to the International Data Corporation (IDC), what is that crucial ability that will make cloud computing essential for businesses to succeed, sustain, and compete in today’s markets?

  • Data-driven decisions
  • Multi-cloud infrastructures
  • Applied exponential technologies such as AI, Automation, IoT, and Blockchain
  • Cognitively enabled workflows

Question 8)
Why did American Airlines require a new technology platform?

  • To migrate applications to cloud-native microservices for faster and more reliable customer service
  • To reduce dependency on cloud-based platform for low-latency delivery
  • To expand their global presence and accelerate growth
  • To automate flight scheduling and maintenance

Question 9)
Select the answer that best describes how does Cloud Computing helps IoT devices?

  • Provides the resources to store and process the data produced by IoT devices and users.
  • Stores data on an encrypted physical drive
  • Provides a fixed physical location for the data collected from IoT devices
  • Draws insights from data collected from the IoT devices and users

Question 10)
Which of the following denotes the relationship between Blockchain, AI, and cloud?

  • Blockchain provides an immutable network, AI provides distributed computing resources and cloud powers decision-making
  • Blockchain lends trust and transparency to AI by recording the data and variables that go into a decision made in an AI algorithm, and the cloud provides an immutable network
  • Blockchain provides a decentralized source of truth, AI powers analytics and decision-making, and the cloud provides globally distributed computing resources
  • Blockchain provides the distributed computing resources, AI powers the analytics, and the cloud records the data

Question 1)
Which of the following is the best description of a data integration layer?

  • It applies real-world business rules to data in a solution.
  • It stores all of the data for your solution.
  • It accesses and loads data from a variety of sources.
  • It enables users to interact with your solution.

Question 2)
In which cloud service model does the service provider manage the application data along with the infrastructure and platform resources?

  • SaaS
  • IaaS
  • PaaS
  • CaaS

Question 3)
In which IaaS cloud environment can the customers deploy their middleware and install applications?

  • Virtual Machines
  • IoT
  • Blockchain
  • AI

Question 4)
What is one of the concerns in cloud infrastructure configuration and management?

  • Business continuity and disaster recovery
  • Solving complex problems involving millions of variables and calculations
  • Scaling infrastructure up and down as demand fluctuates
  • Dependency on a third party for workload availability and performance

Question 5)
What is the responsibility of a user in the PaaS model?

  • Application code and its maintenance
  • Business process management systems
  • Database management systems
  • Workload management

Question 6)
Which capability in the PaaS model eliminates the need for the integration of disparate components?

  • APIs for services
  • Runtime environment
  • Rapid deployment mechanisms
  • Business analytics services

Question 7)
Which is a characteristic of the SaaS model?

  • Infrastructure and code are maintained by the users
  • Applications reside on a remote cloud network
  • Users can see only their own application
  • Services are free for the users on the SaaS cloud

Question 8)
What is the users’ role in a public cloud?

  • Users maintain the platform that runs their application
  • Users don’t own the servers their applications run on
  • Users own the storage their data consumes
  • Users can manage the operations of the servers

Question 9)
What is a feature of a private cloud?

  • Application portability
  • Uncontrolled access
  • Use of external computing resources
  • Limited security

Question 10)
What do you mean by “cloud bursting”?

  • You can move applications and data between on-premises and cloud systems
  • You can leverage public cloud instances for a period of time but return to the private cloud when the surge is met
  • You can incrementally modernize your core business systems
  • You can spin-up environments using pay-as-you-go in the public cloud

Question 1)
Each Cloud Region can have multiple Availability Zones. What are Zones?

  • Unique physical locations with one or more data centers
  • Single shared point of failure
  • Geographic area or region where the cloud provider’s infrastructure is clustered
  • Standardized containers of computing resources

Question 2)
Which of the following is a benefit of virtualization?

  • Runs a single operating system
  • Is secure
  • Cost savings
  • Increases your downtime

Question 3)
Which of the following types of Virtual Machine (VM) guarantees resources for future deployments?

  • Dedicated hosts
  • Shared or Public Cloud VMs
  • Reserved virtual servers
  • Transient or Spot VMs

Question 4)
Which of the following is a feature of bare metal servers?

  • Multiple tenants
  • High performance and secure
  • Rapidly provisioned
  • Low cost to use

Question 5)
Subnets are the main area where security is implemented in the cloud. Which of the following is used to provide security at the virtual instance level in subnets?

  • Virtual Private Cloud or VPC
  • Security Groups or SGs
  • Load Balancers
  • Public Gateways

Question 6)
Which of the following is a benefit of isolation of applications in containers?

  • Preventing malicious code in one container from impacting other containers
  • Abstraction from the host operating system
  • Open-sourced runtime engine
  • Repackaged into containers or containerized microservices

Question 7)
Which of the following storage types are ephemeral or non-persistent?

  • Direct Attached storage
  • File storage
  • Object storage
  • Block storage

Question 8)
What makes File storage an ideal solution for scenarios where shared storage is required?

  • File storage can be mounted from remote storage appliances
  • File Storage is mounted to compute nodes via an ethernet network
  • File storage can be mounted on multiple compute nodes at the same time
  • Fast accessibility of file storage over the network

Question 9)
Which of the following scenarios is best suited for Block Storage?

  • Where workloads do not require fast connectivity to storage
  • Low cost is a consideration
  • Applications that need consistent fast access to the disk, such as databases
  • Workloads that need disk sharing between compute nodes

Question 10)
Which of the following is a feature of Object storage?

  • You can directly use Object Storage without attaching it to a compute node
  • Storage is attached to compute nodes using a fiber network
  • Object Storage can be mounted on multiple compute nodes via an ethernet network
  • Used where fast read and write speeds are necessary

Question 1)
Which of the following options describes a development principle, or action, for cloud native applications?

  • Tightly coupling the different functions of the application so that they can work together as a whole.
  • Bring the various single-function components of an application into one huge piece of software.
  • Containerize the microservices for maximum flexibility, scalability, and portability.
  • Combine applications to create microservices with multiple functions.

Question 2)
Which of the following best describes a key benefit of DevOps in a cloud-native environment?

  • It allows developers to manage infrastructure without involving operations teams.
  • It leverages cloud technologies for rapid and reliable delivery of applications through automation and collaboration.
  • It eliminates the need for continuous deployment by automating all manual testing.
  • It increases overhead by requiring more manual steps in the development lifecycle.

Question 3)
Which of the provided options encapsulates the complete application modernization journey?

  • The journey from monolithic and service-oriented architecture to microservices architecture.
  • The journey from monolithic and service-oriented architecture to microservices architecture, from physical servers and VMs to cloud infrastructure, and from the waterfall and agile methodology to DevOps.
  • The journey from physical servers and VMs to cloud infrastructure
  • The journey from the waterfall and agile development methodologies to DevOps.

Question 4)
How would a global flower delivery company leverage the Hybrid Multicloud architecture to meet its requirement of varying capacity demands across different geographies?

  • By scaling up their on-premises architecture
  • By using the automatic provisioning and de-provisioning of resources that the cloud offers.
  • By distributing their delivery service application across multiple cloud environments and providers spread across multiple geographies.

Question 5)
Which of the following statements describes the DevOps approach and process?

  • DevOps process is a collaborative approach that defines how people build, deploy, and manage applications in a cloud-native environment to deliver software continuously.
  • Eliminates the need to provision servers, build middleware, and install application code.
  • An approach that utilizes cloud applications to monitor systems.
  • Eliminates the need to monitor performance and availability.

Question 6)
Which of these scenarios is NOT a good use case for serverless architecture?

  • Microservices that can be built as stateless functions
  • Stream processing workloads
  • Workloads characterized by long-running processes
  • Supporting microservices architecture

Question 7)
How can the microservices architecture approach be characterized?

  • Compulsion to bundle all microservices for a specific task into a single container.
  • Impact on the entire application when one microservice ceases to function.
  • Decomposition of large applications into core functions to construct a comprehensive and functional application.
  • Requirement to build every new functionality in a microservice from the ground up.

Question 8)
Fill in the blank. Microservices architecture is an approach in which a ______________ comprises many loosely coupled and independently deployable smaller components or services.

  • Cloud service
  • Repository application
  • Server
  • Single application

Question 9)
What does a cloud native application consist of?

  • Microservices
  • Executable containers
  • Application containers
  • Executable files

Question 10)
DevOps and Cloud share a _________ relationship.

  • Vendor
  • Symbiotic
  • General partnership
  • Customer

Module 5 Graded Quiz: Cloud Security, Monitoring, Case Studies, & Jobs Quiz Answers

Question 1)
Fill in the blank. _____________ is a key part of an enterprise’s digital transformation strategy.

  • Local storage devices
  • Databases
  • Cloud computing
  • Encryption

Question 2)
Which of the following are some best practices organizations must follow to protect their cloud resources and systems?

  • Adopt a shared responsibility model of active monitoring for security and compliance
  • Distribute tasks, workloads, and network traffic
  • Run security monitoring tools periodically to ensure security threats and breaches are flagged
  • Distribute tasks, workloads, and monitoring software

Question 3)
Which of the following are key Identity and Access Management (IAM) components?

  • Cloud Directory Services, Audits, and Compliance
  • Encryption security practices
  • Protecting data while it is at rest, in motion, and in use
  • Embedding security through the life cycle of an application

Question 4)
Which of these statements is true of cloud encryption?

  • A, B, and D only
  • A and C only
  • A, B, C, and D
  • A, B, and C only

Question 5)
Identify some of the standard cloud monitoring best practices from the provided options.

  • Encrypt data before it is sent to the cloud.
  • Leverage end-user experience monitoring solutions to capture the performance of an application from the point of view of its end users and track the usage and cost of your cloud resources and services.
  • Authenticate users attempting to access their cloud resources.
  • Encrypt data on a physical storage device.

Question 6)
What are some of the monitoring tools that help you to gain insights about your posture, compliance, and threats?

  • Flow logs from the network and security events
  • Hypervisors
  • Data encryption
  • Flow logs and hypervisors

Question 7)
What are some of the benefits of using access groups?

  • Access groups define the users, the resources to which access is granted, and the permission level each user has on these resources.
  • Access groups create an additional level of authentication for application users.
  • Access groups help increase the number of policies of an account.
  • The use of access groups helps to reduce the number of policies in an account. Access groups provide a more streamlined way to assign access rights.

Question 8)
Identify the two main parts of an encryption system from the provided options.

  • Server-side encryption
  • Physical encryption device
  • The encryption algorithm and decryption key
  • Client-side encryption

Question 9)
What are some of the benefits that cloud monitoring solutions offer?

  • Enhanced security to user accounts
  • Troubleshoot applications and infrastructure
  • Prevent unauthorized users from accessing the systems
  • Accelerate the diagnosis and resolution of performance incidents and provide proactive notifications of abnormal or unusual situations.

Question 10)
The Weather Company migrated its weather web property to a secure, scalable, and global architecture in the IBM Cloud. What benefits did they realize as a result of this migration?

  • Harness local data centers to minimize latency for users and optimize their systems for elasticity in handling extreme spikes in demand
  • Increase asset availability and overall equipment effectiveness
  • Increase development and increased latency
  • Faster development and release of new apps and digital self-service tools to customers

Course 3 – Introduction to HTML, CSS, & JavaScript

Graded Quiz: HTML Overview Quiz Answers

Question 1)
Which of the following statements embeds an image in an HTML document?

  • <image>link_to_image</image>
  • <figure src=”image URL” alt=”alternate text”>image name</figure>
  • <img src=”image URL” alt=”alternate text”>
  • <img href=”image URL” alt =”alternate text”>image name</img>

Question 2)
When defining a hyperlink (<a>), which attribute is used to specify the destination address?

  • ref
  • src
  • target
  • href

Question 3)
How are comments written in HTML?

  • “””This is a comment”””
  • #This is a comment
  • <!– This is a comment –>
  • /This is a comment/

Question 4)
Which tag preserves the spaces and line breaks of a given text when displayed?

  • <pre>
  • <p>
  • <section>
  • <label>

Question 5)
Which style is given priority, when multiple styles are specified for a single element?

  • Inline style
  • External style sheet
  • Browser default
  • Internal style sheet

Question 6)
Which tag CANNOT be used as a container for text?

  • <body>
  • <h1>
  • <br>
  • <p>

Question 7)
What is the <br> tag used for?

  • To change the text color to brown
  • To make text bold
  • To add a line break
  • To change the border

Question 8)
Which is the universal selector in CSS?

  • ?
  • @
  • *

Question 9)
Which tag is used to create an ordered list?

  • <ul>
  • <ol>
  • <orderedlist>
  • <li>

Question 10)
Which selector helps to select all elements of a document, except paragraphs?

  • :not(p)
  • :!(p)
  • :except(p)
  • :n(p)

Graded Quiz: CSS Overview & HTML5 Elements

Question 1)
You’ve applied an external CSS file and used inline style for a few elements to style a webpage. However, one element does not reflect the external style rules. What could have caused this issue on the webpage?

  • Internal CSS, applied within the “<style>” attribute in HTML markup
  • An external CSS file
  • Inline CSS, placed directly in each HTML element
  • Whichever way is specified in the HTML markup

Question 2)
A company is designing a website that needs to look good on both desktops and mobile devices. Which of the following statements about fluid and fixed layouts are correct? Select all that apply.

  • Fixed layouts use percentage-based dimensions for consistent element sizing.
  • Fixed layouts remain the same size regardless of the viewport dimensions.
  • All modern websites should only use fluid layouts for consistency.
  • A fluid layout adjusts element widths proportionally based on the screen size.

Question 3)
A user fails to submit a form on the website. It shows only the field that is already filled as an example in a light grey color. However, the example text disappears on focus. What is the possible bug here?

  • type= “tel” is the only value.
  • The field misses required attributes
  • Value has incorrect email format.
  • Unsupportive input type= “color”

Question 4)
You are working on a responsive web design using a CSS framework and need to apply styles based on different states, such as hover or focus. To achieve this, you use a modifier. What is the purpose of a modifier?

  • A technique for altering CSS styles applied to an HTML element
  • A type of button that enables users to edit form content
  • A specialized class that adjusts an element’s appearance by applying CSS based on a specified condition
  • A term used for a JavaScript class that dynamically updates webpage content

Question 5)
You are writing a self-contained and meaningful blog using HTML5. Which of the following tags is the most suitable?

  • <article>
  • <section>
  • <details>
  • <aside>

Question 6)
In a web form, you are asking users to enter their age, limited to 5 to 25 years only. Which HTML5 attributes has the developer used to limit the age field?

  • list
  • range
  • number
  • tel

Question 7)
Which of the following is a disadvantage of a component framework?

  • Increase in the download size of the HTML markup
  • Limited components to only what the framework provides
  • Difficult to maintain a uniform style throughout the website
  • HTML markup is more verbose since styles mix with content

Question 8)
Which tag is used to represent an independent item of content in a document, which can be meaningful on its own?

  • <details>
  • <div>
  • <article>
  • <section>

Question 9)
A web designer wants to change the font and background color for all headings on the website. Which technology will he use?

  • Flash
  • JavaScript
  • HTML
  • CSS

Question 10)
You’ve embedded a chart using the figure element in your webpage. Now you want to add a descriptive title directly in the chart. Which HTML5 tag will you use to complete this task?

  • Footer
  • Header
  • Figcaption
  • Figure

Graded Quiz:

Question 1)
In the following declaration, what is the type of the variable ‘pi’?

  • string
  • char
  • number
  • float

Question 2)
How do you define an array called array1 in JavaScript?

  • var array1 = new Array((1,2,3))
  • var array1 = new Array[1,2,3]
  • var array1 = [1,2,3]
  • var array1 = (1,2,3)

Question 3)
What does the following statement do?

var ndate = new Date();

  • Assigns the current Greenwich Mean Time to ndate
  • Returns an error
  • Assigns the current local time to ndate
  • Assigns an empty string with the properties of dates to ndate

Question 4)
Which DOM function returns a node object matching a div with an id value “example_id”?

  • document.getElementById(div, “example_id”)
  • div.getValueOf(“example_id”)
  • element.getNodeById(“example_id”)
  • document.getElementById(“example_id”)

Question 5)
How are numbers converted to strings?

  • (123).toString()
  • (123).string
  • string(123)
  • toString(123)

Question 6)
What is the value of ‘total’ after the following statement is executed?

var total = 10 + 1 + " 3";

  • “113”
  • “1013”
  • 14
  • This results in an error

Question 7)
What would the alert be, when the following code is executed?

var a = new String("Hello");  
var b = "Hello";  

if (a === b) {  
  alert("Same");  
} else {  
  alert("Different");  
}
  • Same
  • Different
  • It would not give any alert as it is an error
  • None of the above

Question 8)
Which of the following is the proper way to create a for loop?

  • loop (for i = minVal; i < maxVal; i++) { … }
  • for (var i = minVal; i++; i < maxVal) { … }
  • for (var i = minVal; i < maxVal; i++) { … }
  • for (i < maxVal) { … }

Question 9)
Select all of the following which are proper ways to add a color property to a custom Car object.

  • Modify the code of the Car object directly to add a color parameter in the constructor
  • Car.color = “Red”
  • Car.prototype.color = “Red”
  • Car.prototype(Color, “Red”)

Question 10)
Which of the following is not an event binder in JavaScript?

  • onclick
  • onload
  • onhover
  • onmouseover

Course 4 – Getting Started with Git and GitHub

Graded Quiz: Git and GitHub Fundamentals Quiz Answers

Question 1)
What is the relation between Git and GitHub?

  • GitHub is an open-source tool used to create Git.
  • GitHub is a program required for version control on Git.
  • GitHub is an online hosting service for Git repositories.
  • GitHub is a main section in the Git project workflow.

Question 2)
Which of the following describes a repository?

  • A data structure that stores documents and source code
  • A collection of user accounts that are connected to a pull request
  • A basic unit of storage in Git that cannot be changed
  • A plain text file that explains the purpose of a project

Question 3)
What is the purpose of a license?

  • To describe the purpose of the project
  • To express how people can use your code
  • To establish a secure remote login between computers
  • To record all changes made to a repository

Question 4)
What is the role of “commit” in GitHub?

  • To pull requests
  • To merge
  • To undo changes
  • To save changes

Question 5)
What type of version control system is Git?

  • Remote
  • Centralized
  • Distributed
  • Local

Question 6)
Which of the following statements is associated with a working directory?

  • Contains the files and subdirectories on the computer that are associated with a Git repository
  • A separate line of development that allows one to work independently
  • Copy of a repository
  • Contains project folders that are set up for version control

Question 7)
What happens if you make a change on a repository branch that you don’t own?

  • GitHub makes a pull request
  • GitHub issues a push request for the owner.
  • GitHub generates an error message.
  • GitHub undoes the changes.

Graded Quiz: Git Commands and Managing GitHub Projects Quiz Answers

Question 1)
You need to run three commands to push local changes to the GitHub repository. Which command will you use when your changes are ready to be moved to the GitHub repository?

  • git remove -v
  • git push
  • git commit -m
  • git add

Question 2)
What are three commonly used commands for working with remote repositories?

  • open, close, send
  • push, pull, fetch
  • open, edit, push
  • create, delete, copy

Question 3)
When managing forks, which command can you use to fetch and merge the remote branch in a single step?

  • git fetch upstream
  • git pull downstream
  • git pull <upstream>
  • git merge upstream/main

Question 4)
Which of the following commands is used to make a branch active?

  • git branch
  • git add
  • git checkout
  • git commit

Question 5)
Which command can a developer use to keep up-to-date with the upstream?

  • git pull <upstream> and git fetch <upstream>
  • git push
  • git request pull
  • git revert

Question 6)
In Git workflow, which step involves creating a separate workspace for making changes and developing features without interfering with the main codebase?

  • Initializing a Git repository in your project’s local directory
  • Selecting and moving files to the staging area
  • Performing an initial commit after selecting the required files
  • Creating a branch from the main repository and working on the branch

Question 7)
Which of the following commands helps you to view the commit history?

  • git checkout
  • git commit
  • git log
  • git history

Course 5 – Developing Front-End Apps with React

Module 1 Graded Quiz: Introduction to React and Class Components Quiz Answers

Question 1)
What is EcmaScript or ES?

  • A standardized name for JavaScript
  • A regulated name for JSON
  • A programming organization
  • A communication standard

Question 2)
Which feature in ES6 limits the scope of variables?

  • promise
  • let
  • const
  • Arrow functions

Question 3)
What is the state of a promise object when the operation executes successfully?

  • Fulfilled
  • Constant
  • Pending
  • End

Question 4)
React is an open-source library created and maintained by Facebook and community developers. What is it mainly used to build?

  • Accessibility messages
  • AI questions
  • Error messages
  • Complex UIs

Question 5)
Facebook provides the Create React App to simplify creating React apps. What must be installed in order to run npx create-react-app with the name of the app you want to create?

  • JavaScript
  • The XML editor
  • Facebook
  • Node.js

Question 6)
Functional components are most useful when the component has properties, but what is the restriction?

  • The component lifecycle does not require management.
  • Properties can’t be user defined.
  • Properties can’t be passed as parameters to the function.
  • Properties can’t have uppercase characters.
  • The component lifecycle does not require management.

Question 7)
What makes class components more preferable than functional components?

  • Simplicity
  • Rigidity
  • Definition
  • Versatility

Question 8)
In the Working with React Components video, what does the incrementCounter method do in the React app?

  • Passes a value to the GUI
  • Routes a command through a component
  • Updates a state so a component is rendered again
  • Stops the application

Question 9)
What is the benefit of using the JSX transformation step in HTML?

  • Converts HTML tags into React elements
  • Can be parsed by a JavaScript engine
  • Helpful as a visual aid
  • Browser understands JSX

Question 10)
Which of the following features can be implemented using React Hook in functional components?

  • Props
  • Lifecycle methods
  • Event
  • Logic

Module 2 Graded Quiz: Understanding Function Components with Array and DOM Manipulation Quiz Answers

Question 1)
What is a State?

  • An object that contains information about the component
  • A parent component function that takes a string argument
  • A piece of software that passes data between React components
  • A component’s render function that returns data about an attribute

Question 2)
What is used to pass data between React components?

  • HTML attribute
  • Shared state
  • Prop
  • Local state

Question 3)
What do you use to pass data from child components to parent components?

  • Method
  • State
  • Render
  • Callback

Question 4)
When does a component lifecycle start?

  • When the component is removed from the DOM
  • When the state of the component first changes
  • When a user clicks the mouse or presses the keyboard
  • When components are created or mounted on the DOM

Question 5)
What do you use to pass data from parent components to child components?

  • Callback
  • State
  • Method
  • Prop

Question 6)
Which function is invoked right after the component is mounted on the DOM?

  • Render
  • componentDidMount
  • componentWillUnmount
  • componentWillMount

Question 7)
What do you use to make a call to an external server asynchronous?

  • Method
  • Props
  • State
  • Promises

Question 8)
What does the postDataToServer method do?

  • Sets a component with a user state to “None Logged In”
  • Requests all objects in the usercollection destination
  • Sends the data to the server and updates the response from the server to the component’s state completionStatus
  • Creates a JSON object and pushes it into the usercollection array

Question 9)
What are the phases of a component test?

  • Begin, Revise, Complete
  • Arrange, Act, and Assert
  • Query, Run, Resolve
  • Chai, Sinon, and Mocha

Question 10)
What are the two testing approaches?

  • Component and end-to-end
  • Regression and event
  • Mocha and Chai
  • Simulated and authenticated

Module 3 Graded Quiz: In-depth Understanding of Advanced React Functionality Quiz Answers

Question 1)
Which is an advantage of using Hooks in a React application?

  • Hooks enable you to write a functional component without state
  • You can handle events and logics in functional components without using classes
  • Code used to write Hooks is complicated
  • Hooks can only be called inside React function components

Question 2)
Which standard Hook is used to manage Redux state changes?

  • useContext
  • useReducer
  • useEffect

Question 3)
What is a characteristic of an uncontrolled input?

  • Functions govern passing of data
  • A parent component controls the changes
  • Allows the browser to handle most of the form elements
  • Props take current value and notify changes

Question 4)
What helps developers in developing a React application using Redux?

  • Redux reloads the whole page when state changes
  • Redux helps in creating user interface elements
  • Redux enhances the state prediction factor
  • In Redux, individual components handle their own state

Question 5)
In which application scenarios is Redux used?

  • Big application where state needs to be managed
  • Only in local applications to manage state of components
  • In an application where all props associated to a component are utilized
  • In applications with single state mapping to a single container component

Question 6)
What are Actions?

  • An object that contains the current Redux application state
  • An object that stores information about the user event
  • An object that performs changes to the application state
  • An object that updates the store

Question 7)
What is the function of the store?

  • Store can dispatch and receive actions
  • A store describes what happened
  • A store contains a type field
  • A store can perform any changes to the application state

Question 8)
Why is middleware required in Redux React applications?

  • To use asynchronous operations
  • To make actions faster
  • To restore the synchronous data flow
  • To compute the new state

Question 9)
Which middleware uses ES6 Generators to enable async operations?

  • Async/Await
  • Promise-based
  • Saga
  • Thunk

Question 10)
Which element in the Redux data flow generates the modified state based on the dispatched action?

  • Action creator
  • Reducer
  • UI
  • Store

Course 6 – Developing Back-End Apps with Node.js and Express

Week 1 – Graded Quiz Answers

Question 1)
Which of the following is a back-end technology?

  • Browser
  • CSS
  • HTML
  • Web API

Question 2)
What quality makes it possible for you to run JavaScript applications without compiling?

  • You can use a text editor to develop JavaScript applications.
  • JavaScript is an interpreted language.
  • All modern browsers support JavaScript.
  • The language syntax resembles Java.

Question 3)
Which of the following applications intercepts the call when JavaScript sends a web service request to the Node.js server?

  • REST Web Service
  • JSON
  • Enterprise Java
  • CSS
  • REST Web Service

Question 4)
Which of the following is a difference between ES and CommonJS modules?

  • CommonJS is a JavaScript language whereas ES is a module specification
  • CommonJS module files use a .mjs extension whereas ES modules use .js
  • CommonJS modules are written in JavaScript whereas ES modules are not
  • ES modules use the import() statement whereas CommonJS modules use require().

Question 5)
How do you handle operation results with Node.js?

  • Write callback functions to handle results when the operations complete
  • Use blocking on asynchronous I/O operations
  • Create an instance of a web server application
  • Specify a relative path to the Node.js script from the module directory

Question 6)
What do you use the http.createServer function for?

  • To develop an anonymous function to handle requests and responses
  • To import a Node.js module
  • To create an instance of a web server
  • To specify a main script for your module

Question 7)
Which core Node.js module can be used for input and output (I/O)?

  • URL
  • util
  • http
  • fs

Question 8)
Which is an aspect of Node Package Manager (NPM)?

  • It creates a package.json file in the project’s root directory
  • It manages the versioning of source code
  • It writes metadata to a package.json file
  • It functions as a command line interface for installing packages

Question 9)
What do you use the require function for?

  • To develop an anonymous function to handle requests and responses
  • To import a Node.js module
  • To create an instance of a web server
  • To specify a main script for your module

Question 10)
What happens when a module does not have a package.json file?

  • The require statement assumes that scripts have a file extension of js.
  • Node.js assumes that the main class is named index.js.
  • There is no module manifest.
  • The relative path to the Node.js script changes to an absolute path from the module directory

Week 2 – Graded Quiz Answers

Question 1)
What best describes the network operations that Node.js makes?

  • Non-blocked operations return immediately without added processing time on the server
  • Blocked operations return immediately without added processing time on the server
  • Non-blocked operations return in a synchronized manner with added processing time on the server
  • Applications block every network operation to complete at the same time on the server

Question 2)
Before the Node.js framework receives the HTTP response message from the remote web server, it immediately returns a result for the http.request function call. What does this result state?

  • A request is in progress.
  • The return message will be sent successfully.
  • The callback function was called successfully.
  • The response message will be sent successfully.

Question 3)
What parameter is optional in an HTTP request?

  • Location function parameter
  • Callback function parameter
  • Resource variable parameter
  • Event variable parameter

Question 4)
What object do Node.js modules in the SDK pass as the first parameter in a callback function?

  • Location
  • Identity
  • Destination
  • Error

Question 5)
What do you pass back in the callback handler to indicate a successful return?

  • Empty string
  • 404 status code
  • Null object
  • Error

Question 6)
Which function calls the resultCallback callback function to return results to the main application?

  • http.request()
  • aggregate_context()
  • result()
  • step()

Question 7)
Why can inversion of control be an issue when using callbacks?

  • Inversion of control creates the need for nested callbacks
  • Inversion of control is used when something needs to be done sequentially which makes code readability difficult
  • Callbacks sometimes hand over control to third-party code which can make errors hard to identify
  • Inversion of control uses promises which are difficult to implement

Question 8)
JSON is the standard format for API data exchange. What relationship does JSON have with Node.js?

  • JSON_SET
  • Metadata file
  • Standard representation of native JavaScript objects
  • Common data model folder

Question 9)
When an error occurs, which state is the promise at?

  • Pending
  • Rejected
  • Aborted
  • Resolved

Question 10)
The axios package handles HTTP requests in Node.js and returns a promise object. The promise object has a method that is called after the promise completes. What method does the promise object use?

  • or
  • else
  • if
  • then

Week 3 – Graded Quiz Answers

Question 1)
The Node.js framework doesn’t provide many features for building web apps. What do developers rely on to extend Node.js features?

  • JavaScript
  • Timely updates
  • External libraries and packages
  • JSON

Question 2)
One disadvantage of manual parsing is that string matching ignores the XML data structure. However, depending on XML data complexity, string matching might be more efficient than what?

  • An XML attribute structure

Question 3)
Which web application framework is based on the Node.js runtime environment?

  • JSON
  • XML-JS
  • Async.js
  • Express

Question 4)
The Node.js framework treats HTTP requests at a lower network level. In contrast, Express implements an app class for what purpose?

  • Access a URL
  • Map to a web resource path
  • Parse through a network path
  • Lookup web services

Question 5)
What do you call to create a web server object to listen for incoming requests on a port?

  • http.name
  • http.view
  • app.request
  • app.listen

Question 6)
Which kind of task is middleware most useful for?

  • Performing large calculations
  • Error handling
  • Routing
  • Parsing strings

Question 7)
Which type of authentication is widely used for password recovery by providing a magic link to the user?

  • Single Sign On
  • Token-based
  • Session-based
  • Passwordless

Question 8)
Which statement regarding the jsonwebtoken.verify() method is true?

  • It is used to return an HTTP status code
  • It is used to generate a JSON web token
  • It is used to verify a JSON web token
  • It is used to return a response

Question 9)
Which library and module are suited for black-box testing REST APIs?

  • Express/TestAPI
  • Postman/TestAPI
  • Koa/SuperTest
  • Mocha/SuperTest

Course 7 – Python for Data Science, AI & Development

Module 1 Graded Quiz Answers

Question 1)
What is the value of x after the following lines of code?
x = 2
x = x + 2

  • 4

Question 2)
What is the result of the following operation 1 + 3 * 2?

  • 7
  • 12

Question 3)
What is the type of the following "7.1"?

  • float
  • string

Question 4)
What is the result of the following code segment: int(True)?

  • 0
  • error
  • 1

Question 5)
In Python, what is the result of the following operation: '1' + '2'?

  • 3
  • '3'
  • ’12’

Question 6)
Given myvar = 'hello', how would you return myvar as uppercase?

  • len(myvar)
  • myvar.find(‘hello’)
  • myvar.upper()

Question 7)
What is the result of the following: str(1) + str(1)?

  • ’11’
  • 2

Question 8)
What is the result of the following: "123".replace("12", "ab")?

  • ‘ab3’
  • ‘123ab’

Question 9)
In Python 3, what is the type of the variable x after the following: x = 2 / 2?

  • float
  • int
  • float

Module 2 Graded Quiz Answers

Question 1)
Consider the tuple A = ((11,12), [21,22]). What is the result of the following operation A[1]?

  • [21,22]
  • ((11,12), [21,22])
  • (11,12)

Question 2)
Consider the tuple A = ((1), [2,3], [4]). What is the result of the following operation A[2][0]?

  • 4
  • [4]
  • 4

Question 3)
The method append does the following:

  • adds one element to a list
  • merges two lists or insert multiple elements to a list
  • adds one element to a list

Question 4)
Consider the following list: A = ["hard rock", 10, 1.2]. What will list A contain after the following command is run: del(A[0])?

  • [10, 1.2]
  • [“hard rock”, 10, 1.2]
  • [“hard rock”, 10]

Question 5)
What is the syntax to clone the list A and assign the result to list B?

  • B = A
  • B = A[:]

Question 6)
What is the result of the following: len(("disco", 10))?

  • 2
  • 6

Question 7)
Consider the following dictionary: {"The Bodyguard":"1992", "Saturday Night Fever":"1977"}. Select the values:

  • “1977”
  • “1992”
  • “The Bodyguard”
  • “Saturday Night Fever”

Question 8)
The variable release_year_dict is a Python dictionary. What is the result of applying the following method: release_year_dict.values()?

  • retrieve the keys of the dictionary
  • retrieves the values of the dictionary

Question 9)
Consider the Set: V = {'A','B'}. What is the result of V.add('C')?

  • error
  • {‘A’,’B’,’C’}
  • {‘A’,’B’,’C’}

Question 10)
What is the result of the following: 'A' in {'A','B'}?

  • True
  • False

Module 3 Graded Quiz Answers

Question 1)
What is the output of the following code?

x = "Go"
if x == "Go":
    print('Go')
else:
    print('stop')
print('Mike')
  • Go Mike
  • Mike
  • Stop Mike

Question 2)
What is the result of the following lines of code?

X = 1
X > -5
  • True
  • False

Question 3)
What is the output of the following code?

x = 5
while x != 2:
    print(x)
    x = x - 1
  • 5 4 3
  • 5 4 3
  • the program will never leave the loop

Question 4)
What is the result of running the following code?

class Points(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
    def print_point(self):
        print('x=', self.x, ' y=', self.y)
p1 = Points("A", "B")
p1.print_point()
  • x = A y = B
  • x = A y = B

Question 5)
What is the output of the following code?

for i, x in enumerate(['A', 'B', 'C']):
    print(i+1, x)
  • 1 A 2 B 3 C
  • 1 A 2 B 3 C
  • 0 A 1 B 2 C

Question 6)
What is the result of running the following code?

class Points(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y
    def print_point(self):
        print('x=', self.x, ' y=', self.y)
p2 = Points(1, 2)
p2.x = 'A'
p2.print_point()
  • x = 1 y = 2
  • x = A y = 2
  • x = A, y = B

Question 7)
Consider the function delta, when will the function return a value of 1?

def delta(x):
    if x == 0:
        y = 1
    else:
        y = 0
    return y
  • When the input is anything but 0
  • When the input is 1
  • Never
  • When the input is 0

Question 8)
What is the output of the following code?

a = 1
def do(x):
    a = 100
    return x + a
print(do(1))
  • 101
  • 101
  • 102

Question 9)
Write a function named add that takes two parameters a and b, then returns a + b.

def add(a, b):
    return a + b
  • Correct

Question 10)
Why is it best practice to have multiple except statements with each type of error labeled correctly?

  • Ensure the error is caught so the program will terminate
  • In order to know what type of error was thrown and the location within the program
  • To skip over certain blocks of code during execution
  • It is not necessary to label errors

Module 4 Graded Quiz Answers

Question 1)
What is the result of the following lines of code?

import numpy as np
a = np.array([0,1])
b = np.array([1,0])
np.dot(a,b)
  • 0
  • 1
  • array([1,1])

Question 2)
How do you perform matrix multiplication on the numpy arrays A and B?

  • A + B
  • np.dot(A, B)
  • A * B

Question 3)
What values does the variable out take if the following lines of code are run?

X = np.array([[1,0,1],[2,2,2]])
out = X[0:2, 2]
out
  • array([1,0])
  • array([1,2])
  • array([1,1])
  • array([1,0])

Question 4)
What is the value of Z after the following code is run?

X = np.array([[1,0],[0,1]])
Y = np.array([[2,1],[1,2]])
Z = np.dot(X,Y)
  • array([[2,1],[1,2]])
  • array([[2,0],[1,0]])
  • array([[3,1],[1,3]])

Question 5)
Consider the following text file Example1.txt:

This is line 1
This is line 2
This is line 3

What is the output of the following lines of code?

print(file_stuff)
  • This is line 1 This is line 2 This is line 3
  • This is line 1
  • This is line 2
  • This is line 3

Question 6)
Consider the following line of code:

file = open("Example1.txt", "r")

What mode is the file object in?

  • read
  • write
  • append

Question 7)
What do the following lines of code do?

with open("Example.txt", "w") as writefile:
    writefile.write("This is line A\n")
    writefile.write("This is line B\n")
  • Read the file “Example.txt”
  • Write to the file “Example.txt”
  • Append the file “Example.txt”

Question 8)
What task do the following lines of code perform?

with open('Example3.txt', 'w') as writefile:
    for line in readfile:
        writefile.write(line)
  • Copy the text from Example2.txt to Example3.txt
  • Check the mode of the open function for each file object
  • Print out the content of Example2.txt

Question 9)
Consider the dataframe df. How would you access the element in the 1st row 3rd column?

  • df.iloc[2,0]
  • df.iloc[1,3]
  • df.iloc[0,2]

Question 10)
In the lab, you learned you can also obtain a series from a dataframe df. Select the correct way to assign the column with the header Length to a pandas series in the variable x.

  • x = df[‘Length’]
  • x = df[[‘Length’]]
  • x = df.[[‘Length’]]

Module 5 Graded Quiz Answers

Question 1)
What are the 3 parts to a response message?

  • Start or status line, header, and body
  • Bookmarks, history, and security
  • HTTP headers, blank line, and body
  • Encoding, body, and cache

Question 2)
What is the purpose of this line of code:

table_row = table.find_all(name='tr')

used in web scraping?

  • It will find all of the data within the table marked with a tag “a”
  • It will find all of the data within the table marked with a tag “tr”
  • It will find all of the data within the table marked with a tag “h1”
  • It will find all of the data within the table marked with a tag “p”

Question 3)
In what data structure do HTTP responses generally return?

  • Nested Lists
  • Lists
  • Tuples
  • JSON

Question 4)
The Python library we used to plot the chart in the lab is:

  • MatPlotLib
  • PyCoinGecko
  • Pandas
  • Plotly

Course 8 – Developing AI Applications with Python and Flask

Module 1 Graded Quiz: Python Coding Practices and Packaging Concepts Quiz Answers

Question 1)
Which of the following statements are true about web apps? (Select two)

  • Web apps help link offline apps
  • All web apps are APIs
  • Web apps support CRUD actions
  • Web apps is a more generic term given to all forms of apps that create a link between any two parts of a system

Question 2)
In which testing phase do you verify that the application functions within the larger framework?

  • Integration testing
  • Performance testing
  • User testing
  • Unit testing

Question 3)
Which of the following statements is TRUE about PyLint?

  • PyLint is a Python code compiler
  • PyLint is a Python IDE
  • PyLint is a Python static code analysis tool
  • PyLint is a Python-based package creation tool

Question 4)
Which of the following is the right way to name constants based on the PEP8 guidelines?

  • DATE_OF_BIRTH
  • Date_Of_Birth
  • date_of_birth
  • dateOfBirth

Question 5)
When gathering requirements for an app to manage events, the customer mentions that the project’s objective is to improve customer retention. Which of the following requirements describes the above scenario?

  • Business requirements
  • Technical requirements
  • Constraints
  • User requirements

Question 6)
Why is it a good practice to build a unit testing class?

  • To add one or more assertion methods
  • To import the unittest library
  • To check if functions are returning the correct values
  • To call unit tests from a single class object

Question 7)
When the unit test is executed, the test fails. Which of the following code statements will you modify for the unit test to pass?

  • self.assertEqual(add(6, 4), 10)
  • def test_subract(self)
  • self.assertEqual(subract(6, 4), 3)
  • from math import add

Question 8)
Consider the following code in the file my_code.py in a directory named mypackage with __init__.py. Which of the following two statements are the right ways to access the function?

  • import my_code; print_hello()
  • from mypackage import print_hello; print_hello()
  • from mypackage import my_code; my_code.print_hello()
  • from mypackage.my_code import print_hello; print_hello()

Question 9)
Which of the following is the general structure for testing a package?

  • {package_name}(parameters)
  • import {package_name}; run {package_name}.{module_name}.{function_name}(parameters)
  • {package_name}.{module_name}.{function_name}(parameters)

Question 10)
Which of the following is the correct folder structure for the package “MyPackage”?

  • MyPackage -> module_1.py, module_2.py, init.py
  • MyPackage -> module_1.py, module_2.py
  • MyPackage -> module_1-> module_1.py; MyPackage -> module_2-> module_2.py
  • MyPackage -> module_1.py, module_2.py, init.py

Module 2 Graded Quiz: Web App Deployment using Flask Quiz Answers

Question 1)
True or false. The Requests library is designed to simplify the process of sending HTTP requests.

  • True
  • False

Question 2)
The decorator takes the path as an ________.

  • Route
  • Object
  • Argument
  • Output

Question 3)
What is the @app decorator used to create?

  • Python files
  • Objects
  • Config Objects
  • URL handlers

Question 4)
In Flask, what code indicates the success or failure of the request?

  • status_code
  • content_length
  • content_type
  • mime-type

Question 5)
In Flask, which code sets the media type of the response?

  • status_code
  • mime-type
  • content_length
  • content_type

Question 6)
What does UUID stand for?

  • Unique Unit Identifier
  • Unique Universal Identifier
  • Universal Unique Identifier
  • Unit Unique Identifier

Question 7)
Every HTTP response contains a ________-digit code.

  • One
  • Two
  • Three
  • Four

Question 8)
Flask server automatically returns a ________ OK status when you return from the @app.route method.

  • 599
  • 404
  • 300
  • 200

Question 9)
Flask is a _________ web framework application that provides users with tools for building web applications.

  • Heavyweight
  • Medium weight
  • Lightweight
  • Average weight

Question 10)
Which of the following provides web application access?

  • Downloadable application
  • Virtual machine
  • Web browser
  • Program

Course 9 – Django Application Development with SQL and Databases

Graded Quiz: Introduction to Databases

Question 1)
Which of the following statements are correct about databases?

  • A database is a repository of data
  • There are different types of databases – Relational, Hierarchical, NoSQL, etc.
  • A database can be populated with data and be queried
  • All of the above

Question 2)
A database stores data in tabular form only. True or False?

  • True
  • False

Question 3)
In a library entity-relationship data model, a book is an example of _____ and the book’s title, edition, and publication date are examples of _______.

  • an entity, attributes
  • an attribute, entities
  • a row, columns
  • an entity, properties

Question 4)
Which of the following statements about a database is/are correct?

  • A database is a logically coherent collection of data with some inherent meaning
  • Data can only be added and queried from a database but not modified
  • Only SQL can be used to query data in a database
  • All of the above

Question 5)
The primary key of a relational table uniquely identifies each row in a table. True or False?

  • True
  • False

Graded Quiz: Basic SQL Statements

Question 1)
What is the correct syntax for inserting data into a table named Members?

  • INSERT INTO MEMBERS (MEMBER_ID, LASTNAME, FIRSTNAME, OCCUPATION) VALUES (‘1432’, ‘Smith’, ‘Charles’)
  • INSERT INTO MEMBERS (MEMBER_ID, LASTNAME, FIRSTNAME) VALUES (‘1432’, ‘Smith’, ‘Charles’)
  • INSERT INTO MEMBERS (MEMBER_ID, LASTNAME, FIRSTNAME) VALUES (MEMBER_ID is 345DT2000, LASTNAME is Smith, FIRSTNAME is Charles)
  • INSERT MEMBERS (MEMBER_ID, LASTNAME, FIRSTNAME) VALUES (‘1432’, ‘Smith’, ‘Charles’)

Question 2)
When using the DELETE statement to remove data from a database, what does the WHERE clause do?

  • It limits the amount of data that is deleted to a certain number of characters.
  • It specifies where to find the data to delete, by column number and row number.
  • It indicates the condition under which the data should be deleted; for example, which rows should have their contents deleted.
  • It specifies the server where the database is located.

Question 3)
A single INSERT statement can be used to insert multiple rows in a table. True or False?

  • True
  • False

Question 4)
Which SELECT statement eliminates duplicates in the result set?

  • SELECT country FROM author ORDER BY 1
  • SELECT DISTINCT(country) FROM author
  • SELECT country FROM author LIMIT DUPLICATES
  • None of the above

Question 5)
The SELECT statement is called a query, and the output we get from executing the query is called a result set. True or False?

  • True
  • False

Module 2 Graded Quiz: ORM – Bridging the Gap Between the Real World and Relational Model Quiz Answers

Question 1)
When you create an object (an instance of a class) in Django, what does it represent?

  • Table cell
  • Table column
  • Database table
  • Table row

Question 2)
Which of the following is a benefit of using ORM?

  • It speeds up application development
  • It removes data access complexity from the application code
  • It increases performance
  • It’s easier to debug

Question 3)
When you define a forward relationship between tables, which of the following does Django automatically create?

  • Comparative clause
  • Explicit reference
  • Django doesn’t automatically create anything
  • Backward access

Question 4)
Which of the following built-in features in Django allows you to manage user accounts, including registration, login, and password management?

  • Authentication and authorization
  • Template engine
  • Administration interface
  • Shared nothing architecture

Question 5)
Which objects would you call the Delete method on to delete records in a database?

  • Model object or QuerySet
  • Filter chain or primitive field
  • Foreign Key field or Many-to-many field
  • Child object or lookup parameter

Question 6)
What are the two main components of an object in Object-Oriented Analysis and Design (OOAD)?

  • Methods and functions
  • Data and behaviors
  • Properties and attributes
  • Variables and functions

Question 7)
Multi-table inheritance is like which of the following relationships?

  • Many-to-many
  • Many-to-one
  • One-to-one
  • One-to-many

Question 8)
What is the main reason ORM was invented?

  • To promote SQL
  • To use a different set of APIs for each database
  • To bridge the gap between object-oriented programming (OOP) and SQL
  • To use methods

Question 9)
Django only requires that model relationships be defined on one side. What is this called?

  • Forward access
  • Child object
  • Related object
  • Singular access

Question 10)
Which of the following items does Django provide, allowing you to define your data models using Python classes?

  • Template engine
  • Object-Relational Mapping or ORM
  • Django apps or packages
  • Authentication and authorization mechanisms

Graded Quiz: Full-stack Django Development Quiz Answers

Question 1)
What else does the Django template contain besides Python code?

  • Markdown elements
  • Static HTML elements
  • Dynamic HTML elements
  • XML elements

Question 2)
Three files are created by Django after you’ve created a project. Which of these files is a command-line interface used to interact with the Django project?

  • settings.py
  • urls.py
  • access.py
  • manage.py

Question 3)
For the onlinecourse example, when registering the course and instructor models in the Django admin site, you would write and run “admin.site.register(Course)” and what other code statements?

  • admin.site.register(Superuser)
  • admin.site.register(Instructor)
  • admin.site.register(App)
  • admin.site.register(Admin)

Question 4)
When you map a URL to the course view, what file do you add path objects to?

  • settings.py
  • urls.py
  • manage.py
  • config.py

Question 5)
Django template files display content, such as course names and descriptions. How is the content displayed?

  • Markdown
  • Plain text
  • HTML
  • XML

Question 6)
Which is one of the differences between the Django MVT and the MVC design pattern?

  • The Django framework or Django server itself acts as controller
  • MVT has a View
  • MVC has a Model
  • There is no difference

Question 7)
What two development tasks need to be performed to manage and determine which data will be presented to the UI?

  • Sort data and sort views
  • Model data and create views
  • Control the project
  • Access data and build tables

Question 8)
Which command is used in the Django Admin video to start the server?

  • python manage.py startDjango
  • python manage.py runserver
  • python manage.py run
  • python manage.py startserver

Question 9)
Django functions, like View, accept arguments as input and return something. Typically, View needs an HTTP request object as the first argument. What does this request object contain?

  • Django static files
  • Read-only HTTP metadata
  • Python scripts
  • Python commands

Question 10)
Django template file structure sometimes has two files created with the same name. How do you ensure Django points to the correct file?

  • Add an identifier
  • Note the differences
  • Name spacing
  • Add metadata

Graded Quiz: Consolidate and Deploy Your Django App Quiz Answers

Question 1)
Django class-based view needs to be mapped with a URL pattern, almost like configuring the URL for the function-based view. The only difference is you need to specify:

  • The as_view function
  • The as_config function
  • The view_base method
  • The as_class method

Question 2)
Username and password can be received from a user via a login HTML template. Which HTTP method is used to send username/password to the onlinecourse login view, in order to authenticate the user?

  • GET request
  • DELETE request
  • POST request
  • None of the above

Question 3)
In the Django Bootstrap video, a course index page is designed that contains courses represented as cards. The multiple course cards are then added to a container. How are the multiple course cards managed?

  • Added to a table
  • Shuffled
  • Placed in a list
  • Wrapped in a card deck

Question 4)
Django provides a default staticfiles app that collects all static files in a single directory. You can move all static files to this directory when you deploy your app to a production web server. There are several steps to do this. What call do you make in the last step?

  • Run “importstatic” command line
  • STATIC_URL
  • STATIC_ROOT
  • Run ‘collectstatic’ command line

Question 5)
ASGI is another web server interface that Django apps support. What is the main difference between WSGI and ASGI?

  • WSGI supports Python
  • ASGI supports asynchronous code
  • There is no difference
  • ASGI supports Python

Question 6)
Which type of view was created to address view extensibility and reusability?

  • Function-based view
  • Method-based view
  • Class-based view
  • HTTP-based view

Question 7)
Does authorization occur before, after, or during the authentication process?

  • Authentication doesn’t affect authorization
  • During authentication
  • Before authentication
  • After authentication

Question 8)
How can you use Bootstrap CSS style classes without manually downloading and importing it?

  • Copy & paste the CSS style classes
  • Add a link to the latest Bootstrap version into the head element of your HTML template
  • You must download Bootstrap
  • Link to the Bootstrap web page before you develop your webpage

Question 9)
Django apps can have app-specific static files but can also have external static files. Where do you define the directories for external static files, so you can find them?

  • In the STATICFILES_DIRS list in settings.py file
  • In EX_DIRS list in settings.py file
  • In STATIC list in manage.py file
  • In the PROPERTIES list in manage.py

Question 10)
WSGI is the main Python standard for communicating between web servers and applications. To make Django apps work with WSGI the startproject command line creates a file that declares an application callable by default. What is this file named?

  • wsgi.py
  • sgi.py
  • django.py
  • giws.py

Course 10 – Introduction to Containers w/ Docker, Kubernetes & OpenShift

Graded Quiz: Containers and Containerization Quiz Answers

Question 1)
What are the steps used to create and run containers?

  • Input the container image name and tag.
  • Create a container image, use it to create a Dockerfile, and then use the Dockerfile to create a running container.
  • Create a Dockerfile, use it to create a container image, and then use the container image to create a running container.
  • Create a Dockerfile and use it with the pull command to create a running container.

Question 2)
What is the function of the Docker ‘run’ command?

  • Creates a container from an image
  • Lists all images, repositories, tags, and sizes
  • Stores images in a configured registry
  • Retrieves images from a configured registry

Question 3)
What applications are a good fit for Docker?

  • Applications with rich GUI features
  • Applications that require flexible scaling and portability
  • Applications that need a lot of security
  • Applications with high performance requirements

Question 4)
What is a Docker container?

  • A persistent set of data that can be transferred
  • A runnable instance of an image
  • A method of isolating communication
  • A read-only template

Question 5)
Do containers have to be on a specific operating system or platform?

  • Yes, containers only work on Windows-based operating systems and platforms.
  • No, containers work on many types of operating systems and platforms.
  • Yes, containers only work on Linux-based operating systems and platforms.
  • No, containers don’t run on operating systems or platforms.

Question 6)
What are three parts of Docker’s underlying technology?

  • Linux kernel features
  • Namespaces
  • GitHub
  • The Go programming language

Question 7)
What does the Docker client-server architecture provide?

  • Code checking
  • Cloud storage
  • An application environment
  • A communication channel

Question 8)
What are volumes and bind mounts used for in Docker?

  • Connecting to external storage platforms
  • Erasing data
  • Isolating communication
  • Persisting data

Question 9)
How are digital containers like shipping containers?

  • Both digital and shipping containers have to travel internationally.
  • Container size and specs are standardized, which makes them easier to move around.
  • Digital containers must be welded to computer motherboards, just like shipping containers must be welded.
  • Digital containers are not like shipping containers.

Question 10)
What Docker features create a container image?

  • The build command and a Dockerfile
  • The image command and a Dockerfile
  • The copy command and an existing image
  • The run command and a Dockerfile

Graded Quiz: Kubernetes Basics Quiz Answers

Question 1)
What is automated bin packing?

  • A Kubernetes capability that mounts a chosen storage system
  • A Kubernetes capability that scales workloads based on metrics or commands
  • A Kubernetes capability that applies automatic changes
  • A Kubernetes capability that performs container auto-placement based on resource requirements and conditions without sacrificing high availability

Question 2)
What component of a worker node ensures containers are running as desired?

  • The Kubernetes proxy
  • Container runtime
  • Etcd
  • The kubelet

Question 3)
What are three Kubernetes capabilities?

  • Secret and configuration management
  • Storage orchestration
  • Automated rollouts
  • CI/CD pipelines

Question 4)
In what three environments can container orchestration be implemented?

  • Private cloud environments
  • On-premises environments
  • A single device
  • Public cloud environments

Question 5)
What does a control plane do?

  • Maintains the intended Cluster state by making decisions about the Cluster and detecting and responding to events in the Cluster
  • Contains Pods
  • Shares all the resources of a node
  • Assigns newly created Pods to nodes

Question 6)
What is Kubectl?

  • Kubernetes command line interface (CLI)
  • Cloud command line interface
  • OpenShift command line interface (oc)
  • Docker command line interface

Question 7)
What is a label?

  • A key-value pair attached to an object
  • A mechanism for isolating groups of resources within a single Cluster
  • The simplest unit in Kubernetes
  • A set of identical running Pod replicas that are horizontally scaled

Question 8)
What Kubernetes object should be used for stateless applications?

  • ReplicaSet
  • Deployment
  • StatefulSet
  • DaemonSet

Question 9)
What is the most popular container orchestration tool used as of 2022?

  • Kubernetes
  • Nomad
  • Docker Swarm
  • Marathon

Question 10)
What is the function of an External Name Service?

  • Provides inter-service communication within the Cluster
  • Directs traffic to the NodePort Service
  • Creates and routes the incoming requests automatically to the ClusterIP Service
  • Maps to a DNS name

Graded Quiz: Managing Applications with Kubernetes Quiz Answers

Question 1)
What Kubernetes object adds or deletes pods for scaling and redundancy?

  • A Config Map
  • A Secret
  • A ReplicaSet
  • A DaemonSet

Question 2)
What are the three required steps to bind the IBM Cloud Service to your Cluster?

  • Provision an instance of the Service.
  • Erase the credential configuration file after credential setup.
  • Configure your app to access the credentials.
  • Bind the Service to your Cluster to create credentials.

Question 3)
Which rolling update types ensure 100% app availability?

  • One-at-a-time updates and rollbacks ensure 100% app availability.
  • All-at-once updates and rollbacks ensure 100% app availability.
  • Both all-at-once and one-at-a-time updates and rollbacks ensure 100% app availability.
  • No rolling update types can ensure 100% app availability.

Question 4)
What are three ways to create a ConfigMap?

  • By providing a ConfigMap YAML descriptor file
  • By adding another environment to the deployment descriptor
  • By using an existing property or ‘key’ = ‘value’ file
  • By using string literals

Question 5)
What does a ConfigMap do?

  • Verifies that a Secret was created
  • Mounts a file using the volumes plugin
  • Provides sensitive information to your application
  • Provides variables for your application

Question 6)
Which Kubernetes autoscaler type scales the Cluster?

  • You cannot autoscale a Kubernetes Cluster.
  • Horizontal Pod Autoscaler (HPA)
  • Vertical Pod Autoscaler (VPA)
  • Cluster Autoscaler (CA)

Question 7)
How do you create a ReplicaSet from scratch?

  • Use the ‘get pods’ command.
  • Apply a JSON file that includes the number of desired replicas.
  • Apply a YAML file with the ‘kind’ attribute set to ‘ReplicaSet’.
  • Use the ‘scale’ command to scale the deployment.

Question 8)
What does Service binding do?

  • Makes Service credentials hidden.
  • Provides variables for your application
  • Manages configuration and credentials for back-end Services while protecting sensitive data
  • Calls the service without using binding credentials.

Question 9)
How do you prepare your application to enable rolling updates?

  • Add liveness and readiness probes to deployments.
  • Use autoscaling.
  • Set the maxSurge to 100%.
  • Set the maxSurge to 50%.

Question 10)
What are three ways to create a Secret?

  • By using volume mounts
  • By using a string literal
  • By using environment variables
  • By providing a ConfigMap YAML descriptor file

Graded Quiz: The Kubernetes Ecosystem: OpenShift, Istio, etc. Quiz Answers

Question 1)
What are the two features of an ImageStream?

  • Stores images
  • Creates and updates container images
  • Provides a trigger capability when a new version of an image is available
  • Provides content for Builds

Question 2)
What are the three Build triggers used in OpenShift?

  • ImageStream
  • Image change
  • Configuration change
  • Webhook

Question 3)
Which three statements are true?

  • The oc lets you manage projects during restricted bandwidth or availability of the web console.
  • The oc and kubectl binary offer different capabilities.
  • The oc lets you work directly with project source code using command script.
  • The oc lets you script OpenShift operations.

Question 4)
What packages, deploys, and manages native apps in Kubernetes?

  • An Operator
  • A Deployment
  • A ReplicaSet
  • A Container

Question 5)
What strategy was Red Hat OpenShift designed for?

  • A private cloud strategy.
  • A hybrid-cloud strategy.
  • A public cloud strategy
  • An on-premises strategy.

Question 6)
What provides traffic management to control the flow of traffic between Services?

  • Kubectl
  • A container
  • A service mesh
  • An autoscaler

Question 7)
What three processes are performed by the Operator Framework tool set?

  • Testing
  • Package
  • Building
  • Coding

Question 8)
What are the three features of Custom Resource Definitions (CRDs)?

  • Control the install, upgrade, and role-based access control (RBAC) of Operators in a cluster
  • Make Kubernetes API more modular
  • Can be engaged with kubectl
  • Extend Kubernetes functionality

Question 9)
In Istio, what handles communication between services?

  • The data plane
  • The proxy server
  • Environmental changes
  • The control plane

Question 10)
What are three added features that OpenShift provides?

  • Better user experience
  • Good networking solutions out of the box
  • Better management through image streams
  • More flexible

Course 11 – Application Development using Microservices and Serverless

Graded Quiz: Introduction to Microservices Quiz Answers

Question 1)
Which phase of the Twelve-Factor Methodology contains Port binding?

  • Code
  • Deploy
  • Operate
  • Configure

Question 2)
What makes an application concurrent?

  • It should contain the same backend services across environments
  • It should be stateless
  • It should store config in environment variables
  • It should have a minimal process start time

Question 3)
In a microservice architecture, you can

  • Deploy all services together
  • Create interdependency among services
  • Scale all services together
  • Use a different technology stack for each service

Question 4)
Select the correct answer that completes this sentence:
Monolith application has __________ components.

  • Interconnected
  • Independent
  • Scalable
  • Reusable

Question 5)
Which component of services design in an SOA architecture defines how the service provider and service consumer should interact?

  • Own storage
  • Interface
  • Contract
  • Implementation

Question 6)
What is the purpose of Backend For Frontend?

  • Refactoring in stages
  • Customized user experiences
  • Loading one interface that never reloads
  • Service discovery

Question 7)
What is the purpose of the Strangler pattern?

  • Helps with third-party API integrations
  • Supports refactoring in stages
  • Simplifies the front-end experience
  • Combine functional domains

Question 8)
Larger services should be broken into smaller services when:

  • Automation is required
  • Common data model becomes overly complex
  • Functional reusability is required
  • Refactoring is required

Question 9)
What is the requirement of Microservices?

  • Its own implementation of auxiliary services like loggings, security, throttling, and so on
  • Coarse-grained functionality
  • Independent storage
  • Manual deployment process

Question 10)
What is the requirement of a development and production environment?

  • Embedded access details in code
  • Different source control
  • Similar backing services across the environments.
  • Different dependencies

Graded Quiz: Web API Essentials – REST API and GraphQL Quiz Answers

Question 1)
What are the key characteristics of a RESTful API? Select two answers.

  • It works on HTTP
  • Stateless communication between client and server
  • Unique interface for each component
  • One API to access all resources

Question 2)
What does an API Gateway act as?

  • A load balancer for your hosted services
  • A streaming service
  • An API management tool
  • A firewall to protect your microservices

Question 3)
Which syntax is used to make an update request to a product REST API?

  • GET /products/114?updatedName=Calendar2023
  • PUT /products/114/name/Calendar2023
  • POST /products (product data in the body)
  • PUT /products/114 (product data in the body)

Question 4)
Which type of framework is Flask?

  • REST API
  • Micro web
  • Database
  • Frontend

Question 5)
Which one of the following statements is true about communication in a RESTful API?

  • Session state is kept entirely on the REST API.
  • Resources are uniquely identified at individual endpoints.
  • Each request does not contain all information.
  • A request can take advantage of any stored context on the server.

Question 6)
What are the potential drawbacks of an API Gateway? Select two answers.

  • Increases requests to the backend
  • Bottleneck in scalability
  • Single point of failure
  • Exposes the implementation details

Question 7)
Which specification is followed by Swagger?

  • OpenAPI
  • WebAPI
  • GraphQL
  • SOA

Question 8)
Which cURL command should be used to query a list of products?

Question 9)
Which HTTP method is used to create new data in a REST API?

  • PATCH
  • PUT
  • UPDATE
  • POST

Question 10)
What is the purpose of Postman?

  • Tests APIs
  • Uniform interface for different components
  • Transfers applications
  • Command line tool to get data

Graded Quiz: Serverless Overview Quiz Answers

Question 1)
What is one of the benefits that serverless computing provides?

  • All-in-one app development platform
  • Quick access to APIs
  • Code runs on-demand as needed
  • Tools to help manage server operations

Question 2)
How does FaaS package application code?

  • API Gateways
  • Requests
  • Containers
  • Microservices

Question 3)
In the What is Function as a Service video, a real-world example is shown where a user uploads a photo to a web site and creates a thumbnail image. Which action is performed by a function?

  • User uploads image
  • Message is generated to user
  • User uploads thumbnail
  • Thumbnail is created

Question 4)
FaaS is considered the originating technology in the serverless category. Which part of the serverless stack does FaaS represent?

  • Core compute and processing engine
  • Communication layer (e.g., messaging)
  • Storage
  • Data layer

Question 5)
In the serverless stack, which is considered part of the databases and storage layer?

  • Object storage
  • Microservices
  • Functions
  • Containers

Question 6)
IoT sensor data is often used with serverless computing.

  • False
  • True

Question 7)
In the compute models comparison, which requires no administration?

  • Containers
  • PaaS
  • FaaS
  • VMs

Question 8)
Of the four compared compute models, which require the most maintenance?

  • PaaS and Containers
  • PaaS and VMs
  • Containers and VMs
  • FaaS and Containers

Question 9)
Which of the compared compute models has high availability built in?

  • VMs
  • FaaS
  • Containers
  • PaaS

Question 10)
A sequence is a chain of actions that are invoked in order. Why are actions invoked in order?

  • Functions can only perform multiple actions
  • The order is determined by who called the function
  • REST APIs require orderly sequence of actions
  • Output of one action is passed as input to the next action

Graded Quiz: Create and Deploy Microservices Quiz Answers

Question 1)
After creating an action, you must invoke the action so it can do its task. What are two modes for invoking actions?

  • Activation and activation ID
  • Blocking and non-blocking
  • Request and response
  • Activation and Activation record

Question 2)
What can you use to pass parameters to actions?

  • A JSON file and the object flag.
  • A JSON file and the param-file flag.
  • A JSON file and the place flag.
  • A JSON file and the param-required flag.

Question 3)
What do you use to create sequence actions?

  • Existing actions
  • Proxy actions
  • Sequence builders
  • JavaScript

Question 4)
IBM Cloud Functions provides pre-installed libraries to call actions from other actions.

  • True
  • False, this can only be done using HTTP

Question 5)
What is provided by public packages for IBM Cloud Functions?

  • Cloudant instances
  • Actions
  • Namespaces
  • Triggers feeds

Question 6)
What command can you use to avoid passing the same parameters to an action every time?

  • ibmcloud fn package bind
  • ibmcloud fn parameter bind
  • ibmcloud fn default parameter
  • ibmcloud fn package join

Question 7)
How can you set default parameters for all entities in a package?

  • Join actions
  • Set package level parameters that are inherited by all actions
  • List parameters
  • Sequence actions

Question 8)
What can you use to configure an external event source to fire multiple trigger events?

  • Parameter
  • Feed
  • Sequence action
  • Get command

Question 9)
If you have already created an action and want to create a trigger to invoke this action, what three options must you include in the rule create command?

  • Name of rule, location of trigger and action
  • Location of rule, name of trigger, and action
  • Rule ID, trigger ID, and action ID
  • Name of rule, trigger, and action

Question 10)
Why would you expose actions as APIs rather than manually via command line or web console?

  • There is less chance of error
  • Actions called manually don’t integrate well with microservices
  • Actions exposed as APIs have better performance
  • Actions are invalid unless they are exposed as APIs

Question 11)
What is one of the reasons to use the API Gateway service?

  • Perform request routing
  • Perform rate limiting
  • It’s the only way to create web actions
  • Perform user authentication

Question 12)
According to the Cloud native user survey, what is highest rated challenge Kubernetes users face?

  • Admin/Operator user experience improvements
  • Developer user experience improvements
  • Multitenancy improvements
  • Improved serverless support

Course 12 – Full Stack Application Development Capstone Project

  • Checklist: Static Pages
  • Checklist: Back End
  • Checklist: Dynamic Pages
  • Checklist: User Management & CI/CD
  • Checklist: Containerize

Just tick all yes


Course 13 – Full Stack Software Developer Assessment

Final Quiz Answers

1. Which of these are essential characteristics of the Cloud? Select the two characteristics that apply.

  • Limited service
  • Broad network access
  • Static access
  • Resource pooling

2. In the cloud model, the cloud provider provisions the cloud infrastructure for exclusive use by a

  • Private
  • Public
  • Hybrid multicloud
  • Hybrid

3. Which of the following is a benefit of using virtual machines? Select the two statements that apply.

  • Virtual machines do not need guest OSs
  • Virtual machines under the host all depend on each another
  • Virtual machines are portable between different physical servers
  • Virtual machines can run different operating systems under the same host

4. Which of the following is true about containers?

  • Containers consume fewer resources than virtual machines

5. Which type of cloud storage is presented to compute nodes using high-speed fiber connections?

  • Direct
  • Block
  • Object
  • File

6. Front-end developers use HTML to do which of the following to a website?

  • Perform data analysis on the website
  • Create the physical structure of the website
  • Add interactivity to the website
  • Manage styles on the website

7. Which of the following best describes a route?

  • Web address or URL for a website
  • Code that works with data when processing requests from the front-end
  • Path to a website or page that the user interacts with
  • Method for creating style sheets faster and more easily

8. Which HTML element should you use to define a document’s logical separations, such as the numbered chapters of an online manual?

  • (No correct answer provided in data)

9. In JavaScript, which of the following is a primitive data type? Select the two choices that apply.

  • Base
  • This should not be selected
  • Undefined
  • Null

10. In JavaScript, assume you need to create a variable with global scope and whose value will never change. What is the first step you must take to declare this variable?

  • Providing the data type
  • Providing the var keyword
  • Providing the variable name
  • Providing the Dim statement

11. Which of the following is a popular web-hosted service for Git repositories?

  • Visual SourceSafe
  • SCM Anywhere
  • Concurrent Versions System
  • Beanstalk

12. What is one purpose for using repositories?

  • Storing documents for a project
  • Providing local working directories for a project
  • Viewing snapshots of a project
  • Securing remote login to access a project

13. Assume you are a developer on a GitHub project, and on your computer, you have a cloned copy of the GitHub repository. After editing several files in your local repository, what is the first step you must take to push your changes back to GitHub?

  • Delete your working directory
  • Create a new master branch
  • Use the add command
  • Update the README file

14. Which of the following Git commands fetches and tries to automatically merge changes from the remote repository to your local repository?

  • git-push
  • git-fetch
  • git-merge
  • git-pull

15. In a Git team project, which team member uses the git-am command as part of their responsibilities?

  • Billing manager
  • Repository administrator
  • Integrator
  • Developer

16. The cloud native application stack consists of four different layers: application runtime; application and data services; scheduling and orchestration; and cloud infrastructure. The underlying environment.

  • Application runtime
  • Application and data services
  • Cloud infrastructure
  • Scheduling and orchestration

17. What is the second step in test-driven development?

  • Develop just enough code to make the test pass
  • Write a test case and watch it fail
  • Refactor the code to improve it
  • Add abstractions to the code

18. The process of refactoring and breaking down large legacy applications into a collection of small, loosely coupled microservices that can be aligned to a feature or a business function is called what?

  • Strangling the monolith
  • Containerization
  • Lift and shift
  • Operational optimization

19. Which of the following is a characteristic of legacy computing?

  • Stateful applications
  • Continuous integration
  • Easy scalability
  • Hybrid cloud

20. IBM Watson uses Natural Language Classifier (NLC) – what does NLC do?

  • Applies linguistic analytics to detect joy, fear, sadness, anger, analytical, confident, and tentative tones found in text
  • Uses deep learning algorithms to identify scenes, objects, and faces
  • Converts the human voice into written words
  • Identifies sentences or phrases into types and predict answers or next steps

21. JSON is the standard format for API data exchange. What relationship does JSON have with Node.js?

  • JSON_SET
  • Common data model folder
  • Standard representation of native JavaScript objects
  • Metadata file

22. Which of the following is not a package used to build React applications?

  • React
  • JSX
  • ReactDOM
  • Babel

23. To make a function or a value available to Node.js applications that import your module, you should:

  • Call require with the name of a subdirectory
  • Add a property to the implicit exports object
  • Use the require function with a relative path to the script file
  • Do nothing – it happens automatically

24. What is a promise?

  • An object returned by an asynchronous method
  • A catch block
  • An asynchronous method
  • A blocked resource

25. Which of the following is not a type of middleware?

  • Application level
  • Router level
  • Branching
  • Error handling

26. Some of the common Docker CLI commands include testing developed images to create a new image and for

  • image, build
  • push, pull
  • run, build
  • build, run

27. Which of these is true of Kubernetes?

  • Provides logging, monitoring, and alerting solutions
  • Provides a flexible model that maintains choice for users wherever appropriate
  • Provides continuous integration/continuous deployment pipelines to build applications or deploy source code
  • Limits the types of applications that can run on it

28. Which command in a Dockerfile provides a default for executing a container, and there can only be one in the file?

  • FROM
  • RUN
  • CMD
  • ADD

29. Which of the following statements is incorrect?

  • “Kube-system” is a user-created namespace for objects
  • The get command lists all the deployments that are present in the kube-system namespace
  • When the apply command is run, the state of the targeted Kubernetes cluster is made to match the state that’s defined in the provided files
  • The describe command shows details about a specific resource or group of resources

30. What is Red Hat OpenShift?

  • A narrowly focused utility that provides a few services
  • A crucial component of Kubernetes
  • A project, not a product
  • A hybrid cloud, enterprise Kubernetes application platform

31. What is the result of running the following lines of code?

  • x=Q y=Z
  • x=Q y=Z

32. Web scraping is a process used for automatically extracting information from a website within minutes. What is the purpose of the Python code provided below in web scraping? “table_row=table.find_all(name=‘kr’)”

  • It will find all the data within the table marked with a tag “all.”
  • It will find all the rows within the table
  • It will find all the columns within the table marked with a tag “all.”
  • It will find all the data within the table marked with a tag “kr.”

33. What value of x will produce the following output? Select the three statements that apply.

  • x=”B”
  • x=”Bye”
  • x=Bye

34. To append text to a file, which mode argument should be passed into the open() function?

  • ‘w’
  • ‘0’
  • ‘a’

35. Which of the following statements is true about tuples and lists?

  • Tuples and lists are both ordered sequences

36. Which statement about an entity-attribute model regarding a movie is true?

  • The movie is a column
  • The movie is a row
  • The movie is an attribute
  • The movie is an entity

37. What is the purpose of using a Django template?

  • It is an alternative to the entity-relationship model for rendering data
  • It converts static HTML to dynamic HTML
  • When combined with Django views, it presents data as a dynamic HTML page
  • It can easily be mapped to a relational database

38. When you create a Django project, Django creates some core files, including manage.py. What purpose does manage.py serve?

  • It provides a command line interface so you can interact with the Django project
  • It creates markdown elements
  • It contains the settings and configurations for your Django project
  • It contains the URL and routing definitions of your Django app

39. Which of the following describes one of the two types of containers in Bootstrap?

  • It creates a card-grid
  • It spans the entire width of the parent element
  • It displays tabular data
  • It has variable width

40. Which statement is true regarding object-relational mapping?

  • ORM bridges the gap between OOP and SQL
  • A change in the database only requires changes to the data access logic but not to the application logic
  • ORM usually makes debugging simpler than SQL
  • ORM utilizes lookup tables to access data

41. What is the purpose of the twelve-factor app methodology?

  • To compile the code, gather dependence information, and transform the codebase into an executable unit called a build
  • To ensure that applications are ready for cloud-native deployment
  • To make sure the app is contained in a single codebase
  • To group the code, deploy, and operate phases of the software delivery lifecycle

42. FaaS represents which part of the serverless stack?

  • Data layer
  • Communication layer (messaging)
  • Core compute and processing engine
  • Storage

43. Which statement best describes OpenShift?

  • It is an IT architecture that incorporates workload portability, orchestration, and management
  • It is a dedicated layer for making service-to-service communication secure and reliable. It extends Kubernetes using CRDs
  • It is a hybrid, cloud, enterprise Kubernetes application platform

44. Which statement best describes blocking invocations?

  • After the invocation they wait for the result
  • They wait for a result prior to invocation
  • The result is invoked prior to the action

Course 14 – Generative AI: Elevate your Software Development Career

Module 1: Generative AI and Software Development Quiz Answers

Question 1)
A company wants to leverage generative AI’s capabilities to minimize manual bug detection efforts for recurring bugs. How does generative AI contribute to this case?

  • By revising the project’s functionality manually.
  • By manually reconsidering the development scope.
  • By detecting bugs and suggesting fixes using data models.
  • By hand-coding every fix for legacy functions.

Question 2)
An engineering lead wants to improve defect detection early in the test cycle using data from past releases. How does AI assist with early-stage testing and issue prevention?

  • Replace manual release notes creation.
  • Predict and delete bugs from past patterns.
  • Prepare custom onboarding slides.
  • Compile a weekly report.

Question 3)
A team lead is evaluating AI tools that can generate realistic and meaningful technical documentation automatically. Which capability of LLM tools, such as GPT, help to perform this task effectively?

  • Fixed logic and rule-based processing
  • Pre-coded vocabulary and dialogue templates
  • Symbol-driven language programming methods
  • Neural networks trained on huge text datasets

Question 4)
A team is working on speeding up the process for analyzing and validating the clarity and relevance of using AI tools for the requirement gathering task. Which AI approach is most useful for uncovering insights and patterns in client requirement documentation?

  • Audio generation for the documents
  • Text processing for detecting language patterns
  • Task automation for moving file content
  • Visual analysis for validating texts

Question 5)
Which AI capability helps development teams keep software architecture updated in real time?

  • Offering AI-generated architectural diagram
  • Delivering trade-off insights manually
  • Automating code review tasks
  • Using AI for quantum integrations

Question 6)
A software team wants to build AI systems that users can trust and understand. Which future trend in AI will support this effort?

  • Rise of chatbots
  • Explainable AI
  • AI-powered development
  • Quantum computing integration

Question 7)
A web development team is using AI to generate parts of a website. What kind of output is the AI tool most likely designed to create?

  • SEO analytics
  • Engaging content for web pages
  • HTML and CSS code
  • Professional logos

Question 8)
How does AI help a UX designer to maintain a consistent look and feel across all pages in the multi-page website?

  • It connects pages to social media.
  • It analyzes layout patterns and uses design rules.
  • It detects and removes formatting bugs.
  • It chooses images for web content.

Question 9)
While working on a large-scale project for creating a website, a developer wants to reduce their team’s efforts on recognizing and fixing bugs. What is the primary advantage of using an AI-powered debugging tool in this scenario?

  • Injecting artificial errors for testing
  • Detecting bugs quickly and accurately
  • Increasing the time needed to fix bugs
  • Ignoring non-critical issues

Question 10)
An AI engineer wants to simplify the user inputs to help the system recognize similar meanings in words like “connect”, “connected”, and “connecting”. Which approach should the engineer rely on to achieve this?

  • Identifying specific names in the text
  • Breaking down the input into manageable parts
  • Categorizing input based on sentiment
  • Mapping words to a shared linguistic structure

Module 2: Advanced concepts in Generative AI for Software Development

Coming Soon

Final Exam: Generative AI for Software Developers

Coming Soon

read also: Microsoft Azure Security Engineer Associate (AZ-500) Quiz Answers + Honest Review


Course 15 – Software Developer Career Guide and Interview Preparation

Graded Quiz: Building a Foundation

Coming Soon

Graded Quiz: Applying and Preparing for an Interview

Coming Soon

Graded Quiz: Interviewing

Coming Soon

Leave a Reply

Your email address will not be published. Required fields are marked *