Review Flashcards

1
Q

We have added the customer layout handle adobe_ims_login to deal with all the design changes. This handle is added via ————

A

\Magento\AdminAdobeIms\Plugin\AddAdobeImsLayoutHandlePlugin::afterAddDefaultHandle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how to rebuild minified css?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

where do we check if token_last_check_time was updated 10 min ago?

A

\Magento\AdminAdobeIms\Plugin\BackendAuthSessionPlugin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

the logout event for The logout from Adobe IMS Service

A

controller_action_predispatch_adminhtml_auth_logout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

IMS

A

identity management service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is Vault ?

A

(stored payment information)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Magento\Variable

A

Allows to create custom variables and then use them in email templates or in WYSIWYG editor for editing description of system entities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

set opcache.memory_consumption to at least—– to avoid performance degradation.

A

2GB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

For Adobe Commerce 2.3.5 and higher, update your configuration to use the extended Redis cache implementation ………

A

\Magento\Framework\Cache\Backend\Redis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

.magento.env.yml

A

stage:
deploy:
REDIS_BACKEND: ‘\Magento\Framework\Cache\Backend\Redis’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

For best performance, configure a maximum of —- product options per product.

A

100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Manage product information through an external …..

A

Product Management System (PMS).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Longer response time for most storefront scenarios related to products containing—— in attributes.

A

many options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

For Adobe Commerce version 2.3.x and 2.4.0 to 2.4.1-p1, configure no more than —– attributes
For Adobe Commerce version 2.4.2 and later, configure up to —- product attributes

A

500
1500

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Product attribute options–Configure up to —– attribute options for each attribute
Product attribute sets–Configure a maximum of —- attribute sets

A

100
1000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Configuring many attribute options can affect site performance in the following ways:

A

Long request and rendering times on product detail (PDP) and category pages containing complex products.
Admin product save operations response time increases above optimal performance targets.
Increase in Product Edit form rendering time.
Slow checkout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Increases in product data and index sizes can affect site performance in the following ways:

A

Increased response time for most storefront scenarios related to catalog browsing, search (quick and advanced), and layered navigation.
Product management operations in the Admin slow significantly which can lead to timeouts.
Product Mass Actions functionality can be blocked.
Index re-build time for mid- and large-sized catalogs cannot be performed on a daily basis due to long execution times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Configuring many product attributes increases the product template size for each product (EAV structure) and the amount of data that must be retrieved. This increase affects operations in the following ways:

A

Increase in SQL queries traffic related to EAV data retrieval and the amount of data processed which results in decreased DB throughput
Significant increase in the size of Adobe Commerce indexes and the full-text search index
Reaching hard MySQL limits when building a FLAT index for oversized product templates and inability to use it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

For best performance, display a maximum of —- products per page.

A

48

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

If you have more than 48 products in any category, update the storefront catalog configuration to disable the option to ———–

A

Allow All Products per page.

21
Q

For versions 2.3.x - 2.4.2, allow a maximum of —- products in a cart.
For versions 2.4.3 and later, enhancement to sales rules capabilities increased the cart maximum to —-.

A

100,750

22
Q

For versions 2.3.x - 2.4.2, the expected performance based on cart item limits is:

Up to — products in a cart—the product works, meeting performance targets for response time.
Up to —- products in a cart—the product works, but response time increases above targets.
Above —– products in a cart—the cart and checkout flows are not guaranteed to work

A

100,300,500

23
Q

Use the following strategies to manage the number of cart items

A

Split orders into several smaller orders with a smaller number of rows by using the Add Item by SKU feature.
Only add the custom logic and cart customization required to load a list of items.

24
Q

Having more than the recommended maximum number of products in the cart can affect site performance in the following ways:

A

Increased response time for data retrieval operations, validation of cart items, checks for applying price rules, and tax and total calculations.
Increased response time for minicart rendering including rendering of cart views, checkout flow, and execution.
Increased time loading time for all site pages where the minicart is present.

25
Q

If your project requires many sites, stores, or store views, you can use the following strategies to improve performance:

A

Restructure catalog by shifting logic to categories
Separate price lists from catalog data by using external price and a Price Management System (PMS).
Use an alternative noSQL data storage like Elasticsearch

26
Q

Websites and stores are multipliers for catalog data, so having many websites and stores can negatively affect site performance in the following ways:

A

