Currently, the process of digital transformation is actively going on in the economy, science, education, and society as a whole. This process has a number of restrictions and risks we consider. The mathematical theory of complexity reveals a large class of the restrictions. The exact solution of a number of simple-looking problems with a small amount of input data requires resources many times greater than the capabilities of all available computers.On the "border" between natural and artificial intelligence lies the "cognitive barrier". This, as a rule, makes it impossible to use the results of a number of artificial intelligence systems to adjust our strategies. We and computers "think" differently. They have to be considered as "black b...