Larger index tables increase time required to complete indexing operations [Price index].
Increased time to retrieve application configuration degrades storefront response time for non-cached catalog pages.
Significant increases in the time required to complete Save operations in the Admin since the data is saved separately for each website.

27
Q

If you do not use the Reports or dynamic customer segments, disable the Reports functionality.

A

From the Admin, navigate to Stores > Settings > Configuration > General > Reports.
Under General Options, set Enable Reports to No.
Flush cache by running php bin/magento cache:flush or in the Admin under System > Tools > Cache Management.

28
Q

Adobe recommends using the—– database engine. In a default Adobe Commerce installation, all tables in the database are stored using the InnoDB engine. However, some third-party modules (extensions) can introduce tables in the——- format. After you install a third-party module, check the database to identify any tables in —– format and convert them to —- format.

A

InnoDB
MyISAM
myisam
innodb

29
Q

run the following query to determine whether the database has any MyISAM tables:

A

SELECT table_schema, CONCAT(ROUND((index_length+data_length)/1024/1024),’MB’)
AS total_size FROM information_schema. TABLES WHERE engine=’myisam’ AND table_schema
NOT IN (‘mysql’, ‘information_schema’, ‘performance_schema’, ‘sys’);

30
Q

Change the storage engine to InnoDB

A

In the db_schema.xml file declaring the table, set the engine attribute value for the corresponding table node to innodb

31
Q

To determine which search engine is currently in use, run the following command:

A

./bin/magento config:show catalog/search/engine

32
Q

For Adobe Commerce 2.4.4 and later, use the ———-for native MySQL search.

For earlier Adobe Commerce versions, use————

A

OpenSearch service
Elasticsearch

33
Q

Triggers are used to log changes into —– tables. Adobe recommends configuring the application to write directly to the audit tables instead of using the —- functionality for these reasons:

A

audit, trigger

34
Q

Triggers are interpreted as code and MySQL does not precompile them. Hooking onto your query’s transaction space, they add the—– to a parser and interpreter for each query performed with the table.
The triggers share the—– transaction space as the original queries, and while those queries compete for—- on the table, the triggers independently compete on locks on another table.

A

overhead, same, locks

35
Q

To avoid potential issues with cron deadlocks, upgrade ECE-Tools to version ——

A

2002.0.21 or higher.

36
Q

Switching indexers generates data definition language (DDL) statements to create—- which can cause —–. You can prevent this issue by putting your website in —— and disabling—— before changing the configuration.

A

triggers,database locks,maintenance mode, cron jobs

37
Q

Avoid running—– in the Production environment to prevent conflicts (like table modifications and creations). The setup:upgrade process is an exception.

A

DDL statements

38
Q

If you need to run a DDL statement, put the website in —– and ——-(see the instructions for switching indexes safely in the previous section).

A

maintenance mode,disable cron

39
Q

Data definition language (DDL) statements let you to perform these tasks: …… schema objects. …..privileges and roles. Analyze information on a table, index, or cluster. Establish…. options.

A

Create, alter, and drop
Grant and revoke
auditing

40
Q

Enable …..from the Admin to reduce the space required for Sales tables as your order data grows…… saves MySQL disk space and improves checkout performance.

A

order archiving , Archiving

41
Q

If your business does not require reporting or dynamic customer segments functionality,…. the Reports functionality to improve store performance.

A

disable

42
Q

One of the key principles in maintaining PCI compliance is …

A

having a strategy to properly process and store credit card payments.

43
Q

Storing cardholder data in Adobe Commerce is ….

A

strictly prohibited and doing so could be a violation of your obligations as a merchant under the Payment Card Industry Data Security Standard (PCI-DSS).

44
Q

how to make Makes continuous integration build faster?

A

by reusing unchanged code

45
Q

what is a slug?

A

The result of the build phase is a read-only file system named slug, This phase creates an archive and places the slug in permanent storage. The next time you push code, if a service did not change, it uses the slug from the archive.

46
Q

The slug includes all files and folders excluding the following mounts configured in magento.app.yaml:

A

“var”: “shared:files/var”
“app/etc”: “shared:files/etc”
“pub/media”: “shared:files/media”
“pub/static”: “shared:files/static”

47
Q

what does build phase do?

A

This phase builds the codebase and runs hooks in the build section of .magento.app.yaml

48
Q

what phase , compresses static files using GZIP, and deploys the files, which reduces downtime in the deployment phase?

A

build phase